Article View: comp.bugs.sys5
Article #438Minor formatting bug in stty(1)
From: 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
Technical Details
Message-ID:
<1993Jan11.055004.26725@cs.uow.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!darwin.sura.net!sgiblab!munnari.oz.au!metro!cs.uow.edu.au!davidShow Full Headers
Complete Article Headers
Newsgroups: comp.bugs.sys5,comp.unix.solaris Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!darwin.sura.net!sgiblab!munnari.oz.au!metro!cs.uow.edu.au!david From: david@cs.uow.edu.au (David E A Wilson) Subject: Minor formatting bug in stty(1) Message-ID: <1993Jan11.055004.26725@cs.uow.edu.au> Organization: Dept of Computer Science, Wollongong University, Australia Date: Mon, 11 Jan 1993 05:50:04 GMT Lines: 17