X11 connection problems
Roland Illig
roland.illig at gmx.de
Fri Feb 25 23:37:05 UTC 2005
Hi all,
I think I have solved the X11 connection problems with mc. Can you
please review this patch, and tell me if it solves the so-called
"OpenSSH bug"?
The file x11conn.c is my current development version, so please redirect
stderr to some file for logging.
The testcase that did not work before, but now does, is the following.
1. Inside an X session, start a terminal emulator.
Inside the terminal emulator, start GNU screen.
Inside GNU screen, start the Midnight Commander.
$ screen
$ mc 2>mc.log
2. Detach GNU screen.
(Press C-a d)
3. Shut down the X server.
4. On a console, reattach the GNU screen with mc inside.
$ screen -r
5. Press some keys within mc.
Before the patch, mc terminated here.
After the patch it continues running.
Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11conn.c
Type: text/x-c
Size: 5943 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050226/411f1b79/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x11conn.h
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050226/411f1b79/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mc.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050226/411f1b79/attachment.ksh>
More information about the mc-devel
mailing list