X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,f9c5f72f392e9d37 X-Google-Attributes: gidf996b,public From: Edward Farrow Subject: .ans files on unix Date: 1997/06/13 Message-ID: <9706122121.1xk2@darkside.demon.co.uk>#1/1 X-Deja-AN: 248049455 X-Mail2News-User: wildwing@darkside.demon.co.uk GateSoftware: Xenolink 1.995b8 X-Mail2News-Path: punt-2.mail.demon.net!darkside.demon.co.uk X-Broken-Date: 31-Mar-96 21:45:28 GMT Organization: Net '77 Gateway #3 Reply-To: wildwing@darkside.demon.co.uk Newsgroups: alt.ascii-art In a message of 10 Jun 97 Starly Bull wrote to All: SB> I'm trying to display some .ans files on a unix machine. When I cat the SB> file everything comes out fine but I cannot escape out of it. It will SB> not return a prompt. SB> Im using tcsh on a bsd machine. I've tried ^c , ^d and everything else SB> i can think of. Is there a character that I should put at the end of the SB> ..ans file to make it return the prompt? Your best bet is to end the text file with an escape code followed by [0m which /should/ turn off all ansi codes. I.e. ^[[0m The Escape character is Ascii code 27. so it would be [0m _______ ________ . .---. .---------Amiga-Aztec---------. /. ____/ \_____ .\ |nfusion--' | [#------------------------] | _// _)_____/. |// \ Developments | 0% 25% 50% 75% 100% | \. \_ // \_ __ _ `-----------------------------' `\___________/_// //./// .--+44 (0)336 738 132-------------. " "" """"""""""\______//_//"" " | www.infj.ulst.ac.uk/~ckx525/ed/ | wildwing@darkside.demon.co.uk `---------------------------------'