9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: Re[4]: [9fans] home, end ^h^j^k^l
@ 2001-05-19  8:48 Russ Cox
  2001-05-19  8:59 ` Re[6]: " Matt H
  2001-05-19 20:28 ` Re[4]: " Boyd Roberts
  0 siblings, 2 replies; 18+ messages in thread
From: Russ Cox @ 2001-05-19  8:48 UTC (permalink / raw)
  To: 9fans

there's little function key support.
the function keys only got properly
handled in the keyboard driver two years ago.

the use of escape is a historical choice that i
don't fully understand.  (it's been in sam from
research unix, and i wasn't around then.)  maybe
someone else will comment.

> To: Russ Cox <9fans@cse.psu.edu>

hmm...  that works, i suppose, but it's not
exactly direct.

russ


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Re[2]: [9fans] home, end ^h^j^k^l
@ 2001-05-19 17:07 Quinn Dunkan
  2001-05-19 16:00 ` Re[4]: " Matt H
  0 siblings, 1 reply; 18+ messages in thread
From: Quinn Dunkan @ 2001-05-19 17:07 UTC (permalink / raw)
  To: 9fans


> CL> What are other peoples most common acme 'gotchas'?
> 
> my other one is one I'm learning to deal with
> 
> in windows if you select some text and press backspace you delete the
> selected text. If you select some text in acme it replaces the current
> text with a backspace so it also deletes the character to the left of
> your selected text. So, as you must do, I select one less then the
> ones I want to delete.

Nowadays, I get surprised by Linux and Windows when backspace doesn't
delete backwards like it's supposed to.  Plan9's behaviour works nicely
for deleting words.  Otherwise, I've learned to use a cut chord, which
only removes that which is selected.  Since you're using the mouse
for selecting anyway, it's easy to just cut out your text.

> functioning cursor keys would still be a speed benefit.

They do function!  Oh, you mean functioning *your* way ;)


My acme gotchas:

Deleting text with backspace replaces the snarf buffer.  I often cut out
something I want, and then do some editing to prepare a place for it, and wind
up deleting a space or something, at which point my paste doesn't give what I
expected.  I don't think the snarf buffer should be quite so ephemeral, but it
probably also has something to do with how I work (i.e., if I want to snarf
something, I snarf, and if I want to delete it, I delete).

New windows rarely appear where I want them.  I gather the heuristic is
optimized for a particular pattern of use, and I recall seeing that
documented somewhere, but can't find it now.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Re[4]: [9fans] home, end ^h^j^k^l
@ 2001-05-19 15:39 rob pike
  0 siblings, 0 replies; 18+ messages in thread
From: rob pike @ 2001-05-19 15:39 UTC (permalink / raw)
  To: 9fans

> That's pretty cool. I suppose it would be a waste of space to
> record who deleted a file as well?

The directory will have its muid set to the most recent deleter or
creator of a file within.  There's no other obvious place to record
the information for deleting a file, since the file is gone.

-rob



^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <rob@plan9.bell-labs.com>]
* Re: Re[4]: [9fans] home, end ^h^j^k^l
@ 2001-05-19  9:17 forsyth
  0 siblings, 0 replies; 18+ messages in thread
From: forsyth @ 2001-05-19  9:17 UTC (permalink / raw)
  To: 9fans

>>the use of escape is a historical choice that i
>>don't fully understand.  (it's been in sam from
>>research unix, and i wasn't around then.)  maybe
>>someone else will comment.

smalltalk80 used esc to select the most recently typed text,
and ``destructive backspace'' also deleted the character preceding
the selection (makes sense given an empty selection);
``delete'' cut the current text selection.

smalltalk80 implementations typically didn't implement cursor keys,
or at least the one i tried briefly,
sensibly enough since most of the keyboards hadn't got them  (whooo!)
(like my Happy Hacking kbd now).  the cursor keys were needed
by DOS and many glass teletypes because they moved a blob cursor
round the screen.



^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Re[2]: [9fans] home, end ^h^j^k^l
@ 2001-05-19  8:29 Russ Cox
  2001-05-19  8:44 ` Re[4]: " Matt H
  0 siblings, 1 reply; 18+ messages in thread
From: Russ Cox @ 2001-05-19  8:29 UTC (permalink / raw)
  To: 9fans

> in windows if you select some text and press backspace you delete the
> selected text. If you select some text in acme it replaces the current
> text with a backspace so it also deletes the character to the left of
> your selected text. So, as you must do, I select one less then the
> ones I want to delete.

type "esc", but beware that cuts it
rather than deleting it (i.e., it ends
up in the snarf buffer).

russ


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2001-05-23  8:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-19  8:48 Re[4]: [9fans] home, end ^h^j^k^l Russ Cox
2001-05-19  8:59 ` Re[6]: " Matt H
2001-05-19 20:28 ` Re[4]: " Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2001-05-19 17:07 Re[2]: " Quinn Dunkan
2001-05-19 16:00 ` Re[4]: " Matt H
2001-05-19 20:46   ` Boyd Roberts
2001-05-19 15:39 rob pike
     [not found] <rob@plan9.bell-labs.com>
2001-05-19 14:14 ` rob pike
2001-05-19 15:35   ` James A. Robinson
2001-05-19 20:36   ` Boyd Roberts
2001-05-19 23:30   ` Richard Elberger
2001-05-20  2:37   ` Boyd Roberts
2001-05-20  7:03   ` Lucio De Re
2001-05-20 11:16   ` paurea
2001-05-20 13:11     ` Boyd Roberts
2001-05-20 13:04   ` Boyd Roberts
2001-05-23  8:24   ` Randolph Fritz
2001-05-19  9:17 forsyth
2001-05-19  8:29 Re[2]: " Russ Cox
2001-05-19  8:44 ` Re[4]: " Matt H

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).