vt100 insert and delete line

ccdan at UCB-VAX.ARPA ccdan at UCB-VAX.ARPA
Thu Jun 14 07:28:35 AEST 1984


From:  System Manager <ucdavis!ccdan at UCB-VAX.ARPA>

i thought that insert and delete line was standard on
vt100 (and vt100 compatible terminals.)  i use VMS
occasionally, and EDT (the screen editor) uses the
insert/delete line functions on vt100 terminals.  i
happen to only have vt100-compatible terminals within
reach at the moment, but they all respond to the
insert/delete line codes.  just so you know, the
ANSI sequence for insert line is "^[[pL", (that's:
escape, left bracket, number, capital L, no quotes)
where p is the number of lines to be inserted, in
numeric form.  if no number is specified, 1 is the
default.  delete line is "^[[pM", with the same syntax.

i have noted that none of the termcap files i've
ever seen from berkeley have had these sequences
in them; i've always had to add them.  (:al=: and
:dl=: capabilities)  i know we have local users who
use real, live, DEC vt100s, and none have complained.
i'd suggest you try the sequences and see if they
work on your terminals.  all this effort to change
the scrolling region may not be necessary.

--dan dorough, uc davis, computer center, davis, ca.
               ucbvax!ucdavis!ccdan  (415) 752-0235



More information about the Comp.unix.wizards mailing list