Re: [dev] curses samterm

From: Uriel <>
Date: Tue, 3 Aug 2010 12:01:24 +0200

On Tue, Aug 3, 2010 at 6:41 AM, Wolf Tivy <> wrote:
> I find it useful to be able to edit files using my regular editor
> after I break X, or if I don't feel like starting it up.
> I like curses stuff even in X because it is nice to open up an editor
> and have it tempoarily reuse the terminal window without spawning
> another and thrashing my layout. Furthermore, as a bit of an
> aesthetic concern, curses editors inherit the color configuration of
> the terminal, which is convienient if you are into making things look
> nice.
> It was suggested before that a curses interface would be a good
> idea, so I am assuming that I am not the only person who would
> appreciate it.
> I might be happy with the p9p samterm, but I can't figure out how
> to get it standalone from the rest of p9p, or what kind of

Sam has run on lunix since long before p9p existed. apt-get install
sam should work, it is a somewhat old version of sam, but all the
functionality should be there.

> aesthetic variations are possible (font?, color?). These issues are
> not that big on thier own, but combined with the whole X-dependant
> thing, it just doesn't seem worth it.
> So that's my view on why a curses samterm is a good idea.
> If noone is interested, I will survive with nano, but if people are
> interested or if someone has started, I'm willing to throw some
> time at it.

Anyone that considers for even one second to use nano should be taken
out and shot on the spot.


> ----- Original Message -----
> From: Joseph Xu <>
> Date: Monday, August 2, 2010 5:30 pm
> Subject: Re: [dev] curses samterm
> To:
>> Under what circumstance would you not be able to run sam's gui
>> and have
>> to resort to a curses interface? sam already provides a way to
>> connect
>> the gui to a remote host via ssh to edit files over a slow
>> connection.
>> I've even done this with an old Windows port of sam running
>> locally and
>> a remote linux host with p9p sam. So the only reason is if you
>> don't
>> want to run X on your local computer, which seems ridiculous
>> nowadays.
>> Rob Pike wrote sam in part because he didn't like having to
>> cursor
>> around in vi.
Received on Tue Aug 03 2010 - 12:01:24 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 12:12:02 CEST