Date: Fri, 3 Apr 1998 13:21:11 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: MetcalJM@utrc.utc.com Cc: questions@FreeBSD.ORG, metcalf@snet.net Subject: Re: Q: Adapt code for terminal emulation to clean files Message-ID: <Pine.BSF.3.96.980403132029.10860N-100000@gdi.uoregon.edu> In-Reply-To: <C77AD5DA2AA7D111859D00805FA72468033582@express7.res.utc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Apr 1998 MetcalJM@utrc.utc.com wrote: > I was wondering if anybody could point me to some routines in the > FreeBSD source code. To describe the code I'm looking for, let me > describe the problem I'm trying to solve. > > My users and I log shell sessions with tools such as 'watch' and > 'script'. But as you know, they don't do any terminal emulation. > All characters appear there, backspaces, bell characters, etc. > I was wondering if I can adapt any of the routines used by the UNIX > terminal buffers to clean those files up line-by-line. Or if you know > of any perl code that has been written to do that, it would be appreciated > as well. ARgh, someone just posted a way to do this using tr. It's in the mail archives somewhere. see http://www.freebsd.org/search.html. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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.3.96.980403132029.10860N-100000>