FVWM: prompting for password

From: Perry Hutchison <phutchis_at_windriver.com>
Date: Tue, 22 Feb 2005 18:03:39 -0800 (PST)

This feels like an FAQ, but I couldn't find anything there nor in
the manpage. Maybe I'm not searching for the right keywords :)

How would I set up a menu item to:

  pop up a window
  prompt for and read a password
  close the window
  launch a program and feed the password into its stdin

Specifically, I now have something along the lines of:

  AddToMenu VNCwindows "VNC" TITLE
  + "sys1" Exec echo pw1 | vncviewer sys1 &
  + "sys2" Exec echo pw2 | vncviewer sys2 &

which works fine as long as the passwords don't change. However,
there's one system whose VNC password changes depending on whether
anyone is logged in. Rather than have separate entries for connecting
to it depending on whether it's idle or I am already logged into it,
I'd prefer to have a single entry which propmts for the password.
--
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 Tue Feb 22 2005 - 20:05:04 GMT

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