From: "Peter A. Peterson II" Subject: using screen with dosemu, redux? Date: Thu, 24 Apr 2003 16:40:02 -0500 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20030424214002.GG5777@tastytronic.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org Hi all, I am setting up a Debian GNU/Linux box for work in order to run the controller app for our Fujitsu F9600 PBX. It's a funky old app that runs over a COM port to the PBX. I've patched up to 1.1.4.14, and must say that DOSEMU is an awesome app. Anyway, I am having the same issue as this guy: http://article.gmane.org/gmane.linux.msdos.general/1305 ...where arrow, alt, Fkeys, etc. do not work properly inside screen, but do work properly on the console and in PuTTY. It's important for DOSEMU to run inside screen, since this application must be available over the network to multiple users at different times, and run in the background most other times. I finally discovered (remembered) that screen uses the term type "screen", wheras PuTTY all by itself was defaulting to "xterm". So, I did this: [fujitsu(~)] eval `tset -s xterm` Erase is delete. Kill is control-U (^U). Interrupt is control-C (^C). [fujitsu(~)] ... and forced it to use (or at least call itself) "xterm". And lo and behold, the keys worked properly! The problem is that this seems like a kludge to me... is this really the best way to make it work? And why does it not work properly in screen? And if anyone wants to throw in a primer on term types and how they work, that would be cool too. Thanks, pedro -- Peter A. Peterson II, technician and musician. ---=[ http://tastytronic.net/~pedro/ ]=---