Mail Archives: djgpp/1996/11/14/10:32:17
On 13 Nov 1996, Dave Love wrote:
> When I try to run things like `less' or `info' under Linux dosemu
> (0.64.0.4 or 0.63.1.66), they lock up the screen after displaying the
> first page and I have to kill the dosemu session. Similarly with,
> say, `rm -i' when it prompts, but not with `unzip'.
I don't know anything about DOSEmu, so I can only hope the hints below
will help you unlock the problem.
The only thing that is common to the above programs is that they all read
from stdin. Both `info' and `less' call `select', which issues ioctl
calls to the CON device; `rm' just calls `getchar'. So my first guess
would be that the CON device driver is somehow broken due to the crash
you experienced.
I don't know why `unzip' doesn't have this problem; was it at all compiled
with DJGPP v2? (There's no `unzip' distribution in v2 archives.) If not,
then that might be the explanation.
> This doesn't
> happen with Emacs under dosemu (though its redisplay seems slow)
Emacs doesn't access stdin or CON at all, it uses BIOS Int 16h functions
to read the keyboard, so if the problem is indeed with CON, it doesn't
affect Emacs.
> I'm using the current DJGPP stuff.
Did you verify that you have the latest binaries? The latest Less and
Texinfo binary distributions should be dated 28 October or later. Or just
get the latest djdev201 (dated 31 October or later) and rebuild from
sources. There were some bugs in the early versions of the v2.01 library
which affected Less.
- Raw text -