comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
To: "comp.lang.ada mail to news gateway" <comp.lang.ada@ada.eu.org>
Cc: sbourgo@noos.fr
Subject: Re: Ansi.sys
Date: Sun, 9 Mar 2003 21:47:44 -0600
Date: 2003-03-09T21:47:44-06:00	[thread overview]
Message-ID: <mailman.2.1047268069.32742.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: g5Raa.525$4q6.132880@news20.bellglobal.com

Here is a "trick" that will work to process ANSI terminal sequences
to provide a correct display on Windows NT, 2000 and XP.

1.  Install the cygwin dll and tools found at
http://www.cygwin.com/

2.  Run your program in the cygwin shell, or another Unix shell
compatible with Windows NT, 2000 and XP (I prefer tcsh).

3. Pipe your programs output through the cygwin "tee" tool -- e.g.:

diners | tee

The "tee" tool sends its standard input to the standard output,
and if a filename argument is supplied to tee, also to the
specified file.

The "tee" standard output processes ANSI escape sequences and
provides the appropriate display.

I suppose someone who had the time could merge the source code
for the shell and the "tee" tool to produce an ANSI compliant
shell terminal.


----- Original Message -----
From: "Roger Gari�py" <rgariepy@rocler.qc.ca>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: March 09, 2003 6:36 PM
Subject: Re: Ansi.sys


> You are out of luck. I never found an ansi.sys that work with
> Windows 2000.
>
> You will have to write to Bill Gates and/or ask for a refund.
>
> Roger Gari�py                  :-)   <-   :-(
> rgariepy@rocler.qc.ca
>
> ------------------------------
>
> "S�bastien Bourgogne" <sbourgo@noos.fr> a �crit dans le message de
> news: 3e6b4190$0$2873$79c14f64@nan-newsreader-02.noos.net...
> > Hi,
> >
> > I work with Ada95 ( but the compilation is made with Ada83), and
> Windows
> > 2000.
> > I use ansi caracter but when i see my exe file, i don't see the
> good
> > result!!
> > I can see the ansi caracters!!!
> >
> > I have already change my config.nt. I've added this instructions :
> > device=%systemroot%\system32\ansi.sys
> > but there are no result!! :-(
> >
> > How can i do proceed ?
> >
> > thanks a lot!!
> >
> >
>
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>
>





  reply	other threads:[~2003-03-10  3:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-09 13:28 Ansi.sys S�bastien Bourgogne
2003-03-10  0:36 ` Ansi.sys Roger Gariépy
2003-03-10  3:47   ` David C. Hoos, Sr. [this message]
2003-03-10 11:00     ` Ansi.sys S�bastien Bourgogne
2003-03-10 11:20       ` Ansi.sys Colin Paul Gloster
2003-03-10  6:35 ` Ansi.sys Michael Bode
  -- strict thread matches above, loose matches on Subject: below --
2003-03-10 12:27 Ansi.sys David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox