From: crossd@gmail.com (Dan Cross)
Subject: [TUHS] basic tools / Universal Unix
Date: Wed, 1 Nov 2017 14:03:33 -0400 [thread overview]
Message-ID: <CAEoi9W7EhD4RG_kRVjNahYgX3fdCZ-WKjmU4W_pJZfbrVXeBOg@mail.gmail.com> (raw)
In-Reply-To: <20171101171700.D8E0721937@orac.inputplus.co.uk>
Since `ed` is line-based, one could presumably use it with `rlwrap` or
something like that.
On Wed, Nov 1, 2017 at 1:17 PM, Ralph Corderoy <ralph at inputplus.co.uk> wrote:
> Hi Arnold,
>
>> > I've idly considered an ed that also maintained a cursor within the
>> > line that could be used with vi-like commands.
>>
>> you want an ed with a cursor, you need only take GNU ed and hook it up
>> with GNU readline, and there you go.
>
> That would allow me to edit the command I'm entering, e.g. `,n'. What
> I'm suggesting is the command I'm entering can manipulate the in-line
> cursor when I press Enter to submit the command. I don't want
> interactive editing of lines in the file; I know where to find that.
> :-)
>
>> If GNU ed doesn't already have such support.
>
> ed 1.14.2-1 here hasn't. And I wouldn't expect its dependencies to
> grow.
>
> $ ldd /bin/ed
> linux-vdso.so.1 (0x00007fff215d4000)
> libc.so.6 => /usr/lib/libc.so.6 (0x00007fd89767a000)
> /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fd897a31000)
> $
>
> --
> Cheers, Ralph.
> https://plus.google.com/+RalphCorderoy
next prev parent reply other threads:[~2017-11-01 18:03 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 14:16 Noel Chiappa
2017-10-30 14:40 ` Clem Cole
2017-10-30 15:23 ` Arthur Krewat
2017-10-30 20:56 ` Dave Horsfall
2017-10-31 10:50 ` Ronald Natalie
2017-11-01 3:23 ` Dave Horsfall
2017-11-01 13:25 ` Tim Bradshaw
2017-11-16 1:17 ` Dario Niedermann
2017-11-15 1:25 ` Nemo
2017-11-15 2:10 ` Will Senn
2017-11-15 2:16 ` Larry McVoy
2017-11-15 2:37 ` Warner Losh
2017-11-15 3:07 ` Will Senn
2017-11-15 16:13 ` Arthur Krewat
2017-11-15 16:23 ` Arthur Krewat
2017-11-15 16:48 ` Clem Cole
2017-11-15 18:13 ` Bakul Shah
2017-11-15 19:01 ` Clem Cole
2017-11-15 19:52 ` [TUHS] TECO was: " Arthur Krewat
2017-11-15 20:19 ` Clem Cole
2017-11-15 20:25 ` Arthur Krewat
2017-11-15 22:18 ` Ralph Corderoy
2017-11-15 22:42 ` [TUHS] :nohlsearch in vim Chris Torek
2017-11-16 2:44 ` Don Hopkins
2017-11-16 4:34 ` [TUHS] TECO was: Re: basic tools / Universal Unix Dave Horsfall
2017-11-16 4:36 ` Jim Capp
2017-11-16 8:42 ` Pete Turnbull
2017-11-18 14:39 ` Ralph Corderoy
2017-11-16 9:19 ` arnold
2017-11-16 21:59 ` Dave Horsfall
2017-11-16 22:58 ` Andy Kosela
2017-11-17 2:17 ` Steve Johnson
2017-11-17 2:38 ` George Michaelson
2017-11-17 3:56 ` Ian Zimmerman
2017-11-17 4:07 ` Steve Nickolas
2017-11-17 8:44 ` Michael Kjörling
2017-11-17 3:50 ` Lyndon Nerenberg
2017-11-17 6:51 ` Andy Kosela
2017-11-17 1:18 ` Greg 'groggy' Lehey
2017-11-16 0:29 ` Grant Taylor
2017-11-16 0:35 ` Grant Taylor
2017-11-16 0:52 ` Warner Losh
2017-11-16 9:29 ` [TUHS] TECO was: " Mutiny
2017-11-16 14:55 ` Clem Cole
2017-11-16 21:26 ` Random832
2017-11-17 9:08 ` Mutiny
2017-11-16 20:35 ` Dave Horsfall
2017-11-16 21:00 ` Clem Cole
2017-11-17 6:28 ` Lars Brinkhoff
2017-11-15 9:58 ` [TUHS] " Andy Kosela
2017-11-15 11:42 ` Ralph Corderoy
2017-11-01 14:05 ` Ralph Corderoy
2017-11-01 16:42 ` arnold
2017-11-01 17:17 ` Ralph Corderoy
2017-11-01 18:03 ` Dan Cross [this message]
2017-11-01 18:06 ` arnold
2017-11-01 20:16 ` Bakul Shah
2017-11-01 20:37 ` arnold
2017-11-01 21:04 ` Bakul Shah
2017-11-02 0:05 ` Chet Ramey
2017-11-02 0:10 ` Ralph Corderoy
2017-10-31 16:43 ` Don Hopkins
2017-11-02 17:48 ` Paul Winalski
2017-10-30 21:50 ` Charles Anthony
-- strict thread matches above, loose matches on Subject: below --
2017-11-15 14:06 Noel Chiappa
2017-11-15 17:12 ` Ralph Corderoy
2017-11-15 17:47 ` Larry McVoy
2017-11-15 18:40 ` Bakul Shah
2017-11-15 19:58 ` Larry McVoy
2017-11-01 22:51 Norman Wilson
2017-11-01 23:09 ` Lyndon Nerenberg
2017-11-02 20:29 ` Grant Taylor
2017-10-31 19:23 Norman Wilson
2017-10-30 21:40 Noel Chiappa
2017-10-18 23:03 Doug McIlroy
2017-10-19 3:53 ` Random832
2017-10-19 14:33 ` Steffen Nurpmeso
2017-10-19 14:41 ` Random832
2017-10-19 21:03 ` Steffen Nurpmeso
2017-10-20 19:54 ` Steffen Nurpmeso
2017-10-19 14:32 ` Steffen Nurpmeso
2017-10-16 17:52 Clem Cole
2017-10-16 18:54 ` Dan Cross
2017-10-17 13:51 ` Tony Finch
2017-10-17 20:22 ` Steffen Nurpmeso
2017-10-16 20:05 ` Bakul Shah
2017-10-30 0:55 ` Ralph Corderoy
2017-10-30 2:54 ` Bakul Shah
2017-10-30 14:05 ` Ralph Corderoy
2017-10-16 20:39 ` Andy Kosela
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=CAEoi9W7EhD4RG_kRVjNahYgX3fdCZ-WKjmU4W_pJZfbrVXeBOg@mail.gmail.com \
--to=crossd@gmail.com \
/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.
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).