Re: putty (Xfree terminal, talk)

2001-05-28 Thread Sami Haahtinen
On Mon, May 28, 2001 at 04:40:04PM +0200, Mark Janssen wrote:
> On Mon, May 28, 2001 at 04:34:03PM +0200, Marcel Hicking wrote:
> > "talk user" works fine for us, at least it has been
> > working fine 10 minutes ago ;-)
> > Make sure talk is configured correctly in /etc/inetd.conf
> 
> If a user has turned his messages off (mesg n) or they are off by
> default, and he hasn't turned them on, this will not work...
> Write will always work since it ignores the message setting.

not true, write uses the same method that talk use to inform about an incoming
talk session. write will fail if the user has used mesg to disable writing to
current tty.

--Snip--
(%:~)- mesg
is n
(%:~)- ls -laF /dev/pts/4
crw--w1 ressuressu136,   4 May 29 00:08 /dev/pts/4
(%:~)- mesg y
(%:~)- ls -laF /dev/pts/4
crw--w--w-1 ressuressu136,   4 May 29 00:08 /dev/pts/4
--Snap--

as you can see.. mesg has nothing to do with messaging, it just removes other
users write permissions to your current tty.

Sami

-- 
  -< Sami Haahtinen >-
-< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-




Re: putty (Xfree terminal, talk)

2001-05-28 Thread Sami Haahtinen

On Mon, May 28, 2001 at 04:40:04PM +0200, Mark Janssen wrote:
> On Mon, May 28, 2001 at 04:34:03PM +0200, Marcel Hicking wrote:
> > "talk user" works fine for us, at least it has been
> > working fine 10 minutes ago ;-)
> > Make sure talk is configured correctly in /etc/inetd.conf
> 
> If a user has turned his messages off (mesg n) or they are off by
> default, and he hasn't turned them on, this will not work...
> Write will always work since it ignores the message setting.

not true, write uses the same method that talk use to inform about an incoming
talk session. write will fail if the user has used mesg to disable writing to
current tty.

--Snip--
(%:~)- mesg
is n
(%:~)- ls -laF /dev/pts/4
crw--w1 ressuressu136,   4 May 29 00:08 /dev/pts/4
(%:~)- mesg y
(%:~)- ls -laF /dev/pts/4
crw--w--w-1 ressuressu136,   4 May 29 00:08 /dev/pts/4
--Snap--

as you can see.. mesg has nothing to do with messaging, it just removes other
users write permissions to your current tty.

Sami

-- 
  -< Sami Haahtinen >-
-< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-


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




Re: putty (Xfree terminal, talk)

2001-05-28 Thread Mark Janssen
On Mon, May 28, 2001 at 04:34:03PM +0200, Marcel Hicking wrote:
> "talk user" works fine for us, at least it has been
> working fine 10 minutes ago ;-)
> Make sure talk is configured correctly in /etc/inetd.conf

If a user has turned his messages off (mesg n) or they are off by
default, and he hasn't turned them on, this will not work...
Write will always work since it ignores the message setting.

Mark Janssen Unix Consultant @ SyConOS IT
E-mail: [EMAIL PROTECTED]  GnuPG Key Id: 357D2178
http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl]
Fax/VoiceMail: +31 84 8757555 Finger for GPG and GeekCode




Re: putty (Xfree terminal, talk)

2001-05-28 Thread Marcel Hicking
"talk user" works fine for us, at least it has been
working fine 10 minutes ago ;-)
Make sure talk is configured correctly in /etc/inetd.conf

Marcel


James <[EMAIL PROTECTED]> 28 May 2001, at 15:38:

> 
> 
> On Mon, 28 May 2001, Antonio Rodriguez wrote:
> 
> > I have two questions:
> > 1. How can I talk to an user who is accessing my computer through
> > putty from an windows machine? When I tried it would say that the
> > user refused to talk. Should I type "talk user", or I have somehow
> > to include info about the ip of the source machine?
> 
> write user
> 
> but it isn't very friendly :-)
> 
> > 2. Is there any way of gaining access to an XFree (tty7, standard
> > setting) terminal for a remote user?
> > 
> > 
> > --  
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 





Re: putty (Xfree terminal, talk)

2001-05-28 Thread James


On Mon, 28 May 2001, Antonio Rodriguez wrote:

> I have two questions:
> 1. How can I talk to an user who is accessing my computer through putty from
> an windows machine? When I tried it would say that the user refused to talk.
> Should I type "talk user", or I have somehow to include info about the ip of
> the source machine?

write user

but it isn't very friendly :-)

> 2. Is there any way of gaining access to an XFree (tty7, standard setting)
> terminal for a remote user?
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 




putty (Xfree terminal, talk)

2001-05-28 Thread Antonio Rodriguez
I have two questions:
1. How can I talk to an user who is accessing my computer through putty from
an windows machine? When I tried it would say that the user refused to talk.
Should I type "talk user", or I have somehow to include info about the ip of
the source machine?
2. Is there any way of gaining access to an XFree (tty7, standard setting)
terminal for a remote user?




Re: putty (Xfree terminal, talk)

2001-05-28 Thread Mark Janssen

On Mon, May 28, 2001 at 04:34:03PM +0200, Marcel Hicking wrote:
> "talk user" works fine for us, at least it has been
> working fine 10 minutes ago ;-)
> Make sure talk is configured correctly in /etc/inetd.conf

If a user has turned his messages off (mesg n) or they are off by
default, and he hasn't turned them on, this will not work...
Write will always work since it ignores the message setting.

Mark Janssen Unix Consultant @ SyConOS IT
E-mail: [EMAIL PROTECTED]  GnuPG Key Id: 357D2178
http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl]
Fax/VoiceMail: +31 84 8757555 Finger for GPG and GeekCode


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




Re: putty (Xfree terminal, talk)

2001-05-28 Thread Marcel Hicking

"talk user" works fine for us, at least it has been
working fine 10 minutes ago ;-)
Make sure talk is configured correctly in /etc/inetd.conf

Marcel


James <[EMAIL PROTECTED]> 28 May 2001, at 15:38:

> 
> 
> On Mon, 28 May 2001, Antonio Rodriguez wrote:
> 
> > I have two questions:
> > 1. How can I talk to an user who is accessing my computer through
> > putty from an windows machine? When I tried it would say that the
> > user refused to talk. Should I type "talk user", or I have somehow
> > to include info about the ip of the source machine?
> 
> write user
> 
> but it isn't very friendly :-)
> 
> > 2. Is there any way of gaining access to an XFree (tty7, standard
> > setting) terminal for a remote user?
> > 
> > 
> > --  
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 



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




Re: putty (Xfree terminal, talk)

2001-05-28 Thread James



On Mon, 28 May 2001, Antonio Rodriguez wrote:

> I have two questions:
> 1. How can I talk to an user who is accessing my computer through putty from
> an windows machine? When I tried it would say that the user refused to talk.
> Should I type "talk user", or I have somehow to include info about the ip of
> the source machine?

write user

but it isn't very friendly :-)

> 2. Is there any way of gaining access to an XFree (tty7, standard setting)
> terminal for a remote user?
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


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




putty (Xfree terminal, talk)

2001-05-28 Thread Antonio Rodriguez

I have two questions:
1. How can I talk to an user who is accessing my computer through putty from
an windows machine? When I tried it would say that the user refused to talk.
Should I type "talk user", or I have somehow to include info about the ip of
the source machine?
2. Is there any way of gaining access to an XFree (tty7, standard setting)
terminal for a remote user?


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