home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3739 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.9 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: 'cat'ting 8 bit data to the terminal.....
  5. Message-ID: <14372@auspex-gw.auspex.com>
  6. Date: 30 Aug 92 01:38:13 GMT
  7. References: <BARNETT.92Aug27143531@grymoire.crd.ge.com> <14333@auspex-gw.auspex.com> <1992Aug28.203005.5851@spuddy.uucp>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 31
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >On a machine I admin in Greece, we use the ELOT928 character set to enable
  14. >Greek characters to appear on the screen.  But to allow this to work we
  15. >need to login with telnet -8 or rlogin -8, or (and?) stty pass8, otherwise
  16. >the high bit seems to be stripped....
  17.  
  18. The characters pass not only through the pseudo-tty driver and "line
  19. discipline" STREAMS module code - which, as I said, do *not* strip
  20. output to 7 bits - but also passes through:
  21.  
  22.     whatever "telnet" or "rlogin" client software you're using
  23.     (whether it's on a UNIX box, or a DOS box, or an Annex, or
  24.     whatever);
  25.  
  26.     whatever "telnet" or "rlogin" *server* software is running on
  27.     the machine to which you're logging in;
  28.  
  29. and *that* software may well be stripping stuff to 7 bits.
  30.  
  31. Furthermore, as I noted, it's *output* that never gets stripped to 7
  32. bits by the tty driver; *input* gets stripped to 7 bits if "istrip" is
  33. set.
  34.  
  35. Thus, if the "telnet"/"rlogin" client and server software aren't
  36. stripping anything to 7 bits, *printing* a file should work OK with
  37. 8-bit character sets, regardless of whether you've done "stty pass8" or
  38. not, as long as your output device (terminal, window system terminal
  39. emulator window, whatever) properly handles 8-bit character sets.
  40.  
  41. However, unless you've arranged that "istrip" isn't set (e.g., by doing
  42. "stty pass8", which, among other things, turns "istrip" off), *typing*
  43. 8-bit characters at the machine won't necessarily work.
  44.