comp.lang.ada
 help / color / mirror / Atom feed
* Re: Clearscreen
@ 2001-12-25 21:33 Gautier Write-only-address
  2001-12-26 12:03 ` Clearscreen - ANSI don't work in NT/2000 Liddle Feesh
  2001-12-26 12:03 ` Clearscreen Liddle Feesh
  0 siblings, 2 replies; 11+ messages in thread
From: Gautier Write-only-address @ 2001-12-25 21:33 UTC (permalink / raw)
  To: comp.lang.ada

Liddle Feesh:

>New_Line(N) would eventually fill the screen with blank lines and
>therefore reduce efficiency?

Well... it depends on the nature of your project...
+/- portable, +/- console, +/- DOS, +/- interactive, ... ?
Maybe the ANSI solution is the tradeoff you are looking for.
Just by searching the Web with "procedure gotoxy is ansi ada"
I found a lot of ready-made packages. E.g. this one
  http://perso.club-internet.fr/ariffart/ada/ada05.html
HTH
____________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/index.htm#Ada

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-25 21:33 Clearscreen Gautier Write-only-address
@ 2001-12-26 12:03 ` Liddle Feesh
  2001-12-26 14:56   ` Michael Bode
  2001-12-26 12:03 ` Clearscreen Liddle Feesh
  1 sibling, 1 reply; 11+ messages in thread
From: Liddle Feesh @ 2001-12-26 12:03 UTC (permalink / raw)


"Gautier Write-only-address" wrote:
> Liddle Feesh:
>
> >New_Line(N) would eventually fill the screen with blank lines and
> >therefore reduce efficiency?
>
> Well... it depends on the nature of your project...
> +/- portable, +/- console, +/- DOS, +/- interactive, ... ?
> Maybe the ANSI solution is the tradeoff you are looking for.
> Just by searching the Web with "procedure gotoxy is ansi ada"
> I found a lot of ready-made packages. E.g. this one
>   http://perso.club-internet.fr/ariffart/ada/ada05.html

Thanks for that Gautier,

Unfortunately, I'm still having problems getting the ANSI solution to work.
I am running Windows 2000, and I know that the ANSI.SYS drivers must be
loaded to function properly.

I've added two lines to both config.nt and config.sys to load the drivers.

Whenver I execute:
put( Ascii.ESC & "[2J" ); --or any other derivative of..

All I get is [2J printed on the screen.

Any ideas?






^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen
  2001-12-25 21:33 Clearscreen Gautier Write-only-address
  2001-12-26 12:03 ` Clearscreen - ANSI don't work in NT/2000 Liddle Feesh
@ 2001-12-26 12:03 ` Liddle Feesh
  1 sibling, 0 replies; 11+ messages in thread
From: Liddle Feesh @ 2001-12-26 12:03 UTC (permalink / raw)


"Gautier Write-only-address" wrote:

> HTH

Yes, and thankyou for replying on Christmas Day.

Best Regards,


--
Liddle Feesh
 '  O 0 o <"//><  ' o'^
(Remove UNDERPANTS to reply)







^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 12:03 ` Clearscreen - ANSI don't work in NT/2000 Liddle Feesh
@ 2001-12-26 14:56   ` Michael Bode
  2001-12-26 15:15     ` Michal Nowak
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Bode @ 2001-12-26 14:56 UTC (permalink / raw)


"Liddle Feesh" <no_see_reply_address@spam.com> writes:

> Unfortunately, I'm still having problems getting the ANSI solution to work.
> I am running Windows 2000, and I know that the ANSI.SYS drivers must be
> loaded to function properly.

Forget ANSI with NT. Microsoft is not compatible to any standard in the world.

> Any ideas?

You need to use the Windows NT console API. I've had the same problem
and found a package from Jerry van Dijk(*) which implements screen
positioning functions. I also modified the ANSI terminal emulator
packages by Michael Feldman(**) to work with the Console API package. So
you can write programms that are portable from NT to OSses which have
ANSI by simply recompiling them with a different package.

I would mail you the whole stuff, if you get yourself a real email address.

(*) I don't remember the URL where I found that
(**) Part of the gnat sample programms



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 14:56   ` Michael Bode
@ 2001-12-26 15:15     ` Michal Nowak
  2001-12-26 15:19       ` Jerry van Dijk
  2001-12-26 22:14       ` Liddle Feesh
  0 siblings, 2 replies; 11+ messages in thread
From: Michal Nowak @ 2001-12-26 15:15 UTC (permalink / raw)
  To: comp.lang.ada usegroup->mailing list gateway

On 01-12-26 at 15:56 Michael Bode wrote:

>"Liddle Feesh" <no_see_reply_address@spam.com> writes:
>
>> Unfortunately, I'm still having problems getting the ANSI solution to
>work.
>> I am running Windows 2000, and I know that the ANSI.SYS drivers must be
>> loaded to function properly.
>
>Forget ANSI with NT. Microsoft is not compatible to any standard in the
>world.
>
>> Any ideas?
>
>You need to use the Windows NT console API. I've had the same problem
>and found a package from Jerry van Dijk(*) which implements screen
>positioning functions. I also modified the ANSI terminal emulator
>packages by Michael Feldman(**) to work with the Console API package. So
>you can write programms that are portable from NT to OSses which have
>ANSI by simply recompiling them with a different package.
>
>I would mail you the whole stuff, if you get yourself a real email address.
>
>(*) I don't remember the URL where I found that

http://home.trouwweb.nl/Jerry/packages.html#CONSOLE

Mike
-----------------------------------------
                             ____|
                             \%/ |~~\
  O                                  |
 o>>        Mike Nowak               |
 T                                   |
/ >       vinnie@inetia.pl           |
http://www.geocities.com/vinnie14pl _|__




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 15:15     ` Michal Nowak
@ 2001-12-26 15:19       ` Jerry van Dijk
  2001-12-27  0:04         ` Liddle Feesh
  2001-12-28 17:35         ` Ted Dennison
  2001-12-26 22:14       ` Liddle Feesh
  1 sibling, 2 replies; 11+ messages in thread
From: Jerry van Dijk @ 2001-12-26 15:19 UTC (permalink / raw)


Michal Nowak <vinnie@inetia.pl> writes:

> http://home.trouwweb.nl/Jerry/packages.html#CONSOLE

Which might be a good moment to remark that as of january 1 my webpage will
move to:

        http://users.ncrvnet.nl/gmvandijk

But right now both addresses should work.
 

-- 
--  Jerry van Dijk   | email: jvandyk@attglobal.net
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 15:15     ` Michal Nowak
  2001-12-26 15:19       ` Jerry van Dijk
@ 2001-12-26 22:14       ` Liddle Feesh
  1 sibling, 0 replies; 11+ messages in thread
From: Liddle Feesh @ 2001-12-26 22:14 UTC (permalink / raw)


"Michal Nowak" wrote:

> http://home.trouwweb.nl/Jerry/packages.html#CONSOLE

Brilliant, thankyou both Micha(e)ls.

Email address is as in Reply-To, but with the word "UNDERPANTS" removed as a
SPAM filter.


--
Liddle Feesh
 '  O 0 o <"//><  ' o'^
(Remove UNDERPANTS to reply)







^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 15:19       ` Jerry van Dijk
@ 2001-12-27  0:04         ` Liddle Feesh
  2001-12-28 17:35         ` Ted Dennison
  1 sibling, 0 replies; 11+ messages in thread
From: Liddle Feesh @ 2001-12-27  0:04 UTC (permalink / raw)


"Jerry van Dijk" wrote:

> Which might be a good moment to remark that as of january 1 my webpage
will
> move to:
>
>         http://users.ncrvnet.nl/gmvandijk
>
> But right now both addresses should work.

Excellent. I've used your package as a temporary workaround for the Win32
Console problem in Windows NT. I've left full commentary as credit, and will
add your updated site URL to the documentation.


--
Liddle Feesh
 '  O 0 o <"//><  ' o'^
(Remove UNDERPANTS to reply)







^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-26 15:19       ` Jerry van Dijk
  2001-12-27  0:04         ` Liddle Feesh
@ 2001-12-28 17:35         ` Ted Dennison
  2001-12-28 21:21           ` Jerry van Dijk
  2001-12-28 21:58           ` Liddle Feesh
  1 sibling, 2 replies; 11+ messages in thread
From: Ted Dennison @ 2001-12-28 17:35 UTC (permalink / raw)


In article <wk1yhiau1j.fsf@attglobal.net>, Jerry van Dijk says...
>        http://users.ncrvnet.nl/gmvandijk
>
>But right now both addresses should work.

The above address just gives me a 404 error, and a bunch of text in a language I
don't understand.

On the plus side, its just about the prettiest 404 error I've ever seen. :-)

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html

No trees were killed in the sending of this message. 
However a large number of electrons were terribly inconvenienced.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-28 17:35         ` Ted Dennison
@ 2001-12-28 21:21           ` Jerry van Dijk
  2001-12-28 21:58           ` Liddle Feesh
  1 sibling, 0 replies; 11+ messages in thread
From: Jerry van Dijk @ 2001-12-28 21:21 UTC (permalink / raw)



Ted Dennison<dennison@telepath.com> writes:

> In article <wk1yhiau1j.fsf@attglobal.net>, Jerry van Dijk says...
> >        http://users.ncrvnet.nl/gmvandijk
> >
> >But right now both addresses should work.
> 

Oops, that should be:

        http://users.ncrvnet.nl/gmvdijk

as in my signature... :-(


-- 
--  Jerry van Dijk   | email: jvandyk@attglobal.net
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Clearscreen - ANSI don't work in NT/2000
  2001-12-28 17:35         ` Ted Dennison
  2001-12-28 21:21           ` Jerry van Dijk
@ 2001-12-28 21:58           ` Liddle Feesh
  1 sibling, 0 replies; 11+ messages in thread
From: Liddle Feesh @ 2001-12-28 21:58 UTC (permalink / raw)


"Ted Dennison" wrote:
> In article <wk1yhiau1j.fsf@attglobal.net>, Jerry van Dijk says...
> >        http://users.ncrvnet.nl/gmvandijk
> >
> >But right now both addresses should work.
>
> The above address just gives me a 404 error, and a bunch of text in a
language I
> don't understand.
>
> On the plus side, its just about the prettiest 404 error I've ever seen.
:-)

Very pretty 404 ;)


--
Liddle Feesh
 '  O 0 o <"//><  ' o'^
(Remove UNDERPANTS to reply)







^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-12-28 21:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-25 21:33 Clearscreen Gautier Write-only-address
2001-12-26 12:03 ` Clearscreen - ANSI don't work in NT/2000 Liddle Feesh
2001-12-26 14:56   ` Michael Bode
2001-12-26 15:15     ` Michal Nowak
2001-12-26 15:19       ` Jerry van Dijk
2001-12-27  0:04         ` Liddle Feesh
2001-12-28 17:35         ` Ted Dennison
2001-12-28 21:21           ` Jerry van Dijk
2001-12-28 21:58           ` Liddle Feesh
2001-12-26 22:14       ` Liddle Feesh
2001-12-26 12:03 ` Clearscreen Liddle Feesh

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