pwb (04/22/83)
The following is a fix to more(1) as requested by ...!decvax!decwrl!qubix!msc on March 10. Phil Bonesteele ...{ucbvax,decvax}!trw-unix!pwb 1983-0070 TRW/UNIX Modification 1983-0070 NAME more - doesn't disable terminal underline mode at end of line DATE ENACTED April 7, 1983 KEYWORDS crt, filter, perusal, viewing, more(1) PROBLEM DESCRIPTION More(1) does not turn off a terminal's stand out mode when ---- the last character of a line is underlined. PROBLEM BACKGROUND Some crt terminals automatically turn off stand out mode when they receive a carriage return. But for those that don't, if the last character of a line was underlined, more(1) fails to turn it off and the terminal will remain in ---- stand out mode. RESOLUTION diff /usr/src/cmd/more.c more.c.new 837a838,841 > } > if (pstate) { > tputs(ULexit, 1, putch); > pstate = 0; FILES /usr/src/cmd/more.c REQUESTOR Dan Ingold AUTHOR Phil Bonesteele 4bsd TRW (4/12/83) 1