Re: FVWM: bash PS1 fvwm2 titlebar problem

From: Martin Novak <wp__at_gmx.de>
Date: Fri, 11 May 2001 22:58:06 +0200

[010511 21:57] Rob Windsor wrote:

> Verily did Martin Novak write:
>
<snip>

> > below is the .bash_profile part which defines my PS1.
> > it works fine, but fvwm seems to have a problem with the titlebar, when a
> > new xterm is opened. the titlebar simply says 'xterm', until i change to
> > some directory for the first time. from then on it works properly.
> > with twm the ps1 definition works without problems here.
>
> [snip...]
>
> You'll need to debug your .bash_profile to find out why "prmpt1" isn't
> getting called. Is anything else in your .bash_profile executing when
> you open an xterm?
>

thanks for your reply. i'm not sure what you meant by "..not getting
called..". prmpt1 definitely gets called, the problem is the initial update
of the titlebar in fvwm (from 'xterm' to 'host: /some/path'). ps1 is set to
what is defined in the func, but fvwm doesn't use the titlebar value until
the value gets changed (e.g. after i 'cd' somewhere).
to me it seems like some sort of a timing problem, because a 'sleep 1'
after the prmpt1 call does the job...

bye
martin novak

<snip>
-- 
wp__at_gmx.de
--
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 Fri May 11 2001 - 15:57:43 BST

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