On Wed, 14 Jun 2000, Galen Seitz wrote:

> 
> I'm trying to figure out why dosemu 1.0.0 won't run with the TERM environment
> variable set to "dumb".

dosemu-0.98 will behave equal

>  Here's a gdb trace of the problem.  Is there
> someone with Slang knowledge that can help?
[...]
> 1332      if (tcgetattr(kbd_fd, &save_termios) < 0) {

Depends on your terminfo entry for 'dumb', normal Slang will refuse to
run with it. Workaround is to set TERMCAP to a minimum, which is done by
DOSEMU, when the above tcgetattr() fails _and_ TERM=dumb.

In your case it does _not_ fail, because you run on a real terminal,
hence 'dumb' is not handled.

Try the following, which is intended for batch processes, it should work:

  (export TERM=dumb; dos </dev/null 2>&1 -I 'keystroke "dir\rexitemu\r")

or better

  (export TERM=dumb; \
   dos </dev/null 2>&1 -I 'video {none} keystroke "dir\rexitemu\r")

Hans
<[EMAIL PROTECTED]>


Reply via email to