Date: Sat, 05 Jun 1999 16:41:18 -0700 From: bmah@CA.Sandia.GOV (Bruce A. Mah) To: Vlad Skvortsov <vlad@high.net.ru> Cc: dwhite@resnet.uoregon.edu (Doug White), freebsd-questions@FreeBSD.ORG Subject: Re: script-like utility wanted Message-ID: <199906052341.QAA29385@stennis.ca.sandia.gov> In-Reply-To: Your message of "Sun, 06 Jun 1999 00:03:19 %2B0400." <199906052003.AAA03557@hq.spc.high>
next in thread | previous in thread | raw e-mail | index | archive | help
If memory serves me right, Vlad Skvortsov wrote: > >> Script is very convinient tool, but there's a problem if I use > >> backspace characters and the like. If I start "script SOMEWHERE" and > >> insert file SOMEWHERE to, for example, vi, the picture is not so > >> pretty: > > > >This is normal. Script also records any control characters. If you have > >long commands for `script'ing, use a shell script to avoid typos. > Scripting itself is not a problem :-) I use script mainly for > inserting "logs" of my shell sessions to mails. So control > characters in mail messages ARE the problem. You might try this: run GNU screen (it's in ports), and use its "log" command to write screen output to a file. I'm pretty sure it'll filter out control characters and Do The Right Thing (TM) for what you want. Bruce. 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?199906052341.QAA29385>