• Subject: Re: 0.15.x -> 0.16.x
  • From: "Jason M. Felice" <jasonf@xxxxxxxxxxxxxxxx>
  • Date: Wed, 19 Jan 2000 08:42:34 -0500

On Wed, Jan 19, 2000 at 08:56:42PM +1300, Carey Evans wrote:
> "Jason M. Felice" <jasonf@Baldwingroup.COM> writes:
> 
> [...]
> 
> > Would this pseudo-code be the "correct" implementation?
> 
> That's not really how I understand it to work.  I'd make it more like:
> 
>   get cursor position
>   get home position
>   if cursor is at home position:
>       send keypress to host
>   else:
>       move cursor to home position
> 
> which seems to be more like just the part in the spec.
> 
> "Return to start of field" is done by Back-Tab.

Okay, that's what I've done.  I was just confused because it seems to
behave differently in a few places, but I think I figured out how the
400 can manipulate IC to produce those results.

Changes are in CVS.  A partial experimental rewrite of keyboard handling with
curses is in CVS as well, although you will have to enable it manually for
now if you'd like to test it.  Put this at the top of cursesterm.c:

#define USE_OWN_KEY_PARSING

It handles most keys, and all the vt100 function key escape sequencs, but 
no other ESC sequences (e.g. ESC A for ATTN).  The rest will be shortly
forthcoming.  It responds better and doesn't need to wait for the next key
before processing ESC 1, etc.

Some other minor bugs were fixed.  I forget which :)

> -- 
>        Carey Evans  http://home.clear.net.nz/pages/c.evans/
> 
>        This message was composed from the finest electrons
>        used by many of the world's greatest writers.

-Jay 'Eraserhead' Felice
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].