home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!cybrspc!roy
- From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail)
- Newsgroups: comp.bbs.waffle
- Subject: Re: The woes of ^Z
- Message-ID: <LXT5VB2w165w@cybrspc.UUCP>
- Date: Mon, 21 Dec 92 06:30:32 CST
- References: <21Dec92002848@miracle.com>
- Organization: Villa CyberSpace, Minneapolis, MN
- Lines: 28
-
- phil@miracle.com (Phil Hill) writes:
-
- > roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:
- > >Waffle hasn't got a bug. MS-DOS has a bozon filesystem.
- >
- > Doesn't have anything to do with the filesystem. The DEFAULT mode to read
- > a file is "TEXT" mode, in which case a ^Z is treated as EOF.
-
- That sure sounds like filesystem behavior to me.
-
- > >Hey, Unix types... what happens if a DOS site embeds a ^D in mail or
- > >news?
- >
- > ^D is only treated as the EOF character when it's typed in from the keyboard.
-
- Yep, and that's logical behavior. The MS-DOS ^Z bogosity is a hangover
- from CP/M, and I don't see what's so great about it. The filesystem
- shouldn't discriminate against any particular character.
-
- > As a matter of fact you can change which character is treated as EOF by
- > issuing a 'stty' command. "stty eof ^Z" will make UNIX act more like DOS.
-
- Kind of like a lobotomy? :-)
- --
- Roy M. Silvernail -- roy%cybrspc@cs.umn.edu - OR- cybrspc!roy@cs.umn.edu
- "I like Santa Claus as well as the next guy, but do you really want a
- hard drive that's spent 6000 miles at the bottom of a canvas sack in a
- wooden sleigh powered by airborne reindeer?" -- me
-