[RndTbl] talk/ntalk

Gilbert E. Detillieux gedetil at cs.umanitoba.ca
Wed Apr 29 09:24:17 CDT 2020


IIRC, all the in.*d daemons (and in.talkd in particular) were meant to 
be run through inetd, and not directly as a standalone daemon.  They 
would expect stdin and stdout to be already connected to a socket on 
startup.

Gilbert

On 2020-04-29 2:12 a.m., Trevor Cordes wrote:
> On 2020-04-28 Gerald Brandt wrote:
>> If it compiles and runs, and you just want it to start, can't you
>> throw it into crontab with @start or @reboot (whichever one it is).
> 
> Nope, doesn't run even manually:
> 
> 2:00am html/Eword/Live#/usr/sbin/in.talkd
> Socket operation on non-socketExit 1
> 2:00am html/Eword/Live#/usr/sbin/in.ntalkd
> Socket operation on non-socketExit 1
> 
> strace:
> getsockname(0, 0x7ffcb85f1820, [16])    = -1 ENOTSOCK (Socket operation
> on non-socket)
> write(2, "Socket operation on non-socket", 30Socketoperation on non-socket) = 30
> exit_group(1)                           = ?
> +++ exited with 1 +++
> 
>>From the man page there really are no options.  -d debugging doesn't
> give me any further info.
> 
> Looks like something is really busted in the way it listens on its
> socket.  I checked and talk's usual 2 ports (whether "n" or not) aren't
> taken.
> 
> I was just wondering if maybe there was some weird config file or
> undocumented command line option I'm missing that someone knows about.
> It is a strangely optionless daemon.
> 
> Tim: I forgot to mention, I don't even need inter-machine support... I
> just want to run talk on one box between 2 people logged in to that 1
> box.
> 
> But I do want something that has the nice split window paradigm that
> talk uses.

-- 
Gilbert E. Detillieux        E-mail:  <gedetil at cs.umanitoba.ca>
Dept. of Computer Science    Web:     http://www.cs.umanitoba.ca/~gedetil/
University of Manitoba       Phone:   (204)474-8161
Winnipeg MB CANADA  R3T 2N2  Fax:     (204)474-7609


More information about the Roundtable mailing list