Re: FVWM: Changing the xterm title bar label

From: Sean Kelly <kelly_at_fsl.noaa.gov>
Date: Thu, 8 Feb 1996 09:09:45 -0700

>>>>> "Steve" == Steve Passe <clem_at_clem.systemsix.com> writes:

    Steve> Hi, I use the following with ksh to track the system &
    Steve> current directory:

    Steve> function cd { builtin cd $1 $2; echo -n
    Steve> "\033]2;`hostname`:$PWD\007" }

And if you're a tcsh-aficionado:

        if ($term == xterm) then
                set prompt="%{\e]2\;%m:%~^g\e]1\;%m^g\r%}%B%m %h %#%b "
        else
                set prompt="%m %h %# "
        endif

-- 
Sean Kelly
NOAA Forecast Systems Laboratory, Boulder Colorado USA
A good way to keep a mob of peasants from killing your monster is when they
break into your castle, make them be real quiet, then open a door and there's
the monster, sound asleep.  -- Deep Thoughts, by Jack Handey
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Feb 08 1996 - 10:10:15 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST