Trailing-Edge
-
PDP-10 Archives
-
bb-h138e-bm_tops20_v6_1_distr
-
6-1-sources/wftop.bli
There are 10 other files named wftop.bli in the archive. Click here to see a list.
%TITLE 'WFTOP - go to top of current buffer'
MODULE WFTOP ( ! Go to top of current buffer
IDENT = '1-002' ! File: WFTOP.BLI Edit: JBS1002
) =
BEGIN
!
! COPYRIGHT (c) 1981, 1985 BY
! DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
! ALL RIGHTS RESERVED.
!
! THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
! ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE
! INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
! COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
! OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY
! TRANSFERRED.
!
! THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
! AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
! CORPORATION.
!
! DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
! SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
!
!++
! FACILITY: EDT -- The DEC Standard Editor
!
! ABSTRACT:
!
! Go to the top of the current buffer.
!
! ENVIRONMENT: Runs at any access mode - AST reentrant
!
! AUTHOR: Bob Kushlis, CREATION DATE: October 16, 1978
!
! MODIFIED BY:
!
! 1-001 - Original. DJS 23-Feb-1981. This module was created by
! extracting routine EDT$$TOP_BUF from module EDTWF.
! 1-002 - Regularize headers. JBS 19-Mar-1981
!--
%SBTTL 'Declarations'
!
! TABLE OF CONTENTS:
!
REQUIRE 'EDTSRC:TRAROUNAM';
FORWARD ROUTINE
EDT$$TOP_BUF : NOVALUE;
!
! INCLUDE FILES:
!
REQUIRE 'EDTSRC:EDTREQ';
!
! MACROS:
!
! NONE
!
! EQUATED SYMBOLS:
!
! NONE
!
! OWN STORAGE:
!
! NONE
!
! EXTERNAL REFERENCES:
!
! In the routine
%SBTTL 'EDT$$TOP_BUF - go to top of current buffer'
GLOBAL ROUTINE EDT$$TOP_BUF ! Go to top of current buffer
: NOVALUE =
!++
! FUNCTIONAL DESCRIPTION:
!
! Position to the top of the current buffer.
!
! FORMAL PARAMETERS:
!
! NONE
!
! IMPLICIT INPUTS:
!
! CUR_BUF
! LNO_ZERO
!
! IMPLICIT OUTPUTS:
!
! CUR_BUF
!
! ROUTINE VALUE:
!
! NONE
!
! SIDE EFFECTS:
!
! May read a bucket
!
!--
BEGIN
EXTERNAL ROUTINE
EDT$$RD_CURLN : NOVALUE;
EXTERNAL
CUR_BUF : REF TBCB_BLOCK, ! Current text buffer control block
LNO_ZERO : LN_BLOCK;
LOCAL
FIRST;
CUR_BUF [TBCB_CUR_BUKT] = FIRST = .CUR_BUF [TBCB_FIRST_BUKT];
CUR_BUF [TBCB_LINE_ADDR] = WFB_FIXED_SIZE;
CUR_BUF [TBCB_CHAR_POS] = 0;
MOVELINE (LNO_ZERO, CUR_BUF [TBCB_CUR_LIN]);
EDT$$RD_CURLN ();
END;
END
ELUDOM