Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 02:09:24 -0500 (EST)
From:      Kelly Hendrix <kelly@compuage.com>
To:        cjclark@alum.mit.edu
Cc:        Dru <genisis@istar.ca>, Ken Bolingbroke <hacker@bolingbroke.com>, questions@FreeBSD.ORG
Subject:   Re: Command to Make "Printable" Text
Message-ID:  <Pine.BSF.4.21.0101200136330.590-100000@hnet04.hendrix.net>
In-Reply-To: <20010119135402.A8945@rfx-216-196-73-168.users.reflex>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101200136330.590-100000>