Question about vi macros

Alex Crain alex at wolf.umbc.edu
Mon Apr 17 10:01:02 AEST 1989


In article <1915 at umbc3.UMBC.EDU> rostamia at 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 at umbc3.umbc.edu
Univ Md Baltimore County		umbc3.umbc.edu!nerwin!alex



More information about the Comp.unix.questions mailing list