home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!ifi.uio.no!naggum.no
- From: Erik Naggum <erik@naggum.no>
- Organization: Naggum Software, Oslo, Norway
- Message-ID: <23265A@erik.naggum.no>
- Date: 30 Jul 1992 16:38:19 +0200
- References: <1992Jul29.175940.29255@ultb.isc.rit.edu>
- Subject: Re: FTP Files
- Lines: 39
-
- jks4675@ritvax.isc.rit.edu writes:
- |
- | I'm having a bit of a problem downloading files from the UK FTP
- | site. After uncompressing them, the files have ^J's instead of
- | 'returns'. Thus, my Norton Editor can't get them in a format the
- | 48SX can understand. The files look fine using the editor in
- | Windows 3.1; but even those send garbage thru Kermit.
-
- Line Feed (10) is the Unix line terminator. LF also happens to be the
- internal HP48 line terminator. Messy-DOS uses Carriage Return (13) Line
- Feed (10) as the line terminator. The Macintosh uses bare CR (13), and
- that's what most people refer to as "return". You seem to be on a PC
- with Messy-DOS, though.
-
- Your HP48 can be told to send and accept CRLF as the line terminator by
- setting the sixth object in the list in the reserved variable IOPAR in
- your home directory to 1. It actually defaults to that, so you may wish
- to set it to 0 to not have the 48 attempt translations. Depending on
- the "smartness" of your Kermit, you may have to tell it that it should
- not do anything with bare LFs. Kermit's generally leave them alone, but
- you might have a "new and improved" version for MS-DOS.
-
- | Any of you FTP gurus have any advice?? I really need to get the
- | root locus plotter (soon...I've got a test next Thursday).
-
- This has nothing to do with FTP. You have transferred a file, and FTP
- has done its job. You have also uncompressed a file, and uncompress has
- done its job. Now, you have a file which the HP48 will eat, but you may
- have some software in between which thinks it should be smarter than you
- are, and it probably does perverse things to bare LFs. Just say NO.
-
- You could try to tell your Kermit, and the HP48's, that you wish to do
- binary transfer. It might help, but what definitely helps is dropping
- Messy-DOS and getting a real OS.
-
- "Friends don't let friends use MS-DOS."
-
- Best regards,
- </Erik>
- --
- Erik Naggum | ISO 8879 SGML |
- | ISO 10744 HyTime |
- +47-295-0313 | ISO 10646 UCS | Memento, terrigena.
- <erik@naggum.no> | ISO 9899 C | Memento, vita brevis.
-