Date: Fri, 03 Mar 2006 10:37:01 -0500 From: James Bailie <jimmy@jamesbailie.com> To: Kristian Vaaf <vaaf@broadpark.no> Cc: questions@freebsd.org, glenn@antimatter.net Subject: Re: script(1) > Why does it output in CR/LF? Message-ID: <4408629D.1010004@jamesbailie.com> In-Reply-To: <7.0.1.0.2.20060303115120.022b0d30@broadpark.no> References: <7.0.1.0.2.20060228112857.0035f998@broadpark.no> <7.0.1.0.2.20060228025256.039d9f68@antimatter.net> <440466CF.2000007@jamesbailie.com> <7.0.1.0.2.20060303115120.022b0d30@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Kristian Vaaf wrote: > The last question though, > don't you find it the least bit stupid? Sure is. One is probably not going to use script(1) very often with programs which take the terminal out of canonical mode, so it makes sense to normalize line terminators when writing to the log file. With those programs which do fiddle with the terminal settings, the CRs might have significance, though. It would not be difficult to add an option to screen(1) to tell it to normalize line terminators in the log file, or perhaps change it to normalize by default, and have the option shut it off. It's a very simple program (/usr/src/usr.bin/script/script.c). -- James Bailie <jimmy@jamesbailie.com> http://www.jamesbailie.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4408629D.1010004>