Re: FVWM: Title bar title changing

From: Ken Dickerson <kdicke_at_atl.com>
Date: Tue, 28 May 96 08:31:54 PDT

I have attached our messages below for reference. I tried the prompt you
suggested, to no avail! The escape sequence for changing title bar and icon
name is the same that I had been using prior to FVWM. You use prompt changes,
I used an echo in an aliased cd. In FVWM, I cannot get the escape sequence to
change the title bar and icon name. I go back to my original question, why
isn't the Xterm Control Sequences supported in FVWM????


>
> >>>>> "Ken" == Ken Dickerson <kdicke_at_atl.com> writes:
>
> Ken; I am new to this list, so forgive me if this question has been asked and/or
> Ken; beaten to death. I have newly started using fvwm. One of the things I was
> Ken; doing when I was in Motif, was to use the Xterm Control Sequences to change
> Ken; the icon name and window title. I would like to continue doing that in fvwm,
> Ken; but have found that the same sequences do not affect the title. Is there
> Ken; any simple way I can change the title via a script or alias? I need to
> Ken; change it frequently. Are there different sequences used for fvwm that I
> Ken; can get a hold of?
>
> To add to this thread: If you use tcsh version 6 or higher, here's
> a neat way to set xterm's title & icon in one fell swoop.
>
> Please note that the '^g' is literally '^' and 'g'. tcsh will
> replace it with CTRL-G; '\e' is escape, and again tcsh will do the
> substitution.
>
> Enjoy.
>
> ---------------------- cut & paste ------------------
> # Snippets from Amir's .tcshrc
>
> if ("$tcsh" == "1") then
> set TCSH_VERSION = 5
> else
> set TCSH_VERSION = `echo $tcsh | awk -F. '{print $1}'` # Should give 6
> endif
>
> if ($TCSH_VERSION >= 6) then
> # all kinds of things ...
> # ...
> set prompt = '%M:%U%~%u [%h]%# ' # include underlined dir, home as '~'
> endif
>
> if ("$TERM" == "xterm") then
> # Install 'host: dir' in xterm titlebar and 'host' in icon name
> set prompt = "%{\e]2\;%m: %/^g\e]1;%m^g\r%}""$prompt"
> endif
>
> # The end.
> ---------------------- cut & paste ------------------
>
>
> /* Amir J. Katz E-mail: amir_at_ddddf.com URL: http://www.ndsoft.com */
> /* New Dimension Software, LTD., Tel-Aviv, Israel */
> /* .. I busted a mirror and got seven years bad luck, but my ..*/
> /* .. lawyer thinks he can get me five. (Steven Wright) ..*/
>
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
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 Tue May 28 1996 - 10:43:50 BST

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