Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by David E A Wilson
Mon, 11 Jan 1993 05:50
Minor formatting bug in stty(1)
Author: David E A Wilson
Date: Mon, 11 Jan 1993 05:50
Date: Mon, 11 Jan 1993 05:50
17 lines
1223 bytes
1223 bytes
I am sure I reported this as a bug in SysV.2 about 5 years ago...
The System 5 stty(1) displays control characters as ^ followed by a lowercase
letter (unlike the BSD stty(1) which uses ^ + uppercase letter). This is ok
for ^A..^Z, a bit strange for ^[,^\,^],^^ (which appear as ^{,^|,^},^~) but
disastrous for ^_ which appears as ^ (followed by a DEL character which is
invisible on most terminals). If a NUL were valid it would be displayed as
^` rather than ^@.
The fix is to add 0x40 rather than 0x60 and under Solaris 2.1 can be patched
easily. This is the output from cmp -l on stty & /usr/bin/stty:
10692 100 140
This is running SunOS 5.1 Generic sun4c sparc.
--
David Wilson +61 42 213802 voice, +61 42 213262 fax
Dept Comp Sci, Uni of Wollongong david@cs.uow.edu.au
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads