Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!enea!sommar From: sommar@enea.UUCP (Erland Sommarskog) Newsgroups: comp.os.vms Subject: Re: Line number in EVE Message-ID: <2032@enea.UUCP> Date: Tue, 23-Jun-87 17:36:00 EDT Article-I.D.: enea.2032 Posted: Tue Jun 23 17:36:00 1987 Date-Received: Sat, 27-Jun-87 06:58:45 EDT References: <870610171302.02j@CitHex.Caltech.Edu> Reply-To: sommar@enea.UUCP(Erland Sommarskog) Followup-To: comp.os.vms Organization: ENEA DATA Svenska AB, Sweden Lines: 21 In a recent article carl@CITHEX.CALTECH.EDU (Carl J Lydick) writes: >Wrong! The CURRENT_ROW primitive returns the the current row of the WINDOW >from which it is called, not from the buffer. I don't have a TPU manual at hand, but I think that Current_row actually returns the position on the screen. Anyway, it seems me to like Current_row - and Current_column - send escape sequences to the terminal to ask where the cursor is. I wrote an own "down-arrow" like: IF Current_row < Bottom THEN Cursor_vertical(1); ELSE Srcoll(Current_window, 1); Keeping the down-arrow key pressed, could result with the cursor in the message window. Changing Current_row to Get_info(Current_window, "current_row") cured the disease. -- Erland Sommarskog ENEA Data, Stockholm sommar@enea.UUCP