🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.apple2.gno
Article #360

Re: Vindicating TelCom

#360
From: Jawaid Bazyar
Date: Mon, 23 Nov 1992 09:55
23 lines
1700 bytes
taob@r-node.gts.org (Brian Tao) writes:

>    Speaking of which... I have problems uploading text files to the UNIX
>box at school.  I use "cat filename > .ttyd2" to do an ASCII send, but the
>text is double-spaced on the UNIX side!  If I convert CR's to LF's, it
>turns out fine.  I seem to remember some env variable which determines
>whether the shell prints an extra LF or not.  Would changing this variable
>help?  It's a pain having to convert files to LF's, uploading, then back
>to CR's.

  No, changing the 'nonewline' variable affects only the shell.
What's occurring when you "cat > .ttyd2" is that the terminal drivers
are adding a LF onto every CR you send.  You could write a small program
that was just like 'cat', but turned off the terminal 'CRMOD' flag
before sending the data to the modem port.

  When you convert CR's to LF's, the driver doesn't expand the LF because,
well, it just doesn't. :-)
-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
Technical Details
Message-ID: <bazyar.722512544@teal>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!yuma!csn!teal!bazyar
References: <1992Nov18.044538.7670@vela.acs.oakland.edu> <Bxxn6w.2AA@CAM.ORG> <bazyar.722162119@teal> <1992Nov22.212350.15698@r-node.gts.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.apple2.gno
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!yuma!csn!teal!bazyar
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: Re: Vindicating TelCom
Message-ID: <bazyar.722512544@teal>
Sender: news@csn.org (news)
Nntp-Posting-Host: teal.csn.org
Organization: Colorado SuperNet, Inc.
References: <1992Nov18.044538.7670@vela.acs.oakland.edu> <Bxxn6w.2AA@CAM.ORG> <bazyar.722162119@teal> <1992Nov22.212350.15698@r-node.gts.org>
Date: Mon, 23 Nov 1992 09:55:44 GMT
Lines: 23