*BSD News Article 73347


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.mid.net!sbctri.tri.sbc.com!newspump.wustl.edu!news.ecn.bgu.edu!news.cse.psu.edu!uwm.edu!fnnews.fnal.gov!unixhub!news.Stanford.EDU!not-for-mail
From: techie@kzsu.Stanford.EDU (Bob Vaughan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: problem with unwanted CR->LF translation
Date: 10 Jul 1996 16:49:45 -0700
Organization: Stanford University, CA 94305, USA
Lines: 28
Message-ID: <4s1fip$r9q@kzsu.Stanford.EDU>
References: <4rs5qm$g40@kzsu.Stanford.EDU>
NNTP-Posting-Host: kzsu.stanford.edu

In article <4rs5qm$g40@kzsu.Stanford.EDU>,
Bob Vaughan <techie@kzsu.Stanford.EDU> wrote:
>I'm having a problem with unwanted CR-LF translation when
>running tcsh, or bash under several versions of freebsd.
>The strange part is that trying to change stty settings in tcsh
>fail completely, while in bash they simply seem to have no effect.
>I see the problem both on the console (mono) (both cons25 and PCVT),
>and on telnet/rlogin sessions. I've seen the problem in 2.0.5-R, 2.1.0-R,
>and now 2.1-960627-SNAP. tcsh version is 6.06 (package from
>ftp.freebsd.org).
>csh seems to work fine..

I've dug a bit deeper, and it appears that ^J will produce a CR (normal),
while ^M produces two CR's (annoying). I've played with stty, and setty,
but while i've managed to change the shell behavior, I have not been able
to fix this annoying problem..

I've also noticed a few other places where ^M dosen't work, but ^J does..

reply via email..


-- 
               -- Welcome My Son, Welcome To The Machine --
Bob Vaughan  | techie@w6yx.stanford.edu | kc6sxc@w6yx.ampr.org
             | (packet radio) KC6SXC@N0ARY.#NOCAL.CA.USA.NOAM
	     | P.O. Box 9792, Stanford, Ca 94309-9792
-- I am Me, I am only Me, And no one else is Me, What could be simpler? --