Date: Sat, 3 Nov 2001 16:09:27 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: David Banning <david@skytrackercanada.com> Cc: "Brian T. Schellenberger" <bts@babbleon.org>, freebsd-questions@FreeBSD.ORG Subject: Re: ^M on end of lines Message-ID: <Pine.BSF.4.21.0111031604130.93546-100000@ren.sasknow.com> In-Reply-To: <20011103155631.A7684@sympatico.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
David Banning wrote to Brian T. Schellenberger: > > The ^Ms are invisible in, say, an xterm, so if you care comparting vi'ing the > > file to just cat'ing it, it could be a matter of whether you *see* them > > rather than whether they are *there*. > > I am using xterm, and when I go; > > 'script tempfile ls' > > I get ^M's at the end of every line in tempfile. Don't you? Sure you will... Because script(1) records literally all input and output. If you make a typing mistake and have to backspace, you'll also get ^H's all over the place. When you hit your "enter" or "return" key, the term gets 0x0d (^M), so script(1) saves that to your typescript file. - Ryan -- Ryan Thompson <ryan@sasknow.com> Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111031604130.93546-100000>