On 14 Sep 99, at 9:06, Robert March wrote:

> Stephen Hodgman wrote:
> 
> > > Hi, do you assume it to be a pleasure to press
> > > Ctrl-^ c Ctrl-^ k 9 when I need Ctrl-PgUp?
> > > I would like system to convert my keypresses...
> >
> > The normal way to do this is to use a terminal emulator that allows
> > you to program the keyboard.  We use Powerterm (www.powerterm.com)
> > here for this and can emulate most key presses.  Other emulators
> > would be able to do this too.
> 
> However, that terminal emulator will need to be able to program and
> re-program those keys on the fly from within something like a menu
> script or an application start script.  Otherwise, the user would not
> be able to properly execute various applications that define keys
> differently.
> 
> For example, what happens when the user at the emulated terminal
> leaves dosemu to run a Linux native application or returns to dosemu? 
> The key conversions would then need to be read again.  The terminal
> emulator would need to be able to do this.  IMHO this situation would
> be much better handled by dosemu itself. Dosemu  should recognize when
> it is called from a remote terminal and automatically turn on/off the
> key conversions or read the terminal scancodes (if a scancode device)
> directly.

True.  That is one way it could be done.  I have found that it is 
simpler to use multiple logins.  Do the dosemu emulation in one 
window and have another login window for native Linux stuff.  We 
do this now and it is quite workable.  It keeps Dosemu simpler and 
means that you can have multiple windows open, each with thier 
own keymappings if required.  

---

Stephen Hodgman               [EMAIL PROTECTED]
Namadgi Systems                Ph. +61 2 6285 3460
Canberra                       Fax +61 2 6285 3459
Australia

Reply via email to