Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Show Unix Talk?

by sauoq (Abbot)
on Oct 25, 2002 at 00:51 UTC ( [id://207884]=note: print w/replies, xml ) Need Help??


in reply to Show Unix Talk?

I think ya get what I'm asking, any help would be great, thanks!

Yes, I think I get what you are asking but rather than just answering I have to suggest that you rethink why you are asking.

There is almost never a good reason to allow arbitrary commands to be run via a CGI application. At best it is error prone and at worst it is a serious security hole. It is very unlikely that you really need to turn your browser into a shell prompt.

But if you insist on shooting yourself in the foot, use backticks.

Update: Given that the title of your node suggests that you might want to write a CGI interface to the unix talk(1) command, I thought I should point out that it won't be easy. You'd be better off writing your own talk client and even then it would be pretty horrid. By design, the web is stateless. Talk, on the other hand, is not. You'd have to keep a process running server for each talk session. One way or the other, you would end up with a pretty nasty design.

-sauoq
"My two cents aren't worth a dime.";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://207884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-09-08 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.