From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc31,34fe6918fca35db X-Google-Attributes: gidffc31,public X-Google-Thread: 1164f8,34fe6918fca35db X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-11-22 10:43:51 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.dls.net!news.dls.net.POSTED!not-for-mail NNTP-Posting-Date: Sat, 22 Nov 2003 12:43:50 -0600 Message-ID: <3FBFAF9B.B29FC6B5@fsi.net> Date: Sat, 22 Nov 2003 12:48:59 -0600 From: "David J. Dachtera" X-Mailer: Mozilla 4.77 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: vmsnet.pdp-11,comp.sys.dec Subject: Re: C, Sequential File Compatibility (was: Re: transferring source files) References: <3FBAF2CC.9597B4F9@fsi.net> <3fbe0ce3.9586462@news.ozemail.com.au> <3FBC2958.5E90627A@fsi.net> <3fc05420.25159669@news.ozemail.com.au> <3FBD8926.4924131@fsi.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.206.218.66 X-AuthenticatedUsername: djesys@dls.net X-Trace: sv3-iwKqW6x7e7og7ipp0XEu0xSKczl7lWaI2jI0TnIlIIftpVd/dbY/EBmfnQbG+bvtWWB2ioV6+kSngqE!7KCm6/Uzvh4dHufzKYl+uAlZMAAB4g8JXFSI8v359dEGrGhSfKYx3bj7uGuujGg= X-Complaints-To: abuse@dls.net X-DMCA-Complaints-To: abuse@dls.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com vmsnet.pdp-11:5810 comp.sys.dec:17358 Hoff Hoffman wrote: > > In article <3FBD8926.4924131@fsi.net>, "David J. Dachtera" writes: > :paramucho wrote: > :> > :> On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" > :> wrote: > :> > :> >paramucho wrote: > :> >> > :> >> Formfeed, aka ctrl-L is the page separator. > :> > > :> >Usually tolerated by compilers, but often considered bad form. Not > :> >recommended. > :> > :> Huh? I've been using it in all my source files since pre-1975 and have > :> yet to find a compiler that doesn't accept it. > : > :Like I said... > > A form-feed is whitespace, and appears entirely legal within a C source > file per my reading of the C materials. Large tracts of OpenVMS source > code certainly use form-feed characters embedded within the source > files; OpenVMS uses form-feeds for purposes of readability. > > For those interested, the first couple of pages of the lexicon chapter of > the OpenVMS C Language Reference Manual have various relevent details. > > http://www.hp.com/go/openvms/doc/ O.k. Not sure why this is getting confused, so let me try it this way: "Usually tolerated by compilers, " ...means pretty much exactly what it says. It's a non-printable character that the compiler may or may not ignore. Use at your own risk. "...but often considered bad form." ...means pretty much exactly what it says. It may or may not produce desirable or "pretty" results, since most compilers keep their own line counters and such for formatting listings. Yes, I did see one that output the transparently to the listing file, but ignored it's significance. The results ranged from amusing to aggravating. "Not recommended." Admittedly, a statement of opinion. Should be self-explanatory, but if you need help with it, post your questions here. > The discussion of file transfers over to Microsoft Windows systems almost > certainly involves a need to switch the sequential files to Stream or to > Stream LF format -- before moving the files along to the Windows platforms. > OpenVMS has a number of sequential file formats and record organizations, > and only a select few combinations are compatible with the Microsoft > sequential file formats and expectations. Note also that I've seen cases where various format conversion software (FTP, CONVERT, ZIP/UNZIP, etc.) tended treat identically to or : as a record terminator. Never did ferret out the cause. Some DCL proc.'s also use for formatting ... which is weird because some of those same proc.'s may also have escape characters embedded in literal strings instead of using symbols or substitution. So, the proc.'s aren't "printable", anyway. -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/