Disgusting kernel hack

Spencer W. Thomas thomas at utah-gr.UUCP
Tue Mar 13 03:09:20 AEST 1984


Have you ever noticed how more doesn't work very well if you specify
-c and you have said stty -tabs?  This is because the kernel has in it code
which counts characters to determine how to simulate tabs.  When running
with more -c, more puts out a "line clear" sequence at the beginning of
each line.  This generally doesn't cause the cursor to move, but the
kernel counts those characters anyway.  So, the tab emulation is all
screwed up.  So, would you suggest that we take tab emulation out of the
kernel and put it into every single program which wants to do output?

=S



More information about the Comp.unix.wizards mailing list