From: `Grave' Dave Gymer (dpg@cs.nott.ac.uk)
Date: 06/01/92


From: dpg@cs.nott.ac.uk (`Grave' Dave Gymer)
Subject: Re: MGR questions
Date: 1 Jun 1992 11:31:11 GMT

In article <1992Jun1.004018.480@colorado.edu> drew@kinglear.cs.colorado.edu (Drew Eckhardt) writes:
>In article <1992May30.172225.15062@daffy.cs.wisc.edu> jamest@cat24.cs.wisc.edu (James Thomas) writes:
>>I've been playing around with MGR (the Sunday, May 24 version), and have
>>some questions:
>>
>>1) If Bash (v 1.12) is the current shell, MGR fails to start it in windows
>> it creates. If ash (the crummy default shell on the root disk) is the
>> current shell, it is started up and I can run commands normally. Is
>> this a known bug? (I'm running Linux 0.96a if this helps).
>
>There's some wierdness (TM) in MGR, where the slave end of the
>ptys aren't being opened. If you manually open the slave end,
>you can run virtually anything -
>
>ie
>
>doshell /dev/ttyp0 /usr/local/bin/bash &

I'm 99% sure that this is because bash tries to open /dev/tty, and ash
doesn't. If you start up a MGR session with ash (or bash, for that
matter), and then suspend it and do a ps -l, you'll see that the
controlling terminal has not been reset to the pty. Using doshell
circumvents this by manually setting the controlling tty. I still
haven't figured out WHY MGR fails to set the tty, though (even tried
closeing ALL the file desciptors and then opening the pty, to no
avail).

But despite this I do like MGR. Maybe if Trident support for X
materializes I'll switch, but I got used to MGR on my Atari ST...

-- 
_/      _____/  _/  _/  _/  _/  _/  _/  Free unix clone    | dpg@Cs.Nott.AC.UK
_/        _/    __/ _/  _/  _/   _/_/   for the 386/486    | `Grave' Dave Gymer
_/        _/    _/_/_/  _/  _/    _/    finger torvalds@   |
_/        _/    _/ __/  _/  _/   _/_/   klaava.helsinki.fi | Die! Chaos claims