* transferring source files @ 2003-11-18 20:58 Slavko Vorkapitch 2003-11-19 4:34 ` David J. Dachtera 2003-11-19 13:28 ` Bob Kaplow 0 siblings, 2 replies; 12+ messages in thread From: Slavko Vorkapitch @ 2003-11-18 20:58 UTC (permalink / raw) Hi - I have transfered some source files via TK50 from our PDP-11 onto our VAX and from there onto my PC on our local net. Problem is with control charcaters or some such that in one editor (VSlick emacs mode) the text appears as one continuous line and another editor (notepad) does not preserve the line control characters properly either ... Any help appreciated. Thanks in advance, El Squid ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-18 20:58 transferring source files Slavko Vorkapitch @ 2003-11-19 4:34 ` David J. Dachtera 2003-11-19 5:25 ` healyzh 2003-11-19 13:28 ` Bob Kaplow 1 sibling, 1 reply; 12+ messages in thread From: David J. Dachtera @ 2003-11-19 4:34 UTC (permalink / raw) Slavko Vorkapitch wrote: > > Hi - I have transfered some source files via TK50 from our PDP-11 onto > our VAX and from there onto my PC on our local net. Problem is with > control charcaters or some such that in one editor (VSlick emacs mode) > the text appears as one continuous line and another editor (notepad) > does not preserve the line control characters properly either ... Any > help appreciated. > > Thanks in advance, > El Squid Source (ASCII text) files should not contain control characters other than record delimiters. You may be hosed. -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-19 4:34 ` David J. Dachtera @ 2003-11-19 5:25 ` healyzh 2003-11-19 6:27 ` paramucho 2003-11-19 15:07 ` transferring source files jh40 0 siblings, 2 replies; 12+ messages in thread From: healyzh @ 2003-11-19 5:25 UTC (permalink / raw) In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: > Slavko Vorkapitch wrote: > > > > Hi - I have transfered some source files via TK50 from our PDP-11 onto > > our VAX and from there onto my PC on our local net. Problem is with > > control charcaters or some such that in one editor (VSlick emacs mode) > > the text appears as one continuous line and another editor (notepad) > > does not preserve the line control characters properly either ... Any > > help appreciated. > Source (ASCII text) files should not contain control characters other > than record delimiters. You may be hosed. I suspect that he's referring to the whole carridge return/linefeed mess. Running it through a Unix-to-Dos script might help. Also, opening it in WordPad first on the PC might help (it seems to be able to handle converting such documents). Plus, they could have the control character that signifies a new page (I can't remember at the moment what it's called, but I've seen it in lots of PDP-11 source code). Zane ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-19 5:25 ` healyzh @ 2003-11-19 6:27 ` paramucho 2003-11-20 2:39 ` David J. Dachtera 2003-11-19 15:07 ` transferring source files jh40 1 sibling, 1 reply; 12+ messages in thread From: paramucho @ 2003-11-19 6:27 UTC (permalink / raw) On 19 Nov 2003 05:25:20 GMT, healyzh@aracnet.com wrote: >In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: >> Slavko Vorkapitch wrote: >> > >> > Hi - I have transfered some source files via TK50 from our PDP-11 onto >> > our VAX and from there onto my PC on our local net. Problem is with >> > control charcaters or some such that in one editor (VSlick emacs mode) >> > the text appears as one continuous line and another editor (notepad) >> > does not preserve the line control characters properly either ... Any >> > help appreciated. > >> Source (ASCII text) files should not contain control characters other >> than record delimiters. You may be hosed. > >I suspect that he's referring to the whole carridge return/linefeed mess. >Running it through a Unix-to-Dos script might help. Also, opening it in >WordPad first on the PC might help (it seems to be able to handle converting >such documents). > >Plus, they could have the control character that signifies a new page (I >can't remember at the moment what it's called, but I've seen it in lots of >PDP-11 source code). Formfeed, aka ctrl-L is the page separator. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-19 6:27 ` paramucho @ 2003-11-20 2:39 ` David J. Dachtera 2003-11-20 6:16 ` paramucho 0 siblings, 1 reply; 12+ messages in thread From: David J. Dachtera @ 2003-11-20 2:39 UTC (permalink / raw) paramucho wrote: > > On 19 Nov 2003 05:25:20 GMT, healyzh@aracnet.com wrote: > > >In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: > >> Slavko Vorkapitch wrote: > >> > > >> > Hi - I have transfered some source files via TK50 from our PDP-11 onto > >> > our VAX and from there onto my PC on our local net. Problem is with > >> > control charcaters or some such that in one editor (VSlick emacs mode) > >> > the text appears as one continuous line and another editor (notepad) > >> > does not preserve the line control characters properly either ... Any > >> > help appreciated. > > > >> Source (ASCII text) files should not contain control characters other > >> than record delimiters. You may be hosed. > > > >I suspect that he's referring to the whole carridge return/linefeed mess. > >Running it through a Unix-to-Dos script might help. Also, opening it in > >WordPad first on the PC might help (it seems to be able to handle converting > >such documents). > > > >Plus, they could have the control character that signifies a new page (I > >can't remember at the moment what it's called, but I've seen it in lots of > >PDP-11 source code). > > Formfeed, aka ctrl-L is the page separator. Usually tolerated by compilers, but often considered bad form. Not recommended. -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-20 2:39 ` David J. Dachtera @ 2003-11-20 6:16 ` paramucho 2003-11-21 3:40 ` David J. Dachtera 0 siblings, 1 reply; 12+ messages in thread From: paramucho @ 2003-11-20 6:16 UTC (permalink / raw) On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" <djesys.nospam@fsi.net> wrote: >paramucho wrote: >> >> On 19 Nov 2003 05:25:20 GMT, healyzh@aracnet.com wrote: >> >> >In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: >> >> Slavko Vorkapitch wrote: >> >> > >> >> > Hi - I have transfered some source files via TK50 from our PDP-11 onto >> >> > our VAX and from there onto my PC on our local net. Problem is with >> >> > control charcaters or some such that in one editor (VSlick emacs mode) >> >> > the text appears as one continuous line and another editor (notepad) >> >> > does not preserve the line control characters properly either ... Any >> >> > help appreciated. >> > >> >> Source (ASCII text) files should not contain control characters other >> >> than record delimiters. You may be hosed. >> > >> >I suspect that he's referring to the whole carridge return/linefeed mess. >> >Running it through a Unix-to-Dos script might help. Also, opening it in >> >WordPad first on the PC might help (it seems to be able to handle converting >> >such documents). >> > >> >Plus, they could have the control character that signifies a new page (I >> >can't remember at the moment what it's called, but I've seen it in lots of >> >PDP-11 source code). >> >> 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. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-20 6:16 ` paramucho @ 2003-11-21 3:40 ` David J. Dachtera 2003-11-21 4:33 ` C, Sequential File Compatibility (was: Re: transferring source files) Hoff Hoffman 0 siblings, 1 reply; 12+ messages in thread From: David J. Dachtera @ 2003-11-21 3:40 UTC (permalink / raw) paramucho wrote: > > On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" > <djesys.nospam@fsi.net> wrote: > > >paramucho wrote: > >> > >> On 19 Nov 2003 05:25:20 GMT, healyzh@aracnet.com wrote: > >> > >> >In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: > >> >> Slavko Vorkapitch wrote: > >> >> > > >> >> > Hi - I have transfered some source files via TK50 from our PDP-11 onto > >> >> > our VAX and from there onto my PC on our local net. Problem is with > >> >> > control charcaters or some such that in one editor (VSlick emacs mode) > >> >> > the text appears as one continuous line and another editor (notepad) > >> >> > does not preserve the line control characters properly either ... Any > >> >> > help appreciated. > >> > > >> >> Source (ASCII text) files should not contain control characters other > >> >> than record delimiters. You may be hosed. > >> > > >> >I suspect that he's referring to the whole carridge return/linefeed mess. > >> >Running it through a Unix-to-Dos script might help. Also, opening it in > >> >WordPad first on the PC might help (it seems to be able to handle converting > >> >such documents). > >> > > >> >Plus, they could have the control character that signifies a new page (I > >> >can't remember at the moment what it's called, but I've seen it in lots of > >> >PDP-11 source code). > >> > >> 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... -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: C, Sequential File Compatibility (was: Re: transferring source files) 2003-11-21 3:40 ` David J. Dachtera @ 2003-11-21 4:33 ` Hoff Hoffman 2003-11-22 18:48 ` David J. Dachtera 0 siblings, 1 reply; 12+ messages in thread From: Hoff Hoffman @ 2003-11-21 4:33 UTC (permalink / raw) In article <3FBD8926.4924131@fsi.net>, "David J. Dachtera" <djesys.nospam@fsi.net> writes: :paramucho wrote: :> :> On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" :> <djesys.nospam@fsi.net> 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/ -=- 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. ---------------------------- #include <rtfaq.h> ----------------------------- For additional, please see the OpenVMS FAQ -- www.hp.com/go/openvms/faq --------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoff[at]hp.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: C, Sequential File Compatibility (was: Re: transferring source files) 2003-11-21 4:33 ` C, Sequential File Compatibility (was: Re: transferring source files) Hoff Hoffman @ 2003-11-22 18:48 ` David J. Dachtera 2003-11-23 13:30 ` paramucho 0 siblings, 1 reply; 12+ messages in thread From: David J. Dachtera @ 2003-11-22 18:48 UTC (permalink / raw) Hoff Hoffman wrote: > > In article <3FBD8926.4924131@fsi.net>, "David J. Dachtera" <djesys.nospam@fsi.net> writes: > :paramucho wrote: > :> > :> On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" > :> <djesys.nospam@fsi.net> 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 <FF> 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 <FF> identically to <CR><LF> or <LF>: as a record terminator. Never did ferret out the cause. Some DCL proc.'s also use <FF> 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/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: C, Sequential File Compatibility (was: Re: transferring source files) 2003-11-22 18:48 ` David J. Dachtera @ 2003-11-23 13:30 ` paramucho 0 siblings, 0 replies; 12+ messages in thread From: paramucho @ 2003-11-23 13:30 UTC (permalink / raw) On Sat, 22 Nov 2003 12:48:59 -0600, "David J. Dachtera" <djesys.nospam@fsi.net> wrote: >Hoff Hoffman wrote: >> >> In article <3FBD8926.4924131@fsi.net>, "David J. Dachtera" <djesys.nospam@fsi.net> writes: >> :paramucho wrote: >> :> >> :> On Wed, 19 Nov 2003 20:39:20 -0600, "David J. Dachtera" >> :> <djesys.nospam@fsi.net> 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 <FF> transparently to the listing file, but ignored it's >significance. The results ranged from amusing to aggravating. Well, I've used them with many compilers and I still have all my teeth and most of my hair :-) And I have yet to encounter a compiler or assembler which didn't handle the formatting etc. although I'm sure they're out there. <FF> was a part of the DEC culture and I mourn it's passing. It's like going back from books to scrolls... endless screeds of unseparated subroutines. >"Not recommended." > >Admittedly, a statement of opinion. Should be self-explanatory, but if >you need help with it, post your questions here. Well, I recommend them fully and freely on the DEC operating systems under consideration in this group. I have yet to encounter any problems with them using various Windows-based compilers. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-19 5:25 ` healyzh 2003-11-19 6:27 ` paramucho @ 2003-11-19 15:07 ` jh40 1 sibling, 0 replies; 12+ messages in thread From: jh40 @ 2003-11-19 15:07 UTC (permalink / raw) To: healyzh New page, aka form feed, is ctrl-l, if I recall correctly John healyzh@aracnet.com wrote: >In comp.sys.dec David J. Dachtera <djesys.nospam@fsi.net> wrote: > > >>Slavko Vorkapitch wrote: >> >> >>>Hi - I have transfered some source files via TK50 from our PDP-11 onto >>>our VAX and from there onto my PC on our local net. Problem is with >>>control charcaters or some such that in one editor (VSlick emacs mode) >>>the text appears as one continuous line and another editor (notepad) >>>does not preserve the line control characters properly either ... Any >>>help appreciated. >>> >>> > > > >>Source (ASCII text) files should not contain control characters other >>than record delimiters. You may be hosed. >> >> > >I suspect that he's referring to the whole carridge return/linefeed mess. >Running it through a Unix-to-Dos script might help. Also, opening it in >WordPad first on the PC might help (it seems to be able to handle converting >such documents). > >Plus, they could have the control character that signifies a new page (I >can't remember at the moment what it's called, but I've seen it in lots of >PDP-11 source code). > > Zane > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: transferring source files 2003-11-18 20:58 transferring source files Slavko Vorkapitch 2003-11-19 4:34 ` David J. Dachtera @ 2003-11-19 13:28 ` Bob Kaplow 1 sibling, 0 replies; 12+ messages in thread From: Bob Kaplow @ 2003-11-19 13:28 UTC (permalink / raw) In article <e0a5b916.0311181258.7f507e6e@posting.google.com>, el_squid_2000@yahoo.com (Slavko Vorkapitch) writes: > Hi - I have transfered some source files via TK50 from our PDP-11 onto > our VAX and from there onto my PC on our local net. Problem is with > control charcaters or some such that in one editor (VSlick emacs mode) > the text appears as one continuous line and another editor (notepad) > does not preserve the line control characters properly either ... Any > help appreciated. Did you FTP the files? You need to specify ASCII here instead of BINARY to get them converted from one OS format to the other. One other thing to check is if the files were initially readable in the middle, on the VAX. If the problem started there, edit the file with TECO, and immediately do an ex<esc><esc> and TECO will convert the PDP-11 file format to native VMS. Then do the ASCII FTP from the VMS system to your PC. I've used this little TECO trick many times to fix ASCII files with messed up formats. Bob Kaplow NAR # 18L TRA # "Impeach the TRA BoD" >>> To reply, remove the TRABoD! <<< Kaplow Klips & Baffle: http://nira-rocketry.org/LeadingEdge/Phantom4000.pdf www.encompasserve.org/~kaplow_r/ www.nira-rocketry.org www.nar.org Save Model Rocketry from the HSA! http://www.space-rockets.com/congress.html ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-11-23 13:30 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-11-18 20:58 transferring source files Slavko Vorkapitch 2003-11-19 4:34 ` David J. Dachtera 2003-11-19 5:25 ` healyzh 2003-11-19 6:27 ` paramucho 2003-11-20 2:39 ` David J. Dachtera 2003-11-20 6:16 ` paramucho 2003-11-21 3:40 ` David J. Dachtera 2003-11-21 4:33 ` C, Sequential File Compatibility (was: Re: transferring source files) Hoff Hoffman 2003-11-22 18:48 ` David J. Dachtera 2003-11-23 13:30 ` paramucho 2003-11-19 15:07 ` transferring source files jh40 2003-11-19 13:28 ` Bob Kaplow
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox