why can't mc open /dev/gpmctl?

2000-09-01 Thread Ulf Jaenicke-Roessler
Hi,

 found something like this in my logs for every start of mc:
 
Sep  1 12:13:48 pkfp20 mc: /dev/gpmctl: No such file or directory

 I wonder why. Maybe a bug in mc? In fact, /dev/gpmctl exists:

srwxrwxrwx1 root root0 Sep  1 12:16 gpmctl=

 The '=' is an indication of the file type (socket?).
 Furthermore, the strace lines look good (or not?):
 
...
socket(PF_UNIX, SOCK_STREAM, 0) = 10
connect(10, {sin_family=AF_UNIX, path=/dev/gpmctl}, 13) = 0
write(10, \376\377\1\0\0\0\0\0nI\0\0\1\0\0\0, 16) = 16
...

 Any idea what's wrong here?


 Thanks,

  Ulf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: why can't mc open /dev/gpmctl?

2000-09-01 Thread Martijn van de Streek
On Fri, 01 Sep 2000, Ulf Jaenicke-Roessler wrote:

 Sep  1 12:13:48 pkfp20 mc: /dev/gpmctl: No such file or directory
 
  I wonder why. Maybe a bug in mc? In fact, /dev/gpmctl exists:

I got these too, with both mc and links. I guess it's a libgpm0-bug.
Installing (and running) gpm fixed it for me (gpm can't listen() on
it's AF_UNIX socket when it's not installed/running :).

Martijn
-- 
You can go anywhere you want if you look serious and carry a clipboard.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: why can't mc open /dev/gpmctl?

2000-09-01 Thread Ulf Jaenicke-Roessler
On Fri, 1 Sep 2000, Martijn van de Streek wrote:

  Sep  1 12:13:48 pkfp20 mc: /dev/gpmctl: No such file or directory
  
   I wonder why. Maybe a bug in mc? In fact, /dev/gpmctl exists:
 
 I got these too, with both mc and links. I guess it's a libgpm0-bug.
 Installing (and running) gpm fixed it for me (gpm can't listen() on
 it's AF_UNIX socket when it's not installed/running :).

I have gpm, and it runs as a daemon. I thought that /dev/gpmctl would
not exist if gpm doesn't run. But it is there, although mc insists
it isn't. Strange.

  Ulf



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]