Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Append a tools status to the command line..

by stephen (Priest)
on Apr 15, 2002 at 02:37 UTC ( #159072=note: print w/replies, xml ) Need Help??


in reply to Append a tools status to the command line..

Changing the command line usually involves changing an environment variable in your shell. Since processes can't change each others' environment variables directly, you can't change a prompt from another process.

What I'd recommend is having the tool wrapper write a status line to a file, then using shell-escapes to insert a `cat /whatever/the/file/is` into your prompt. See your shell documentation for details.

stephen

  • Comment on Re: Append a tools status to the command line..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159072]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-11-23 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (335 votes). Check out past polls.

    Notices?