🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3549

Re: Question about vi macros

#3549
From: Alex Crain
Date: Mon, 17 Apr 1989 00:01
16 lines
1221 bytes
In article <1915@umbc3.UMBC.EDU> rostamia@umbc3.UMBC.EDU (Rouben Rostamian) writes:

>Now my question is this:  How can I get the first column in the listing 
>to display "Next_Screen" or something like it, as the folks who wrote vi 
>were able to do with their key definitions? 

	Sorry, you can't. Terminals are all described in the file
/etc/termcap, and there are fields for the left, right, up, and down
keys. When vi starts up, it binds to the "left" key, not ^[[0A or
whatever it is on you're terminal. Since there is no termcap field for
a "next page" key, you have to bind to ^[F~, with no name.

					:alex
Alex Crain
Systems Programmer			alex@umbc3.umbc.edu
Univ Md Baltimore County		umbc3.umbc.edu!nerwin!alex
Technical Details
Message-ID: <1919@umbc3.UMBC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!purdue!haven!umbc3!wolf.umbc.edu!alex
References: <1915@umbc3.UMBC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!purdue!haven!umbc3!wolf.umbc.edu!alex
From: alex@wolf.umbc.edu (Alex Crain)
Newsgroups: comp.editors,comp.unix.questions
Subject: Re: Question about vi macros
Keywords: vi editor, key mappings
Message-ID: <1919@umbc3.UMBC.EDU>
Date: 17 Apr 89 00:01:02 GMT
References: <1915@umbc3.UMBC.EDU>
Sender: newspost@umbc3.UMBC.EDU
Reply-To: alex@wolf.umbc.edu.UUCP (Alex Crain)
Organization: University of Maryland Baltimore Co.
Lines: 16