Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 27 Nov 2004.
Re: Writing ANSI ESC code 27 to text file?

Re: Writing ANSI ESC code 27 to text file?

From AdamM <nos...@nospam.com> · alt.ascii-art · 27 Nov 2004 02:27 · View full thread · report
Thanks for the tips!

I solved the problem, so thought folks might be interested in how...


I found a program called PabloDraw:

http://sourceforge.net/projects/pablodraw/


It is a sweet program that does block editing, coloring, etc. If you save 
the output as an ANS file, it solved my problem.


Plus, it seems to be a much easier way to do what I wanted anyways.


cheers!


Adam

http://tigermud.com



"Rusty" <rus...@netscape.net> wrote in message 
news:tRQpd.467408$D%.58328@attbi_s51...
> AdamM wrote:
>> I want to store my MUD welcome page in a text file, but when I try to 
>> embed the ANSI color codes into the text file, NOTEPAD keeps saying that 
>> now it's a Unicode file and won't save it as ANSI without stripping the 
>> very character I need.
>>
>> I am using the keys (Alt-keypad-27) to insert the ESC character manually 
>> in notepad, but notepad ends up saving that character as "8592" which is 
>> the Unicode left arrow character.
>>
>> Theoretically, I am not in Unicode realm by saving this character in the 
>> file, but notepad seems to think so. Anyone know how to correctly write 
>> this required character to the text file, without code to do it?
>>
>> cheers!
>>
>> Adam
>>
>>
> Notepad is a very bad program to enter escape sequences into, so I suggest 
> using DOS edit instead (it's still in Windows XP), open up a command 
> prompt window and run edit, or create a new shortcut on the desktop using 
> edit.com as the location. (I also recomend putting edit in the send-to 
> menu as well)
>
> As for getting 027-escape in edit, press ctrl+p then press the escape key. 
> You can also get ASCII 0-31 by pressing similar ctrl+p and alt+keypad 
> sequences (or ctrl 2(0),A-Z(1-26),\(28),](29),6(30),-(31)) 

Original message headers
X-Google-Thread: f996b,6ee7e06738d7e023
X-Google-Attributes: gidf996b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 26 Nov 2004 20:27:06 -0600
From: "AdamM" <nos...@nospam.com>
Newsgroups: alt.ascii-art
References: <WY6...@comcast.com> <tRQpd.467408$D%.58328@attbi_s51>
Subject: Re: Writing ANSI ESC code 27 to text file?
Date: Fri, 26 Nov 2004 18:27:13 -0800
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <gvm...@comcast.com>
Lines: 58
NNTP-Posting-Host: 24.16.82.61
X-Trace: sv3-BFEXa16dmJRxUICWAfgTSVIOIpl5WFPJ/x3YeljFxjdna7g8t4LPltWVavyJ+w5JVpllOYa5xoIm3YV!eiavxeTHz+GS1oMVh0AW6XFuKQyY0r3aefkG7FaHKe/S4tBmMjAgOwqBuks=
X-Complaints-To: abu...@comcast.net
X-DMCA-Complaints-To: dmc...@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.20
Xref: g2news1.google.com alt.ascii-art:2107

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2004 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post