Unix Shell - How to display a message to all tty?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > November 2006 > How to display a message to all tty?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to display a message to all tty?
Bo Yang

2006-11-21, 1:19 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just as the subject!
Thanks !
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFYySe7tZp58UCwyMRAiCHAJ4wr0IuyVG1
XbRPajJiNRPKNmv0fACg3RSk
vu6o4w8WN9VDqotK5LhI56o=
=/A+n
-----END PGP SIGNATURE-----
Ed Morton

2006-11-21, 1:19 pm

Bo Yang wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just as the subject!
> Thanks !
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFYySe7tZp58UCwyMRAiCHAJ4wr0IuyVG1
XbRPajJiNRPKNmv0fACg3RSk
> vu6o4w8WN9VDqotK5LhI56o=
> =/A+n
> -----END PGP SIGNATURE-----


Not to be unkind but, please:

a) get rid of all this PGP signature nonsense
b) post the question in the body rather than just the subject line

Ed.
Adam Price

2006-11-21, 1:19 pm

On Wed, 22 Nov 2006 00:09:02 +0800, Bo Yang wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just as the subject!
> Thanks !
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFYySe7tZp58UCwyMRAiCHAJ4wr0IuyVG1
XbRPajJiNRPKNmv0fACg3RSk
> vu6o4w8WN9VDqotK5LhI56o=
> =/A+n
> -----END PGP SIGNATURE-----


As others have said, with a message this short please ditch the pgp crap. I
don't care who is asking, if I know I will generally answer.
In this case the answer is the wall command.
Adam
Kaz Kylheku

2006-11-21, 7:21 pm

Bo Yang wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just as the subject!


Dear Nerd,

Your subject line isn't covered by your cryptographic signature, so I
cannot trust that it wasn't forged.

Therefore, I fear cannot answer it.

Kaz Kylheku

2006-11-21, 7:21 pm

Adam Price wrote:
> As others have said, with a message this short please ditch the pgp crap.


Wrong. That should be: ``With a message which has absolutely no
security implications, regardless of its length, ditch the PGP crap.''

Michael Tosch

2006-11-21, 7:21 pm

Bo Yang wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just as the subject!
> Thanks !
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFYySe7tZp58UCwyMRAiCHAJ4wr0IuyVG1
XbRPajJiNRPKNmv0fACg3RSk
> vu6o4w8WN9VDqotK5LhI56o=
> =/A+n
> -----END PGP SIGNATURE-----


See disclaimer below!

--
Michael Tosch @ hp : com

It is our mission to proactively supply progressive products
while continuing to professionally build mission-critical benefits,
and being supported by outstanding tools that guarantee a maximum
return of investment:
man wall
Bo Yang

2006-11-22, 1:39 am

Ed Morton :
> Bo Yang wrote:
>
> Just as the subject!
> Thanks !


> Not to be unkind but, please:


> a) get rid of all this PGP signature nonsense
> b) post the question in the body rather than just the subject line


I am sorry!
I learn to use gpg just because I seem
some body in mailing list use it.
Sorry again, I will remove the gpg signature
from now!

> Ed.

Solbu

2006-11-23, 1:29 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bo Yang sent the following transmission through subspace:

>
> I am sorry!
> I learn to use gpg just because I seem
> some body in mailing list use it.
> Sorry again, I will remove the gpg signature
> from now!


Let me be the first to encurage you to use gpg.

I use gpg in all my messages in order to proove that I was the one writing
the message and not someone pretending to be me.

If people have problems with gpg signatures, then let them ignore it.

You are not the only one that use gpg. :-)=

- --
Solbu - http://www.solbu.net
Remove 'ugyldig.' for email
PGP key ID: 0xFA687324
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFFZRJ1T1rWTfpocyQRAnB/AJ9+bJgCaQrbsBRMgzymP7das+EUEwCfXrdp
gJH3HJu9bkTWdl1yyqyE7G8=
=zDpL
-----END PGP SIGNATURE-----
Kaz Kylheku

2006-11-23, 1:29 am

Solbu wrote:
> Let me be the first to encurage you to use gpg.
>
> I use gpg in all my messages in order to proove that I was the one writing
> the message and not someone pretending to be me.


You prove no such thing by doing so. All you do is prove a signing
operation was performed on two or more messages using the same key.
That doesn't prove anything about who did the signing, or even that it
was a single individual. The key could be shared by a multitude.

Anyone can install GPG and create throwaway keys, the same way that
anyone can create a yahoo or hotmail e-mail account. It means
absolutely nothing. You could repudiate everything which was posted
with that GPG key, and claim that it was just someone pretending to be
you who created that key.

Besides, in a forum like Usenet, what you typically want to prove is
that it was /not/ you who wrote something, not that it /was/. The
/lack/ of a signature does not prove that it was /not/ you. After all,
if you were going to post something that you wanted to repudiate, of
course you would not sign it.

Digital signatures are for proving your identity when the authenticity
matters. For instance, if your banker were to receive instructions to
transfer a large sum out of your bank account, he might want proof that
it's really you making the request.

So, in short, all you are doing is showing the world that you're a
complete idiot when it comes to cryptography.

> If people have problems with gpg signatures, then let them ignore it.


Note that the signatures violate Usenet netiquette.

Alan Connor

2006-11-23, 7:33 am

On comp.unix.shell, in <ejvaeo$qjg$1@news.cn99.com>, "Bo Yang" wrote:

<snip>

I second what Ed said.

$ man wall

might be what you want.

Or you could do something like this:

# echo -e "\n\n\nHello World\n\n\n" > /dev/ttyp1 && echo -e "\n\n\nHello World\n\n\n" > /dev/ttyp2...

But if they are running X, it would probably be better to create a
new, small xterm "popup" with the message in it, something like:

aterm -title "oo" -rv -fn "-*-courier-medium-r-normal-*-*-120-*-*-*-*-iso8859-1" -geometry 30X10+10+20 -sl 300 -e `echo\n\n\n...'

Not sure how to get that to the current window of each user.

There's probably an X utility that does that, which could likewise
be called in a script.

Alan

--
http://home.earthlink.net/~alanconnor/contact.html
http://home.earthlink.net/~alanconn...ival/index.html
http://home.earthlink.net/~alanconn...unix/index.html
Bruce Barnett

2006-11-23, 7:33 am

Solbu <solbu@ugyldig.start.no> writes:

> I use gpg in all my messages in order to proove that I was the one writing
> the message and not someone pretending to be me.


So you believe that every time you post a message it is profound?

Excuse me, but why would we care?

Oh - You like gpg. I better find out if it's really you who said
this. Because if a complete stranger said it, my entire world would
turn upside down. Oh no. I'm falling to the ceiling. Aaaaaagh..


--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com