Marcel Hendrix wrote: > > Anton Ertl <[EMAIL PROTECTED]> writes Re: [gforth] help with gForth 0.6 -- please > > [..] > > > Better: change the definition of os-class in envos.fs. This also > > fixes the dosekey.fs problem. > > ( I decided to react because I'm not sure it is clear what I've > done, or what the pitfall with os-class is ) > > As far as I understand it, cygwin.dll lets gForth think > it is running on unix. In that case, it would be wrong > to load doskey.fs and dosekey.fs (I don't load these files (which is > impossible as dosekey.fs is missing!), I only changed the [IF] in > history.fs because "~/" was handled wrong). As far as I can see, > the ( NT 4.0 console ) keyboard behaves like it does in Linux > (i.e. ESC seqs for keypad keys): > > ( press left arrow ) > hex key ok > [D > .S <1> 1B ok
Yes, looks like vt100/ANSI esc sequences. Are you sure you are not using ANSI.SYS for your console? I would be somewhat surprised if cygwin did such things itself. - anton --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
