jrstu@cbnewsd.ATT.COM (james.stuhlmacher) (03/29/90)
The following patch will fix an incorrect entry in the 1.5.5 termcap file. The nd (nondestructive space) capability has a "L" on the end that should not be there. While looking into this problem I noticed something odd about the console driver. The following control characters move the cursor as listed below. ^K up ^L right ^N right ^H left Two of the control characters move the cursor right, but none move the cursor down. Is this correct? There is no comments in console.c stating what was intended. Jim Stuhlmacher #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: termcap.cdif # Wrapped by jims@stu on Wed Mar 28 22:48:12 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'termcap.cdif' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'termcap.cdif'\" else echo shar: Extracting \"'termcap.cdif'\" \(410 characters\) sed "s/^X//" >'termcap.cdif' <<'END_OF_FILE' X*** otermcap Wed Mar 28 22:28:09 1990 X--- termcap Wed Mar 28 22:28:18 1990 X*************** X*** 22,28 **** X :ho=\E[1;1H:\ X :IC=\E[%d@:ic=\E[@:\ X :it#8:\ X! :le=^H:LE=\E[%dD:nd=\E[CL:\ X :RI=\E[%dC:\ X :up=\E[A:UP=\E[%dA:\ X :ku=\E[A:kd=\E[B:\ X--- 22,28 ---- X :ho=\E[1;1H:\ X :IC=\E[%d@:ic=\E[@:\ X :it#8:\ X! :le=^H:LE=\E[%dD:nd=\E[C:\ X :RI=\E[%dC:\ X :up=\E[A:UP=\E[%dA:\ X :ku=\E[A:kd=\E[B:\ END_OF_FILE if test 410 -ne `wc -c <'termcap.cdif'`; then echo shar: \"'termcap.cdif'\" unpacked with wrong size! fi # end of 'termcap.cdif' fi echo shar: End of shell archive. exit 0
saj@yipeia.Sun.COM (Scott A. Jordahl) (03/30/90)
In article <13856@cbnewsd.ATT.COM> jrstu@cbnewsd.ATT.COM (james.stuhlmacher,ih,) writes: >The following patch will fix an incorrect entry in the 1.5.5 termcap >file. The nd (nondestructive space) capability has a "L" on the end >that should not be there. > >While looking into this problem I noticed something odd about the >console driver. The following control characters move the cursor as >listed below. > > ^K up > ^L right > ^N right > ^H left > >Two of the control characters move the cursor right, but none move the >cursor down. Is this correct? There is no comments in console.c >stating what was intended. > >Jim Stuhlmacher > [patch omitted] While on the subject, I also noticed that "ho" is defined twice. Which one is the correct definition? I may have to look at the console driver if no one else knows what it is off hand. -- Scott |=|=|=|=|=| Scott A. Jordahl |=|=|=|=|=| |==|=|=|==| UUCP: saj@sun.COM |==|=|=|==| |=|=|=|=|=| PHONE: Wk: [415] 336-5463 |=|=|=|=|=| |==|=|=|==| Hm: [408] 270-5619 |==|=|=|==|