From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,580a1115adc31011 X-Google-NewGroupId: yes X-Google-Thread: 10cebf,580a1115adc31011 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,gid8ad4bb2fee,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 27 Apr 2010 19:18:15 -0500 From: John Santos Newsgroups: comp.sys.dec,comp.sys.dec.micro Subject: Re: Line Feeds and Paper Tape Date: Tue, 27 Apr 2010 20:18:15 -0400 Message-ID: References: Organization: Evans Griffiths & Hart, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.71.4 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-Yxfi5ku9vWvqa9vJqJi7POk27LvvVSd92pA2OhRzuCEpP7/abp62lxaezniqe/8SexnUo/j2P7Ea/Vx!ZXuP/y3bqMh3zCXaLRgsCe6nt4eYhSWE7kwqC6+wk/fXU2TgtsNF4y8wZDeXwrjNvyr3nBdbYA== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html 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.3.40 Xref: g2news2.google.com comp.sys.dec:1962 comp.sys.dec.micro:62 In article , tlake@twcny.rr.com says...> > "Bob Koehler" wrote in message > news:YJe4fvPgvHF4@eisner.encompasserve.org... > > In article , "Tom Lake" > > writes: > >> I'm running a Teletype ASR-33 under RSTS/E 10 > >> and when I punch a program to paper tape and the > >> program has lines longer than 72 characters, the > >> lines don't read back in correctly. The portion > >> past column 72 is cut off. Is there a way to punch such > >> tapes properly so they can be read in with no loss? > > > > Sounds like the software writing to the tape is assuming that it is > > writing Fortran source. > > > > It's just the BASIC-Plus LISTNH command. Lines can be up to 255 > characters long but any line over 72 characters gets cut off when > read back in. The terminal width is specified in the initialization > at 72 for the Teletype port since, if I left it at the default of 80, a > LIST would print a bunch of overtypes at the end of each line when > the line exceeded 72. > > Tom Lake Most likely, the terminal width is set to 72 because that's all that would fit on an ASR-33 with the original yellow teletype paper rolls. So it was either inserting when you did the LISTNH or it is inserting them after 72 columns when it reads the tape back. If you still have the original program on disk, you can repeat the save to the ASR by $ set terminal/width=80 ! or whatever you need, up to 255 Ready OLD Ready LISTNH (should save it properly) Ready (For versions older than 9.0, you'll need to use $ttyset instead of "set terminal/width=", but you say above you have RSTS/E V10.0...) If you no longer have the source file on disk, you'll need to read it in to a file: PIP FOO.BAS=KB: (Turn on reader) After it finishes reading, you'll probably need to type ctrl/Z (EOF) to get PIP to exit. Then you'll need to edit FOO.BAS to concatenate the long lines, or to insert appropriate line continuation (&) at the ends of the broken lines. Also, while you're editing, you should get rid of the "Ready" at the end, though I think when you load the program into BASIC, it will stop at the END statement and ignore anything after it. You should probably do this on a wider terminal, either a VT-type or a VT emulator on some type of PC or Mac or workstation, but if the Teletype is the only terminal you've got, then set the terminal width wide and use TECO or EDIT or EDT in line mode and you should be able to fix it. If you have Ethernet on your PDP-11, and a Unix or Mac system, you can find a LAT package called LATD somewhere, download and install it, and configure RSTS/E as a LAT server. Then you can use the Mac or Unix/Linux system as a LAT client and log in. (Forget when RSTS first supported LAT, but 10.0 is definitely new enough.) This LAT package is reputed to be buggy, but it worked well enough for me the few times I've tried it on Mac OS X. -- John Santos Evans Griffiths & Hart, Inc.