delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/18/20:35:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Sent: 19 Jan 2001 01:34:05 GMT
From: "Kevin Wright" <kevin AT wright DOT org>
To: "Cygwin-Mailing-List" <cygwin AT cygwin DOT com>
Subject: RE: Problems with talk utility from inetutils - solved
Date: Thu, 18 Jan 2001 17:00:30 -0700
Message-ID: <005f01c081aa$d62ab380$e088f726@holstein-mobile.ASPECTDV.COM>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <3A674860.66F592F1@ece.gatech.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
Importance: Normal

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 AT 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 AT 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 AT 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 AT sources DOT redhat DOT com
> [mailto:cygwin-owner AT sources DOT redhat DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019