× 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 Questions . . .
  • From: "Jason M. Felice" <jfelice@xxxxxxxxxxxx>
  • Date: Mon, 29 Jan 2001 20:32:19 -0500
  • Organization: Cronosys, LLC.

Scott Klement wrote:
> 
> Hmmmm... I know the GTK version was going to do its own keymapping...  but
> I believe Jason has simply been too busy to work on it.

Basically, yes.  The good news, tho, is that I have two other
curses-based programs that I'm working
on that need a generic way to do key bindings - one of them is a
PostgreSQL browser/Query IDE that
I use constantly for my day job (I wrote it in about a day), and the
other is an RPG code editor for my RPG compiler.  I've come up with a
sort of light-weight scripting language to do it over the last three or
four days.

Although it's not complete, I will evaluate plugging it in to the tn5250
code when it is.  It might be a little too much baggage for the tn5250
emulator (read: this would probably replace the
configuration-file-reading code and make python bindings - uh - ugly),
or it may not...

On the upside, it will add the ability to do sophisticated, interactive
macros.

-Jay 'Eraserhead' Felice

> 
> Other than that, I don't know of any work...    For a situation where an
> external terminal is connecting, I don't see how this COULD work.  Not all
> the keypresses generate unique codes that it could look for...
> 
> For example, how would you make the left ctrl key be error-reset?  By
> itself, it doesn't send any escape codes, unless you modify your keyboard
> map (ala loadkeys or kbdcontrol under FreeBSD)
> 
> With an external terminal, that's not really an option.
> 
> Sure, if you wanted to make this a Linux-specific deal, you could
> interface with the keyboard directly.  But that wouldn't help the external
> terminal issue...
> 
> On Sun, 28 Jan 2001, Jasper O'Malley wrote:
> 
> > On Sun, 28 Jan 2001, Scott Klement wrote:
> >
> > >
> > > First thing to understand is...   tn5250 doesn't do any keyboard mapping.
> > > At all.  None.  It's done by Linux and the terminal.
> >
> > This reminds me, someone once talked about getting tn5250 to do internal
> > keymapping, a la the BSD tn3270 app. This setup seems to make more sense
> > to me, in that it would allow one to correctly report one's actual
> > terminal type (or emulated terminal type) to the operating system, and
> > have the app map 5250 keys to your terminal's keys. Does anyone know if
> > any work has been done on this, yet? Just out of curiosity. I'd be lying
> > if I said I had the time to do it m'self, but I was just wondering ;)
> >
> > Cheers,
> > Mick
> >
> > +---
> > | 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 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 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.