In article <2008May8.205119@[EMAIL PROTECTED]
>,
Anton Ertl <anton@[EMAIL PROTECTED]
> wrote:
>Albert van der Horst <albert@[EMAIL PROTECTED]
> writes:
>>I think if you are not prepared to use infocmp (formerly termcap)
>
>infocmp seems to be related to terminfo and curses, not termcap.
termcap is deprecated and replaced by terminfo. curses is deprecated
and replaced by ncurses. I should have phrased it infocmp
(formerly terminfo)
>
>>you shouldn't try to move the cursor in linux.
>
>So you think we should disable a number of features that work for most
>users for no gain at all? I don't think so.
I said unless. I proposed to disable features in those cases they
don't work anyway, just plain good software practice.
No gain?
gforth is playing with the big boys, having debian packages and all.
What do the debian policy manuals say about direct use of escape
sequences? Being accepted by the big boys is the gain to be had by
properly using terminals in unices. Where gforth is c-based anyway, I
don't see why "properly" using screen addressing, through ncurses
call, instead of direct escape sequences would be such a big deal. As
far as I know iforth used curses, and undoubtedly now uses ncurses.
Never heard an issue about AT-XY in iforth.
For e.g. ciforth having AT-XY is much more problematic, because it
wants to be independant of c-libraries.
I put "properly" between quotes, because as a Forther I'm prepared
to cut corners. However the corners cut here don't seem to chime
with gForth in general. GNU is really big into standards.
This touches on a very fundamental issue too, with respect to
the use of libraries. In ciforth you can say "WANT AT-XY" and
it may not be available and your code doesn't compile, and you
have to live with it. (Actually right now, AT-XY is not available
for any version of ciforth. :-) ).
gforth developers seems to find it very problematic, if not all
features are present on all versions of gforth.
But isn't this what REQUIRE is all about? You need it, but if it
isn't there, it isn't there.
>- anton
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- like all pyramid schemes -- ultimately falters.
albert@[EMAIL PROTECTED]
&=n http://home.hccnet.nl/a.w.m.van.der.horst


|