Problems with subshell
Meino Christian Cramer
Meino.Cramer at gmx.de
Mon Mar 15 15:53:59 UTC 2004
Hi,
I compiled the recent snapshot of mc (mc-2004-03-05-08.tar.gz).
Pressing CTRL-O puts me "behind" the panels, but as soon as I am
pressing any key I will be put back to the panels.
mc put a warning on the screen:
"Cannot open master side of pty: No such file or directory (2)"
I used strace to find the problem and found:
open("/dev/ptmx", O_RDWR) = -1 ENOENT (No such file or directory)
but a 'ls -l /dev/pt*' gives my:
crw-rw-rw- 1 root root 5, 2 Jan 1 1970 /dev/ptmx <<< !!!!
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya0 -> pty/m176
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya1 -> pty/m177
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya2 -> pty/m178
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya3 -> pty/m179
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya4 -> pty/m180
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya5 -> pty/m181
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya6 -> pty/m182
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya7 -> pty/m183
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya8 -> pty/m184
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptya9 -> pty/m185
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptyaa -> pty/m186
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptyab -> pty/m187
lr-xr-xr-x 1 root root 8 Mar 15 2004 /dev/ptyac -> pty/m188
(and so on)
I compiled mc with:
#!/bin/bash
unset CFLAGS
unset CXXFLAGS
./configure --prefix=/usr --disable-nls --without-gnome --without-ncurses \
--with-slang --with-subshell --with-netrc \
--with-tm-x-support && make && sudo make install
I tried a "blank" ./configure without any options, which results in
the same problem.
I tried to set TERM to rxvt and xterm with no success.
What did I wrong?
My system looks like:
- used system, software: -
Linux 2.6.4 using devfsd/devfs
alsa-1.0.3
gcc 3.3.3.
glibc 2.3.2.
binutils 2.14.0 (ftp.gnu.org)
gdb 6.0
XFree 4.4.0 (hardware dri/drm enabled and working)
IceWM 1.2.14pre9
Turboprint 1.87
Gimp 1.2.5
Gimp-print 4.3.25
- used system, hardware: -
ATI Radeon 7500 AGP made by Sapphire
Iiyama HM903DT A
Athlon XP 2400+
EPoX 8K5A3+
256 MB DDR RAM
Canon i865
Thank you very much for any help or hint in advance! :O)
Kind regards,
Meino
More information about the mc
mailing list