home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.bugs.sys5:173 comp.unix.solaris:458
- Newsgroups: comp.bugs.sys5,comp.unix.solaris
- Path: 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
-
- 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
-