Path: utzoo!utgpu!watserv1!watmath!att!cbnewsd!jrstu From: jrstu@cbnewsd.ATT.COM (james.stuhlmacher) Newsgroups: comp.os.minix Subject: Bug in 1.5.5 /etc/termcap Message-ID: <13856@cbnewsd.ATT.COM> Date: 29 Mar 90 05:08:33 GMT Reply-To: jrstu@cbnewsd.ATT.COM (james.stuhlmacher,ih,) Organization: AT&T Bell Laboratories Lines: 61 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 '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