Problems with talk utility from inetutils - solved

Kevin Wright kevin@wright.org
Thu Jan 18 17:34:00 GMT 2001


Chuck, 

Thanks! That fixed it! I should have remembered to try to set
the TERMINFO variable.

For those who may be trying this, and don't already know how to
use the talk utility, here are the steps I used:

1) $ export TERMINFO=/usr/share/terminfo

2) $ talk username@machine-name [ttyname]
   
   NOTE: If both people are on the same machine, you don't need to 
   include "@machine-name." If the person you want to talk to is
   logged in multiple times with the same username, specify the 
   ttyname to talk to the correct terminal. (tty0 is the default)
 
   If you are talking to a different person but that person is 
   logged in more than once, you can specify the ttyname to talk
   to a particular terminal. Again, tty0 is the default.
   
   NOTE: to find the ttyname of your terminal, use the tty command.
   To find the ttyname of the user you want to talk to, use the
   who command. However, currently on cygwin, who only reports local 
   users unless you pass it the filename /var/log/wtmp thus:

   $ who /var/log/wtmp |tail -4
   kwright  tty1     Jan 18 11:08 (holstein-mobile)
   kwright  ftp512   Jan 18 12:55 (holstein-kw)
   kwright  ftp441   Jan 18 12:57 (holstein-kw)
   kwright  tty2     Jan 18 15:27 (holstein-kw)
  
   Examples of sending a talk request:

   $ talk kwright tty1                  # local machine
    
   $ talk root@gnome                    # remote machine

3) When the request message pops up on your terminal, respond to 
   the request with the username and ttyname (if necessary):
   NOTE: if the user is on the same machine, you don't need to
   specify "@machine-name".

   $ talk kwright tty2                  # local machine
   
   $ talk kwright@holstein-mobile tty2  # remote machine

Even though much of this is obvious from reading the man page and from
trial and error, perhaps this should go into the FAQ? 

Thanks again,

--Kevin



> -----Original Message-----
> From: cygwin-owner@sources.redhat.com
> [ mailto:cygwin-owner@sources.redhat.com]On Behalf Of Charles S. Wilson
> Sent: Thursday, January 18, 2001 12:48 PM
> To: Corinna Vinschen
> Subject: Re: Problems with talk utility from inetutils
> 
> 
> Corinna Vinschen wrote:
> > Definitely my fault. I figured out that my developer box still
> > used ncurses from the Cygwin 1.0 version. I have now completely
> > reinstalled the box with the latest net distro and I will release
> > a new inetutils soon.
> 
> Users of the current inetutils can probably just set
> 'TERMINFO=/usr/share/terminfo' and keep on going.
> 
> Just a question: since ncurses is a "contrib" item, should inetutils use
> it or should inetutils just compile against termcap?
> 
> --Chuck
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list