What does it need to exit after feeding it my passphrase?
Maybe this should be one of those "if" / "else" deals?
Code: Select all
#!/bin/sh
xterm -hold -e [passphrase_command]
Code: Select all
#!/bin/sh
xterm -hold -e [passphrase_command]
The original post did not say it was for any (or any pristine) Puppy.MochiMoppel wrote:Read what for? Which Puppy contains xterm?tallboy wrote:BTW; the Xterm man page is so massive, that you have to read it a few times to take it all in! Good work!
-hold
Turn on the hold resource, i.e., xterm will not immediately destroy its window when the shell command completes. It will wait until you use the window manager to destroy/kill the window, or if you use the menu entries that send a signal, e.g., HUP or KILL.
I used xterm for several years, at the uni where RedHat Enterprise was the distro in use.-e program [ arguments ... ]
This option specifies the program (and its command line arguments) to be run in the xterm window. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line. This must be the last option on the command line.
What you see is not always what you get.tallboy wrote:MochiMoppel, the first uncommented word in the script is xterm.