From: geert@fozzie.sun3.iaf.nl (Geert Bosch)
Subject: Re: Clear Screen
Date: 1997/02/26
Date: 1997-02-26T00:00:00+00:00 [thread overview]
Message-ID: <5f15dg$an@fozzie.sun3.iaf.nl> (raw)
In-Reply-To: dewar.856916794@merv
Robert Dewar (dewar@merv.cs.nyu.edu) wrote:
"This is the second person to write Character'Val(27) rather than the
much clearer Ascii.ESC! "
Maybe you could explain why the perfectly reasonable and standard use
of Ascii.ESC, Ascii.TAB etc has been declared obsolete?
Using Latin_1 requires withing Ada.Characters.Latin_1 and using or
renaming it or its parent in every module that wants to use one of the
standard and well-known Ascii values. This makes it harder/more work
to use the constants, so novice users (the majority) will be unlikely to
use Latin_1 when they just need that @$#%^& value for a horizontal tab,
linefeed or escape.
In many cases it is better to use the Standard.Ascii package than
the Ada.Characters.Latin_1 package anyway. When I want to use ANSI
escape sequences like the clear screen in the example, I just
want to use the named ASCII characters, since I cannot assume the
terminal uses the Latin-1 character set.
Also when I write Ascii.LF everybody knows what I mean, but when I
write Ada.Characters.Latin_1.LF it might not be clear I'm just using
the Ascii linefeed character. IMHO using Latin_1 on a system that
doesn't support Latin_1 makes no sense.
Regards,
Geert
--
-- E-Mail: geert@sun3.iaf.nl
-- `` If trainstations are places where trains stop,
-- then what are workstations? ''
next prev parent reply other threads:[~1997-02-26 0:00 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <330D0C26.6331@videotron.ca>
1997-02-21 0:00 ` Clear Screen Larry Kilgallen
1997-02-22 0:00 ` Albert K. Lee
1997-02-22 0:00 ` Tom Moran
1997-02-23 0:00 ` Tom Moran
1997-02-24 0:00 ` Jean-Etienne Doucet
1997-02-25 0:00 ` Robert Dewar
1997-02-26 0:00 ` Geert Bosch [this message]
1997-02-27 0:00 ` Robert Dewar
1997-02-28 0:00 ` Norman H. Cohen
1997-03-03 0:00 ` Keith Thompson
1997-03-03 0:00 ` Robert Dewar
1997-03-05 0:00 ` Keith Thompson
1997-02-27 0:00 ` Robert I. Eachus
1997-03-01 0:00 ` Robert Dewar
1997-02-28 0:00 ` Keith Thompson
1997-03-03 0:00 ` Robert I. Eachus
1997-03-05 0:00 ` Robert Dewar
1997-02-26 0:00 ` Keith Thompson
1997-02-24 0:00 ` Robert Dewar
1997-02-24 0:00 ` Thomas Koenig
1997-02-28 0:00 ` bill
1997-03-04 0:00 Marin David Condic, 561.796.8997, M/S 731-93
1997-03-06 0:00 ` Robert Dewar
1997-03-06 0:00 ` Robert Dewar
1997-03-06 0:00 ` Larry Kilgallen
1997-03-06 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1997-03-23 0:00 Brian Hyatt
1997-03-25 0:00 ` Albert K. Lee
1997-03-25 0:00 ` Michael F Brenner
2000-05-27 0:00 Karlene
2000-05-27 0:00 ` Robert Dewar
2000-05-27 0:00 ` David C. Hoos, Sr.
2000-05-28 0:00 ` MARIE Eric
2000-05-28 0:00 ` Sune Falck
2000-05-28 0:00 ` Tarjei Tj�stheim Jensen
2000-05-29 0:00 ` MARIE Eric
2000-05-29 0:00 ` Pascal Obry
2001-11-06 20:19 Clear screen David Tumpa
2001-11-06 21:25 ` Adrian Knoth
2001-11-07 9:07 ` John McCabe
2001-11-07 16:37 ` Jeffrey Carter
2001-11-07 16:52 ` Darren New
2001-11-07 17:07 ` Preben Randhol
2001-11-07 18:59 ` tmoran
2001-11-07 19:42 ` Larry Kilgallen
2001-11-07 21:31 ` Darren New
2001-11-08 9:30 ` Preben Randhol
2001-11-08 16:40 ` Darren New
2001-11-08 19:36 ` Pascal Obry
2001-11-07 22:04 ` Jeffrey Carter
2001-11-13 15:34 ` John English
2001-11-25 22:05 ` Nick Roberts
2001-11-26 10:58 ` John English
2001-12-05 23:05 ` Daniel Krupke
2001-12-06 1:59 ` Larry Kilgallen
2001-12-06 8:13 ` John English
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox