|
On Mon, 22 Jan 2001, Sean Porterfield wrote: > When FER is set, only certain keys are valid. The ones I know of are > arrow keys, TAB, BACKTAB, BACKSPACE, ENTER, FIELD EXIT, FIELD +. (This > was tested on a 3487.) The odd thing about the "real" terminal is left > arrow which doesn't move the cursor, all other arrow keys do. I guess > it moves left back into the field. On most terminals, once you get to the end and you've typed the last digit, the cursor flashes a little differently, and you're in a mode where you need to press a field-exit (or similar key) before you can continue. Hitting LEFT/Backspace should put you back to the spot where you can change the last digit of the field. The cursor doesn't actually move, it just blinks differently. :) > > In tn5250, RESET, left arrow, TAB, BACKTAB, BACKSPACE and FIELD EXIT > clear the FER. There is something wrong with FIELD + (don't know if > it's the last patches from CVS that I got today or if it was like > that). From display.c I think it was intended that FIELD+ and FIELD- > reset the FER. Can you elaborate on what's wrong with FIELD+? If it happened in the last few weeks, its probably my fault. :( What does it do wrong? > > I added K_ENTER to my display.c and it seems to work well. I don't know > how to fix up arrow, right arrow, down arrow, FIELD+, FIELD- (if FIELD- > should really work - it doesn't on my "real" terminal). > Just above where you added the K_ENTER there is some code that says something like: case K_LEFT: case K_BACKSPACE: tn5250_display_indicator_clear (This, TN5250_DISPLAY_IND_FER); return; Try adding some code below that which looks like this: case K_UP: case K_DOWN: case K_RIGHT: tn5250_display_indicator_clear (This, TN5250_DISPLAY_IND_FER); break; (note the "break" instead of "return" will cause it to move up/down/right as well as clearing FER) Is that what you're looking for? (I'd get up and try it on a terminal, but I've just spent too much time with tn5250 today, already) +--- | 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 +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.