× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: tn5250 0.15.7 (CVS version) problems: home key, FER
  • From: "Jason M. Felice" <jasonf@xxxxxxxxxxxxxx>
  • Date: Fri, 18 Feb 2000 20:48:51 -0500

Weird.  Something's messed up.  In your Xdefaults, add a line to the xterm
vt100 defaults which says:
        

On Fri, Feb 18, 2000 at 02:45:00PM -0500, Sean Porterfield wrote:
> "Jason M. Felice" wrote:
> 
> > On Thu, Feb 17, 2000 at 05:02:14PM -0500, Sean Porterfield wrote:
> >
> > > The home key puts [H in the field where the cursor is instead of moving
> > > the cursor to the home position.  Any suggestions?
> >
> > K_HOME is correctly mapped to the termcap 'kh' entry.  When you run
> > tn5250, what terminal type, keymap, etc. are you using, have you recently
> > recompiled 5250.terminfo or updated /etc/termcap with the contents of
> > 5250.termcap?
> >
> > If you produce a tracefile, does it say 'Found string for cap 'kh': '????'
> > and if so, does it find the same string as specified in your 
>termcap/terminfo
> > entry?
> 
> I'm using the included xt5250 script which uses xterm-5250 (that's what +tn
> xterm-5250 does, right?)   My 5250 and xterm-5250 files in 
>/usr/share/terminfo/?
> were identical and had a date of Jan 13.  I deleted both and ran tic
> 5250.terminfo from the latest version of tn5250.  Same results.
> 
> I got a trace file (I'm skipping lots of it since I don't think it applies.)
> 
> Found string for cap 'kh': 'ESC[1~'.

This isn't right, it isn't what's in termcap or terminfo entries!  This should
be 'ESC[H' .   I don't think they're getting set properly.

It might be related to the '+tn' you are referring to, which prolly should be
a '-tn'  ;-)


> 
> curses_getch: recevied 0x1B.
> curses_getch: recevied 0x5B.
> curses_getch: recevied 0x48.
> @key 27
> HandleKey: Weird key ignored: 27
> @key 91
> HandleKey: key = [
> HandleKey: fieldtype = 0; char = '['.
> @key 72
> HandleKey: key = H
> HandleKey: fieldtype = 0; char = 'H'.
> 
> 
> 
> I don't see anything in the Xdefaults file that relates.  Where else should
> I check?
> 

-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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.