all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: ESC vs Meta for shifted keys
Date: Sat, 14 Apr 2018 22:13:19 -0600	[thread overview]
Message-ID: <20180414214929381365153@bob.proulx.com> (raw)
In-Reply-To: <86fu3x6zy6.fsf@zoho.com>

Emanuel Berg wrote:
> Bob Proulx wrote:
> > I use both interchangeably all of the time.
> > And so does anyone using an XTerm with "Meta
> > sends ESC" configured even if they never hit

I should emphasize that that first sentence.  I do so interchangeably
all of the time.

Because Control should be the key left of the A key I always remap
the Capslock to be Control.  This makes control as convenient as
possible.  I sometimes use Alt for meta.  I sometimes use ESC before
the key for meta.  I sometimes use C-[ (both pinky fingers in action)
to easily produce an ESC.  I use all three at different times.

> Here is how to disable caps and do something
> else with it in X:
> 
>     setxkbmap -option caps:none  # disable caps lock
>     xmodmap -e 'keycode 66=a'    # rebind CAPS (66)

I don't want to disable the key.  I simply remap capslock into a
control key.

> > The symbolics keyboard actually had
> > a *different* arrow set than has become
> > standard. The current "standard" comes from
> > the ADM-3a.

I shouldn't have mentioned that part.  It was extra information as "an
aside".  Because I thought it was interesting information.  But I see
it has just sent this discussion thread "off into the weeds".

> >   https://deskthority.net/keyboards-f2/lear-siegler-adm3a-terminal-keyboard-t11780.html
> 
> ... The Escape key
> on that keyboard isn't current, it is much
> closer which is probably why it was more
> popular for this purpose on those keyboards.

Yes.  That was the point I was making.

> The arrow set (h, j, k, l) is close to there
> right hand, but somewhat unintuitive with ups
> and downs, or at least not as intuitive as it
> could be.

During that era different terminal vendors produced different keyboard
layouts.  They were all different.  That was annoying.

> I think the arrow keys are best placed as:
> 
>           i = up
> j = left  k = down  l = right

Or a=left, s=down, d=right, w=up as has been common in other software.
(This will be immediately recognizable to many.  You mention that
pattern further down.)  Or perhaps C-s=left, C-d=right, C-w=up,
C-x=down.  (Others will recognize that set immediately too.)

However because of vi/vim and less and other software the most popular
combinations of keys has been h, j, k, l however.

> My first computer was a Mac Plus and the games
> there, like Lode Runner, this was used - for
> Dark Castle it was correspondingly w, a, s,
> d because with the right hand, one aimed the
> rock throwing arm with the mouse.
> This reappeared much later in 3D games such as
> Quake btw.

Yes.  Designed for left hand on keyboard and right hand on mouse.
That was also a common pattern for many CAD/EDA drawing programs I
have used over the years.

> Anyway I think the i, j, k, l set is the best
> at is is close and intuitive. In many
> applications, e.g. for viewing images and PDF
> documents, I have implemented it, and in Emacs
> I use it for Emacs-w3m, scrolling [1], and
> so on.

Awesome.  I don't think I will convert though.  And just to throw some
more random info into here I will note that the i3 window manager
default keys are j, k, l, ;, which are the same as h, j, k, l but
shifted to the right one key because the i3 author feels that the home
row of keys without moving the hand should be used.  Same logic but a
different result.  It doesn't convert me either. :-)

> > https://en.wikipedia.org/wiki/Space-cadet_keyboard
> 
> Ha! I can't see anything on that photo.
> Where are the Escape and arrow keys?!

In case others can't pick it out the image is here:

  https://upload.wikimedia.org/wikipedia/commons/4/47/Space-cadet.jpg

I never used this keyboard in real life and so only have the photo to
go upon.  The arrow keys are g=up, h=down, j=left, k=right.  I don't
see an Escape key anywhere on it.  Perhaps someone who used it might
know and comment.  That would be awesome.  It's quite the keyboard.


Bob



  reply	other threads:[~2018-04-15  4:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11969.1523366938.27995.help-gnu-emacs@gnu.org>
     [not found] ` <86tvsiaoe3.fsf@zoho.com>
2018-04-10 23:26   ` ESC vs Meta for shifted keys Bob Proulx
2018-04-10 23:40     ` Bob Proulx
2018-04-15  0:30   ` Tim Johnson
     [not found]   ` <mailman.12411.1523752244.27995.help-gnu-emacs@gnu.org>
2018-04-15  0:50     ` Emanuel Berg
2018-04-15 15:50       ` Tim Johnson
2018-04-16 12:52         ` Robert Pluim
     [not found]   ` <mailman.11999.1523402811.27995.help-gnu-emacs@gnu.org>
2018-04-15  1:06     ` Emanuel Berg
2018-04-15  4:13       ` Bob Proulx [this message]
     [not found]       ` <mailman.12416.1523765608.27995.help-gnu-emacs@gnu.org>
2018-04-15 20:04         ` Emanuel Berg
2018-04-10 13:28 Robert Pluim
2018-04-10 13:42 ` Stefan Monnier
2018-04-10 13:57   ` Robert Pluim
2018-04-10 23:11   ` Bob Proulx
2018-04-11 12:34     ` Stefan Monnier
2018-04-11 19:54       ` Bob Proulx
2018-04-11 21:10         ` Stefan Monnier
2018-04-11 21:58           ` Drew Adams
2018-04-12  8:49             ` Robert Pluim
2018-04-12 14:52               ` Drew Adams
2018-04-12 14:57                 ` Robert Pluim
2018-04-12 16:02                   ` Drew Adams
2018-04-12 16:16                     ` Robert Pluim
2018-04-12 16:35                       ` Yuri Khan
2018-04-12 16:53                         ` Eli Zaretskii
2018-04-12 16:48                       ` Eli Zaretskii
2018-04-12 11:31             ` Eli Zaretskii

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=20180414214929381365153@bob.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.