delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <17393e3e0703010759i1ece9c7asbb1955e968438db1@mail.gmail.com> |
Date: | Thu, 1 Mar 2007 10:59:19 -0500 |
From: | "Matt Wozniski" <godlygeek AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string? |
In-Reply-To: | <45E6EAA0.5090603@hima.com> |
MIME-Version: | 1.0 |
References: | <45E6EAA0 DOT 5090603 AT hima DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |