Date: Thu, 29 Jul 1999 16:03:12 +0100 (BST) From: Richard Tobin <richard@cogsci.ed.ac.uk> To: guido@ipa.net, freebsd-questions@FreeBSD.ORG Subject: Re: Stange redirection Message-ID: <199907291503.QAA05314@stevenson.cogsci.ed.ac.uk> In-Reply-To: Dave Montgomery's message of Thu, 29 Jul 1999 21:10:39 -0500
next in thread | raw e-mail | index | archive | help
> Is there anyway way to redirect all output from a shell (tcsh in > particular) through a filter and then to the screen? The usual problem with this sort of thing is that if you pipe output it gets buffered, which doesn't work very well for user interaction :-) A solution is to use a pseudo-terminal instead of a pipe, and you may find that the easiest way to do that is to hack the source of /usr/bin/script (if you remove the file logging, it's a null filter). -- Richard 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?199907291503.QAA05314>