Skip to contentSkip to conversation

using screen with dosemu, redux?

DISCUSSION Peter A. Peterson II 2 participants 2 messages Apr 24, 2003 – Apr 25, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Peter A. Peterson II, technician and musician.
---=[ http://tastytronic.net/~pedro/ ]=---
#1 lore raw

Hi there,

Quoted 2 lines · Peter A. Peterson II

if anyone wants to throw in a primer on term types and how they work, that would be cool too.

That would be the X documentation. How long have you got? :)

Start with

man X

and take it from there.

73,
Ged.