This is the mail archive of the
mailing list for the Cygwin project.
xprompt/xecho without a full XFree86 or X11, ... sought
- From: "Ralf Hauser" <ralfhauser at gmx dot ch>
- To: <cygwin at cygwin dot com>
- Date: Wed, 26 Mar 2003 18:48:41 +0100
- Subject: xprompt/xecho without a full XFree86 or X11, ... sought
- Reply-to: <hauser at acm dot org>
About 10 years ago, there was a nice little command 'xprompt' that allowed
me to get a string into a script without having the user work on a
ANSWER=`xprompt "how old are you?"`
xecho The answer is \"$ANSWER\" !
win-ssh-askpass.exe does such prompting if the user doesn't mind not seeing
the input (masked with "*"s due to its original use for passwords), but
perhaps there are better solutions out there?
Similarly, xecho can be emulated by writing the text into a
/tmp/xecho.$$.html and then starting this with cygstart, but this is quite
clumsy and slow (e.g. with Mozilla).
P.S.: Gilgamesh, I got somebody to translate TAGA Nayuta's README.txt for me
(with TAGA's permission http://www.ganaware.jp/S/win-ssh-askpass/) and soon,
I'll post it (see previous discussion on Japanese in
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html