> >
> > 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")
>
Thank you!
dos -I 'video {none}'
gets me what I want. Most of the time I use dosemu to run command line tools
to run DSP compilers and assemblers. I like to use the scroll buffer of
xterm to see the results of commands. When I moved to >= 0.98, I couldn't
figure out how to shut off the single screen behaviour.
BTW, I did try the following after reading section 12.3. "Running DOSEMU within
a cron job" of README.txt
bash$ export TERM=none
bash$ dos
kernel CPU speed is 650052927 Hz
Running on CPU=586, FPU=1
ERROR: Unknown terminal: none
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.bash$
When this didn't work, it did not occur to me to try the video none setting.
It might be a good idea to add the 'none' setting to the list of possibilities
in section 2.1.7. "Video settings ( console only )" of README.txt. Also,
the "console only" phrase in the section heading is a little misleading.
Perhaps something like "(non X)" would be better. Would you like a patch
for README.txt and the comment of the video line of dosemu.conf?
galen