PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Private talk via terminal in Solaris
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Private talk via terminal in Solaris

Réponse
 
LinkBack Outils de la discussion
Vieux 06/05/2008, 20h02   #1
chris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Private talk via terminal in Solaris

Hi,

Is there a way to create a private communicate to another user through
a terminal? I know wall command can broadcast the msg, but everyone
on a terminal will see it. I never try "talk" command & don't know
exactly how it works, and I think there is a way to do a 2-way
communication on a terminal. Any suggestions/ideas are appreciated.

# who

oracle pts/1 May 5 10:33 (MrA.abc.com)
root pts/2 May 5 10:40 (MrB.abc.com)

TIA,
-Chris
  Réponse avec citation
Vieux 06/05/2008, 20h31   #2
h.stroph
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Private talk via terminal in Solaris

In news:6e843ef7-1c9f-45d6-91b1-818224f30116@i36g2000prf.googlegroups.com,
chris <lazyboy_2k@yahoo.com> typed:

> I never try "talk" command & don't know exactly how it works, ...


man talk


  Réponse avec citation
Vieux 06/05/2008, 22h39   #3
Theo v. Werkhoven
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Private talk via terminal in Solaris

The carbonbased lifeform chris inspired comp.unix.shell with:
> Hi,
>
> Is there a way to create a private communicate to another user through
> a terminal? I know wall command can broadcast the msg, but everyone
> on a terminal will see it. I never try "talk" command & don't know
> exactly how it works, and I think there is a way to do a 2-way
> communication on a terminal. Any suggestions/ideas are appreciated.


The one-2-one version of wall is write(1)

> # who
>
> oracle pts/1 May 5 10:33 (MrA.abc.com)
> root pts/2 May 5 10:40 (MrB.abc.com)


So for you as root that would be 'write oracle' or 'write oracle pts/1' if the
user is logged in more than once.
The addressed user needs to run his own write to reply, so user oracle
would do 'write root pts/2'
End communication with ^D from both sides.
Talk is more like IM, but it needs a talkd daemon afaik, and it's less
generally available than write.
If a user doesn't want to be disturbed, he can use 'mesg n' to disable
write or talk from writing on his terminal.

Theo
--
theo at van-werkhoven.nl ICQ:277217131 SuSE Linux
linuxcounter.org: 99872 Jabber:muadib at jabber.xs4all.nl AMD XP3000+ 1024MB
"ik _heb_ niets tegen Microsoft, ik heb iets tegen
de uitwassen *van* Microsoft"
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09672 seconds with 11 queries