Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Kanji (Parson)
on Apr 14, 2002 at 16:43 UTC ( #158949=note: print w/replies, xml ) Need Help??


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

To keep this on topic, if you use the the Perl shell (alt., but not to be confused with the other Perl shells), you should be able to do something like ...

# UNTESTED! $Psh::prompt = sub { my $progress = get_progress(); "($progress%) psh\$ "; }

... where get_progress() does something similar to your csh code.

    --k.


Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-02-22 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (98 votes). Check out past polls.

    Notices?