Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?

Matt Wozniski godlygeek@gmail.com
Thu Mar 1 15:59:00 GMT 2007


> 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/



More information about the Cygwin mailing list