From: Budi <budikusasi@gmail.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh-users@zsh.org
Subject: Re: How to install 'readline'
Date: Wed, 16 Aug 2023 16:18:49 +0700 [thread overview]
Message-ID: <CAH0GyZAyx6eGsojy9h8EObyPhfcCKr7t8hxBJKRH-qTC0xN9UA@mail.gmail.com> (raw)
In-Reply-To: <552575375.2391327.1692175219098@mail.virginmedia.com>
Thanks
OK so far works ~ 90%, not yet further test
On 8/16/23, Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
>> On 16/08/2023 08:01 Budi <budikusasi@gmail.com> wrote:
>> to have feature on previous ask (forget its link) ,
>>
>> "
>> What is zsh equivalent for :
>>
>> read -e -i "This is pre written text " t
>>
>> get user into readline with a pre written text ready to edit an save
>> to a variable
>>
>> "
>
> I would definitely second Pier Paolo Grassi's recommendation --- vared
> is the way to do this in zsh, as he said. The simplest form is:
>
> var="This is prewritten text"
> vared var
>
> pws
>
next prev parent reply other threads:[~2023-08-16 9:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-16 2:09 Budi
2023-08-16 4:25 ` Bart Schaefer
2023-08-16 7:01 ` Budi
2023-08-16 8:40 ` Peter Stephenson
2023-08-16 9:18 ` Budi [this message]
2023-08-16 9:22 ` Roman Perepelitsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH0GyZAyx6eGsojy9h8EObyPhfcCKr7t8hxBJKRH-qTC0xN9UA@mail.gmail.com \
--to=budikusasi@gmail.com \
--cc=p.w.stephenson@ntlworld.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).