9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Sam Rewrite (Was: SAM snarf with X)
Date: Sat,  8 Oct 2005 11:45:26 -0400	[thread overview]
Message-ID: <ee9e417a0510080845s6335c595qd05171a40b9cf2e5@mail.gmail.com> (raw)
In-Reply-To: <4347bf3c.jG0d8omwXYyqNEYo%yard-ape@telus.net>

Go ahead, go nuts.  But you'll end up with a new program, not sam.
If you're good, you should be able to leave sam unaltered and just
replace samterm.

>     1) X-conscientious-Sam doesn't need its own
>        window system (with mux policies); the
>        window manager can all do this (allowing
>        point-to-type, and whatever else).

The die hard sam users would disagree vehemently with you.
The nice thing about sam is that it's one window, not many,
making it comfortable to edit a 30-file project without getting
caught up in managing windows.  Sam and rio both do
click-to-type and the windows look the same and that's
about the end of the similarity.

>     2) "1)" means that more than half of the mouse
>        menu items are shed, allowing for more
>        responsive cut/paste behaviour (such as
>        Acme's, or the conventional Athena/XTerm
>        behaviour).

See above.  Cut/paste chording doesn't require giving up
the menus, by the way.  Those chords always start with button 1
being held down.

I still believe the chording code that's ifdef'ed out of the
plan9port version can be made to work.

>     3) Mouse is (gasp!) configurable---via Xrdb
>        if nothing else.  This would cut down
>        on news traffic about mouse behaviour.
>        And Xclipboard would be a neat external
>        mouse-based snarf-buffer array solution.

If you want xemacs, you know where to find it.

>     4) The unshared snarf buffer issue is gone.

Again the sam die-hards will disagree with you on this one.

>     5) The select-while-scrolling problem is solved
>        (perhaps, again, with the simple Athena/XTerm
>        select mechanism).

I'm not sure I want to know what this really means, but
"simple Athena/XTerm" sure sounds like an oxymoron to me.

>     6) Redo!

This is already implemented.

          * u n    Undo the last n (default 1) top-level commands that
                   changed the contents or name of the current file,
                   and any other file whose most recent change was
                   simultaneous with the current file's change.  Suc-
                   cessive u's move further back in time.  The only
                   commands for which u is ineffective are cd, u, q, w
                   and D.  If n is negative, u `redoes,' undoing the   <<<<<
                   undo, going forwards in time again.

Russ


  parent reply	other threads:[~2005-10-08 15:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-08 12:44 yard-ape
2005-10-08 13:01 ` Uriel
2005-10-08 15:17 ` Steve Simon
2005-10-08 15:45 ` Russ Cox [this message]
2005-10-08 15:51   ` Charles Forsyth
2005-10-08 17:46   ` erik quanstrom
2005-10-09  0:11     ` Russ Cox
2005-10-08 18:02   ` erik quanstrom
2005-10-09  9:50 yard-ape
2005-10-09  9:53 yard-ape
2005-10-09 15:41 ` Russ Cox

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=ee9e417a0510080845s6335c595qd05171a40b9cf2e5@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /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).