From owner-freebsd-questions Fri Jan 19 23:10: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from larry.compuage.com (larry.compuage.com [208.233.246.4]) by hub.freebsd.org (Postfix) with ESMTP id D3FB037B401 for ; Fri, 19 Jan 2001 23:09:43 -0800 (PST) Received: from hnet04.hendrix.net (unverified [208.233.247.37]) by larry.compuage.com (Vircom SMTPRS 4.0.179) with ESMTP id ; Sat, 20 Jan 2001 02:59:37 -0500 Date: Sat, 20 Jan 2001 02:09:24 -0500 (EST) From: Kelly Hendrix To: cjclark@alum.mit.edu Cc: Dru , Ken Bolingbroke , questions@FreeBSD.ORG Subject: Re: Command to Make "Printable" Text In-Reply-To: <20010119135402.A8945@rfx-216-196-73-168.users.reflex> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings :) On Fri, 19 Jan 2001, Crist J. Clark had this to say: CJC>On Fri, Jan 19, 2001 at 03:27:43PM -0500, Dru wrote: CJC>> CJC>> What shell are you using Crist? CJC> CJC>In the example, tcsh. TERM is xterm-color. Using csh and TERM=xterm. Essentially a subset CJC>> I just created a script called test from the tcsh shell, issued: CJC>> CJC>> col -b < test > clean CJC>> cat clean Done this and cat test | col -b > clean CJC>> CJC>> and she looked good. I didn't have any control characters except for the CJC>> strings in my customized prompt. CJC> CJC>I just tried again. Same problems. My output wasn't clean, but all the control characters were gone. For some reason col -b was leaving behind the K in ^[[K. At this point it was at least reasonable to edit. Sorry I couldn't be of more help Crist. Kelly -- ______________________________________________________________________ | There are two ways to live your life. One is as though nothing is a | | miracle. The other is as though everything is a miracle. | | | | Albert Einstein (1879-1955) | |______________________________________________________________________| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message