home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / bugs / sys5 / 173 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.2 KB

  1. Xref: sparky comp.bugs.sys5:173 comp.unix.solaris:458
  2. Newsgroups: comp.bugs.sys5,comp.unix.solaris
  3. Path: sparky!uunet!paladin.american.edu!gatech!darwin.sura.net!sgiblab!munnari.oz.au!metro!cs.uow.edu.au!david
  4. From: david@cs.uow.edu.au (David E A Wilson)
  5. Subject: Minor formatting bug in stty(1)
  6. Message-ID: <1993Jan11.055004.26725@cs.uow.edu.au>
  7. Organization: Dept of Computer Science, Wollongong University, Australia
  8. Date: Mon, 11 Jan 1993 05:50:04 GMT
  9. Lines: 17
  10.  
  11. I am sure I reported this as a bug in SysV.2 about 5 years ago...
  12.  
  13. The System 5 stty(1) displays control characters as ^ followed by a lowercase
  14. letter (unlike the BSD stty(1) which uses ^ + uppercase letter). This is ok
  15. for ^A..^Z, a bit strange for ^[,^\,^],^^ (which appear as ^{,^|,^},^~) but
  16. disastrous for ^_ which appears as ^ (followed by a DEL character which is
  17. invisible on most terminals). If a NUL were valid it would be displayed as
  18. ^` rather than ^@. 
  19.  
  20. The fix is to add 0x40 rather than 0x60 and under Solaris 2.1 can be patched
  21. easily. This is the output from cmp -l on stty & /usr/bin/stty:
  22.  10692 100 140
  23.  
  24. This is running SunOS 5.1 Generic sun4c sparc.
  25. -- 
  26. David Wilson                +61 42 213802 voice, +61 42 213262 fax
  27. Dept Comp Sci, Uni of Wollongong    david@cs.uow.edu.au
  28.