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