Hi Sean, On Fri, 7 Feb 2003, Sean Porterfield wrote: > > When using SEU, I use the newline key quite often. In Client Access, > the key positions the cursor to the sequence number field. In tn5250, > the cursor moves to position 1 of the next record (the field after > the sequence number.)
I think I see the problem. If I'm right it does this only if there's an input field in the first column of the screen (which is why you see it in SEU) Can you try this patch and tell me if it solves the problem for you? Index: display.c =================================================================== RCS file: /cvsroot/tn5250/tn5250/src/display.c,v retrieving revision 1.49 diff -u -r1.49 display.c --- display.c 4 Nov 2002 08:55:56 -0000 1.49 +++ display.c 7 Feb 2003 22:07:00 -0000 @@ -1870,11 +1870,14 @@ void tn5250_display_kf_newline (Tn5250Display *This) { int y, x; + Tn5250Field *f; y = tn5250_display_cursor_y(This); tn5250_display_set_cursor (This, y, 0); tn5250_dbuffer_down (This->display_buffers); - tn5250_display_set_cursor_next_field (This); + f = tn5250_display_current_field(This); + if (f == NULL || tn5250_field_is_bypass(f)) + tn5250_display_set_cursor_next_field (This); } _______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.