Article View: news.software.nntp
Article #62860Re: NNTP and YENC
From: Phil
Date: Tue, 07 Jan 2003 01:53
Date: Tue, 07 Jan 2003 01:53
55 lines
3221 bytes
3221 bytes
Hello, I don't know what you mean by "this does not happen"... because it does!!! Software that does not terminate on CTRL-Z is treating its input as binary, not text. Thanks anyway!! Bart. Frank Slootweg <franks@neth.hp.com> wrote in message news:avc1qb$or1$1@support.neth.hp.com... > Bart Crane <svcrane@attbi.com> wrote: > [much deleted] > > In DOS/Windows, CR LF is mapped to LF, and SUB is interpreted > > as End Of File. To maintain compatibility with DOS/Windows, only > > SUB need be escaped. > > Well, I hate to break it to you but in "DOS/Windows", SUB (Ctrl-Z) is > *NOT* interpreted as End Of File. Perhaps in *your* "DOS" or *your* > "Windows" or *your* broken sed/grep, but not in "DOS/Windows" *in > general*! > > As others have posted, this (Ctrl-Z) 'problem' was just caused by a > bad design choice in early DOS, but since that time, people have solved > those problem, also *on* (not neccessarily *in*) DOS. > > Case in point: I just copied a file with a Ctrl-Z 'in the middle' from > UNIX to Windows (2000). I used stock Windows 'rcp' (both with "-a" and > "-b", made no difference), and stock Windows 'more' displayed the file > just fine, and stock 'find' (the *'DOS'* command, not the UNIX one) > could search past the Ctrl-Z just fine. > > So what we have here is a set of *Microsoft* (for crying out loud) > *'DOS'/Windows* programs which (*rightfully*) ignore/accept Ctrl-Z in > *text* files. > > And please no remarks about sed/grep on *DOS/Windows* 'having' to > terminate on Ctrl-Z. sed/grep are *UNIX*, or POSIX if you prefer, > standard utilities. They have to handle UNIX/POSIX text files. In UNIX > /POSIX text files, Ctrl-Z has no special meaning. Period. > > For example Cygwin (set of UNIX utilities for Windows) grep also could > search past the Ctrl-Z just fine. > > So if *your* DOS/Windows sed/grep can not handle Ctrl-Z in text files, > then, as the others have said many times, they are *broken* and *they* > should be fixed, not something else. > > [much deleted]
Technical Details
Message-ID:
<OnqS9.161$wz1.153089@news.uswest.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!msc1.onvoy!ply1.onvoy!onvoy.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mailReferences:
<BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <OnqS9.161$wz1.153089@news.uswest.net> Subject: Re: NNTP and YENC Date: Mon, 6 Jan 2003 17:53:26 -0800 From: "Phil" <PeepingUnder@TheCovers.org> References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!msc1.onvoy!ply1.onvoy!onvoy.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 54 Organization: Human Sexuality Determination, Incorporated X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 65.115.68.98 X-Trace: news.uswest.net 1041904238 65.115.68.98 (Mon, 06 Jan 2003 19:50:38 CST) NNTP-Posting-Date: Mon, 06 Jan 2003 19:50:38 CST