This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?
- From: "Matt Wozniski" <godlygeek at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 1 Mar 2007 10:59:19 -0500
- Subject: Re: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?
- References: <45E6EAA0.5090603@hima.com>
Most of the items have default values, and I would find it
very user-friendly, if readline's edit buffer would be pre-
initialized with this default value, instead of an empty string.
Then the user just has to hit <return> to enter the default
value, very comfortable.
I don't believe that you can do that with readline, but I may be
wrong. I know that you can do it with ZShell. If you're interested,
try installing the zsh package and doing 'man zshzle' and 'man
zshbuiltins' - look up "print -z" in particular.
And, either way, it's OT for this list.
~Matt
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/