This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]