[comp.windows.x] TitleButton

pilgrim@daimi.aau.dk (Jakob G}rdsted) (02/06/91)

Hello ! 

I have a problem with the titlebuttons in tvtwm. In the file .tvtwmrc
I wrote :

  RightTitleButton "pixmap.filename" =! "echo 'dfgdfg'"

but it did not work exactly as it should. I got the button in the
title, but nothing was echo'ed in the window.

The question is: how can I make the TitleButton echo a string in the
                 window.


----

I have a another question concerning the VT-options I get when  I
activate the ctrl-mousebutton2 in a Xterm. Can this be done by
some key-combination instead ?.


Thanks in advance. pilgrim@daimi.aau.dk


         Have a nice day.

toml@marvin.Solbourne.COM (Tom LaStrange) (02/06/91)

   I have a problem with the titlebuttons in tvtwm. In the file .tvtwmrc
   I wrote :

     RightTitleButton "pixmap.filename" =! "echo 'dfgdfg'"

   but it did not work exactly as it should. I got the button in the
   title, but nothing was echo'ed in the window.

   The question is: how can I make the TitleButton echo a string in the
		    window.

You can't.  !"echo 'blob'" is going to fork a shell and execute the thing
in double quotes.  Your echo will most likely go to wherever you started
(tv)twm.

--
Tom LaStrange        toml@Solbourne.COM