Date: Fri, 9 May 1997 15:15:10 -0400 From: Bryan Murphy Subject: Re: terminal emulation To: Marcin Citowicki cc: djgpp AT delorie DOT com In-Reply-To: <199705091724.TAA22053@ernie.icslab.agh.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk > I have a question : I need to change control characters of terminal ( using > DJGPP ) in order to match Linux ( or Unix ) ones . > For example : > > I connect to remote computer , which runs Linux system , using a remote login > programme written in DJGPP . Now , when I invoke , lets say , "ls" command , > I receive things like these : > > [32mcdrom/[0 [32metc/[0 [32musr/[0 > > instead of : > > cdrom/ etc/ usr/ > > How can I change stdout settings to make my computer understand those > characters ? ( [32m , [0 , etc. ) > > I have never done anything similiar , so , please , help me , if you can . Sounds like you need to load ANSI.SYS. If you are using DJGPP, DJGPP outputs everything through STDOUT, which is basically the DOS BIOS I believe. If you load your ANSI.SYS driver (or a similar program) you shouldn't have any problems. CONFIG.SYS DEVICE=C:\DOS\ANSI.SYS or DEVICE=C:\WINDOWS\COMMAND\ANSI.SYS