On 12May2005 12:27, jpkotta <sqrt_-1_at_ezrs.com> wrote:
| Theoretically, any
| command could generate the string, so you may be able to find a way to
| make it print out the command that you last executed.
Indeed. Look at my windowlist:
http://www.cskk.ezoshosting.com/cs/fvwm/windowlist-20050514.png
The zoob lines are terminals, on the host zoob, in my home directory
(the "~"), running the command listed (or last ran the command
if <in-angle-brackets>). The "E" is a vi edit window, editing
~/scripts/addif. And so forth.
I have a script ttylabel:
http://www.cskk.ezoshosting.com/cs/css/bin/ttylabel
to write the icon and title strings. I make them the same although
obviously they could be different (I don't use icons...)
In a zsh I invoke this from the preexec() and precmd() functions.
In a bash I set $PROMPT_COMMAND=atprompt, where atprompt is a shell function
that runs ttylabel amongst other stuff.
So tweak your shell environment. It will serve you well regardless of what
window manager you use.
Cheers,
--
Cameron Simpson <cs_at_zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
You can be psychotic and still be competent.
- John L. Young, American Academy of Psychiatry and the Law on Ted
Kaczynski, and probably most internet users
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat May 14 2005 - 01:31:08 BST