unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keyboard for emacs?
@ 2006-12-27  2:32 Ronald
  2006-12-27  2:56 ` ken
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Ronald @ 2006-12-27  2:32 UTC (permalink / raw)


Is today's keyboard suitable for using emacs?

I saw an old one today on en.wikipedia.org/wiki/vi.

The layout is more suitable for vi and emacs.

I doubt today's popular keyboard layouts is not mainly for programmers, 
especially UNIX programmers.

Any good idea?

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

* Re: keyboard for emacs?
  2006-12-27  2:32 keyboard for emacs? Ronald
@ 2006-12-27  2:56 ` ken
  2006-12-27  2:56 ` Ryo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 15+ messages in thread
From: ken @ 2006-12-27  2:56 UTC (permalink / raw)
  Cc: help-gnu-emacs


On 12/26/2006 09:32 PM somebody named Ronald wrote:
> Is today's keyboard suitable for using emacs?
> 
> I saw an old one today on en.wikipedia.org/wiki/vi.
> 
> The layout is more suitable for vi and emacs.
> 
> I doubt today's popular keyboard layouts is not mainly for programmers,
> especially UNIX programmers.
> 
> Any good idea?

If you're using GNU/Linux you can program the keyboard to any layout you
want.

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

* Re: keyboard for emacs?
  2006-12-27  2:32 keyboard for emacs? Ronald
  2006-12-27  2:56 ` ken
@ 2006-12-27  2:56 ` Ryo
  2006-12-27 11:34   ` ken
                     ` (2 more replies)
  2006-12-28 16:51 ` B. Smith-Mannschott
       [not found] ` <mailman.2448.1167324696.2155.help-gnu-emacs@gnu.org>
  3 siblings, 3 replies; 15+ messages in thread
From: Ryo @ 2006-12-27  2:56 UTC (permalink / raw)


Hi

Ronald wrote:
> Is today's keyboard suitable for using emacs?
>
> I saw an old one today on en.wikipedia.org/wiki/vi.
>
> The layout is more suitable for vi and emacs.
>
> I doubt today's popular keyboard layouts is not mainly for programmers,
> especially UNIX programmers.
>
> Any good idea?

I'm not sure if I understand your problem correctly, but . . .
1) I think that the most common English keyboards which come with
 DOS/V PCs are annoying if used with vi and emacs because the
 ESC key is far above and the Ctrl key is far below.
2) There are keyboards with the Ctrl key to the left of the
 "A" key and the ESC key to the left of the "1/!" key,
 such as the one I use (Happy Hacking Keyboard).
3) It is possible to change key-layouts "software-wise".
 For example, when I have to use the annoying PC keyboard,
 I exchange Ctrl with Caps.  I don't physically replace the
 plastic pieces, but install a piece of software or make a
 software arrangement so that the physical Caps key functions
 as a Ctrl key.

Regards,
Ryo

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

* Re: keyboard for emacs?
  2006-12-27  2:56 ` Ryo
@ 2006-12-27 11:34   ` ken
       [not found]   ` <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>
  2007-01-24 17:26   ` David Combs
  2 siblings, 0 replies; 15+ messages in thread
From: ken @ 2006-12-27 11:34 UTC (permalink / raw)



On 12/26/2006 09:56 PM somebody named Ryo wrote:
> Hi
> 
> Ronald wrote:
>> Is today's keyboard suitable for using emacs?
>>
>> I saw an old one today on en.wikipedia.org/wiki/vi.
>>
>> The layout is more suitable for vi and emacs.
>>
>> I doubt today's popular keyboard layouts is not mainly for programmers,
>> especially UNIX programmers.
>>
>> Any good idea?
> 
> I'm not sure if I understand your problem correctly, but . . .
> 1) I think that the most common English keyboards which come with
>  DOS/V PCs are annoying if used with vi and emacs because the
>  ESC key is far above and the Ctrl key is far below.

Even without any remapping of the keyboard, C-[ (i.e., Ctrl and '[' keys
at the same time) = ESC.  This functionality goes back to DOS v.1.0.  So
I almost never use ESC... only when one hand is holding a sandwich.


> 2) There are keyboards with the Ctrl key to the left of the
>  "A" key and the ESC key to the left of the "1/!" key,
>  such as the one I use (Happy Hacking Keyboard).

In the early days, *all* keyboards were like that... the CapsLock was in
the same place it was on all typewriters (i.e., *not* next to the 'A'
key).  Conspiracy theory had it that M$ had a hand in moving the Ctrl
key to the periphery in order to defeat its word processing rival,
Wordstar (which made heavy use of the Ctrl key), and promote its own Word.


> 3) It is possible to change key-layouts "software-wise".
>  For example, when I have to use the annoying PC keyboard,
>  I exchange Ctrl with Caps.  I don't physically replace the
>  plastic pieces, but install a piece of software or make a
>  software arrangement so that the physical Caps key functions
>  as a Ctrl key.

Right.  I've always been able to find shareware for DOS/Windows to do
this.  On Linux there's a few ways-- already built into Linux-- to swap
Ctrl and CapsLock.


> 
> Regards,
> Ryo
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: keyboard for emacs?
       [not found]   ` <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>
@ 2006-12-27 13:07     ` Tom Horsley
  2006-12-28  0:26       ` Ryo
  2006-12-28 15:11     ` Mark Geary
  1 sibling, 1 reply; 15+ messages in thread
From: Tom Horsley @ 2006-12-27 13:07 UTC (permalink / raw)


> > 3) It is possible to change key-layouts "software-wise".
> >  For example, when I have to use the annoying PC keyboard,
> >  I exchange Ctrl with Caps.  I don't physically replace the
> >  plastic pieces, but install a piece of software or make a
> >  software arrangement so that the physical Caps key functions
> >  as a Ctrl key.

Or maybe you just need one of these:

http://www.artlebedev.com/everything/optimus/

(Ah, if only it was real - might be someday, but has slipped more
times than Charlie Chaplin so far :-).

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

* Re: keyboard for emacs?
  2006-12-27 13:07     ` Tom Horsley
@ 2006-12-28  0:26       ` Ryo
  0 siblings, 0 replies; 15+ messages in thread
From: Ryo @ 2006-12-28  0:26 UTC (permalink / raw)


Tom Horsley wrote:
> > > 3) It is possible to change key-layouts "software-wise".
[. . .]
> Or maybe you just need one of these:
>
> http://www.artlebedev.com/everything/optimus/

Bravo! It would solve all keyboard-related questions
(and even some non-keyboard-related ones, like
Which city is the capital of Russia? :-)
See http://www.artlebedev.com/everything/optimus/answers/
)

Thanks for the info!

Ryo

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

* Re: keyboard for emacs?
       [not found]   ` <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>
  2006-12-27 13:07     ` Tom Horsley
@ 2006-12-28 15:11     ` Mark Geary
  2006-12-28 16:02       ` Peter Dyballa
                         ` (3 more replies)
  1 sibling, 4 replies; 15+ messages in thread
From: Mark Geary @ 2006-12-28 15:11 UTC (permalink / raw)


In article <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>,
ken  <gebser@speakeasy.net> wrote:
> 
> On 12/26/2006 09:56 PM somebody named Ryo wrote:
> > 
> > 3) It is possible to change key-layouts "software-wise".
> >  For example, when I have to use the annoying PC keyboard,
> >  I exchange Ctrl with Caps.  I don't physically replace the
> >  plastic pieces, but install a piece of software or make a
> >  software arrangement so that the physical Caps key functions
> >  as a Ctrl key.
> 
> Right.  I've always been able to find shareware for DOS/Windows to do
> this.  On Linux there's a few ways-- already built into Linux-- to swap
> Ctrl and CapsLock.

Does anyone know how to do this on Mac OS X? Swapping the CapsLock and
the left Ctrl key only (leaving the right Ctrl as is)?

Mark Geary
-- 
Don't forget to stop and eat the roses.

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

* Re: keyboard for emacs?
  2006-12-28 15:11     ` Mark Geary
@ 2006-12-28 16:02       ` Peter Dyballa
  2006-12-28 16:51       ` B. Smith-Mannschott
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 15+ messages in thread
From: Peter Dyballa @ 2006-12-28 16:02 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 28.12.2006 um 16:11 schrieb Mark Geary:

> Does anyone know how to do this on Mac OS X? Swapping the CapsLock and
> the left Ctrl key only (leaving the right Ctrl as is)?

The Carbon Emacsen and also Emacs.app allow this.

--
Greetings

   Pete

Eat the rich – the poor are tough and stringy.

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

* Re: keyboard for emacs?
  2006-12-27  2:32 keyboard for emacs? Ronald
  2006-12-27  2:56 ` ken
  2006-12-27  2:56 ` Ryo
@ 2006-12-28 16:51 ` B. Smith-Mannschott
       [not found] ` <mailman.2448.1167324696.2155.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 15+ messages in thread
From: B. Smith-Mannschott @ 2006-12-28 16:51 UTC (permalink / raw)



On Dec 27, 2006, at 03:32, Ronald wrote:

> Is today's keyboard suitable for using emacs?

The best keyboard I've found for using emacs has to be my kinesis  
contoured keyboard [1].

   [1] http://www.kinesis-ergo.com/contoured_usb.htm

This is primarily because control and alt (meta) are located within  
easy reach of my thumbs (along with space, delete, backspace,  
enter ...) and a few other keys. I have the two primary emacs  
modifiers (control, meta) in easy reach of both hands. No need to  
hunt for that pesky escape key.

That said, I can work with a happy hacking keyboard comfortably  
because the control key is just next to the A, and I've remapped my  
macbook's caps lock key to function as a second control key. That's  
also satisfactory.

It would be very different (i.e. craptastic) if I were unable to  
remap control, particularly since the macbook has an [fn] key in the  
corner where one might expect to find control.

// ben

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

* Re: keyboard for emacs?
  2006-12-28 15:11     ` Mark Geary
  2006-12-28 16:02       ` Peter Dyballa
@ 2006-12-28 16:51       ` B. Smith-Mannschott
  2006-12-29  2:51       ` Alexey Pustyntsev
       [not found]       ` <mailman.2478.1167359844.2155.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 15+ messages in thread
From: B. Smith-Mannschott @ 2006-12-28 16:51 UTC (permalink / raw)



On Dec 28, 2006, at 16:11, Mark Geary wrote:

>> Right.  I've always been able to find shareware for DOS/Windows to do
>> this.  On Linux there's a few ways-- already built into Linux-- to  
>> swap
>> Ctrl and CapsLock.
>
> Does anyone know how to do this on Mac OS X? Swapping the CapsLock and
> the left Ctrl key only (leaving the right Ctrl as is)?

I've just settled on remapping Caps Lock to Ctrl since I don't use  
Caps Lock. This can be accomplished via System Preferences >>  
Keyboard & Mouse >> Keyboard >> Modifier Keys. Maybe that's "good  
enough" [tm]?

FWIW back in the old days (ADB) the mac never distinguished between  
left and right modifier keys. I don't know if this is still the case  
with USB keyboards.

// ben

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

* Re: keyboard for emacs?
       [not found] ` <mailman.2448.1167324696.2155.help-gnu-emacs@gnu.org>
@ 2006-12-28 18:36   ` jmg3000
  0 siblings, 0 replies; 15+ messages in thread
From: jmg3000 @ 2006-12-28 18:36 UTC (permalink / raw)


B. Smith-Mannschott wrote:
> On Dec 27, 2006, at 03:32, Ronald wrote:
>
> > Is today's keyboard suitable for using emacs?
>
> The best keyboard I've found for using emacs has to be my kinesis
> contoured keyboard [1].
>
>    [1] http://www.kinesis-ergo.com/contoured_usb.htm
>

I'll 2nd that. I saved up and bought one for work and one for home (got
the PS/2 models b/c the USB hadn't been released yet). Using them with
the dvorak layout too. Best gear I ever bought. Hope to never have to
go back to a ``conventional'' keyboard.

There's an emacswiki page on this keyboard, btw:
http://www.emacswiki.org/cgi-bin/wiki/KinesisKeyboard

---John

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

* Re: keyboard for emacs?
  2006-12-28 15:11     ` Mark Geary
  2006-12-28 16:02       ` Peter Dyballa
  2006-12-28 16:51       ` B. Smith-Mannschott
@ 2006-12-29  2:51       ` Alexey Pustyntsev
       [not found]       ` <mailman.2478.1167359844.2155.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 15+ messages in thread
From: Alexey Pustyntsev @ 2006-12-29  2:51 UTC (permalink / raw)



Hi all!


I am not a Mac OS X user (I run Gentoo), but I successfully changed the
qwerty layout into dvorak. I just created a brand new file named
dvorak-ru, put it into /etc/X11/xkb/symbols/pc and set the Option
"XkbLayout" to "dvorak, dvorak-ru" in the xorg.conf file. As you have
correctly guessed, Mr. Dvorak did not invented his layout for Russians,
so that was custom re-mapping of almost the whole keyboard, not just 2
keys.

It seems to me the above method should work for any unix-like OS. Have
a look at the syntax of the files like 'dvorak' or 'latin' in the
~/xkb directory. It is very simple. You could even write your own bash 
(python/perl) script so that your layout swaps upside down as soon as
your display gets locked while you are away  :) (not a 'silver
bullet', of course, but that can make the snooper's life  a little
bit more complicated) ! You get the idea.

geary@fnord.io.com (Mark Geary) writes:

> Does anyone know how to do this on Mac OS X? Swapping the CapsLock and
> the left Ctrl key only (leaving the right Ctrl as is)?
>
> Mark Geary

Off-topic: I am very pleased to join the GNU Emacs community. Let me
wish all of you well in the New Year.

-- 
Rgds
Alexey

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

* Re: keyboard for emacs?
       [not found]       ` <mailman.2478.1167359844.2155.help-gnu-emacs@gnu.org>
@ 2006-12-29 11:52         ` Eugene Oleinik
  2006-12-29 16:12           ` Alexey Pustyntsev
  0 siblings, 1 reply; 15+ messages in thread
From: Eugene Oleinik @ 2006-12-29 11:52 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]

>>>>> Alexey Pustyntsev on Fri, 29 Dec 2006 12:51:18 +1000 wrote:

> As you have correctly guessed, Mr. Dvorak did not invented his
> layout for Russians, so that was custom re-mapping of almost the
> whole keyboard, not just 2 keys.

There is a very nice recipe on EmacsWiki, where keys are remapped
via Emacs facility.  It's a better way for our task, because it'll
work in plain terminal.

http://www.emacswiki.org/cgi-bin/wiki/WritingRussianWithDvorak

-- 
All the best, eo.

STARLAN SHA Reno Medco class struggle Al Jazeera BATF lynch
anarchy Rule Psix Treasury John Kerry AUTODIN CNCIS analyzer

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: keyboard for emacs?
  2006-12-29 11:52         ` Eugene Oleinik
@ 2006-12-29 16:12           ` Alexey Pustyntsev
  0 siblings, 0 replies; 15+ messages in thread
From: Alexey Pustyntsev @ 2006-12-29 16:12 UTC (permalink / raw)




Eugene Oleinik <eo@aoizora.org> writes:

> There is a very nice recipe on EmacsWiki, where keys are remapped
> via Emacs facility.  It's a better way for our task, because it'll
> work in plain terminal.
>
> http://www.emacswiki.org/cgi-bin/wiki/WritingRussianWithDvorak
>
> -- 
> All the best, eo.

That's interesting. I started using dvorak long before I dived into
Emacs that's why my solution is different.

Eugene, thanks a lot.

-- 
Rgds
Alexey

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

* Re: keyboard for emacs?
  2006-12-27  2:56 ` Ryo
  2006-12-27 11:34   ` ken
       [not found]   ` <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>
@ 2007-01-24 17:26   ` David Combs
  2 siblings, 0 replies; 15+ messages in thread
From: David Combs @ 2007-01-24 17:26 UTC (permalink / raw)
  To: help-gnu-emacs

In article <1167188207.954542.311960@79g2000cws.googlegroups.com>,
Ryo <furufuru@ccsr.u-tokyo.ac.jp> wrote:
>Hi


>2) There are keyboards with the Ctrl key to the left of the
> "A" key and the ESC key to the left of the "1/!" key,
> such as the one I use (Happy Hacking Keyboard).

Yep -- SUN sells them -- it's their "TYPE 6" (USB) -- and
it's CHEAP!   A real deal!   Makes emacs *possible*!

David

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

end of thread, other threads:[~2007-01-24 17:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-27  2:32 keyboard for emacs? Ronald
2006-12-27  2:56 ` ken
2006-12-27  2:56 ` Ryo
2006-12-27 11:34   ` ken
     [not found]   ` <mailman.2396.1167219322.2155.help-gnu-emacs@gnu.org>
2006-12-27 13:07     ` Tom Horsley
2006-12-28  0:26       ` Ryo
2006-12-28 15:11     ` Mark Geary
2006-12-28 16:02       ` Peter Dyballa
2006-12-28 16:51       ` B. Smith-Mannschott
2006-12-29  2:51       ` Alexey Pustyntsev
     [not found]       ` <mailman.2478.1167359844.2155.help-gnu-emacs@gnu.org>
2006-12-29 11:52         ` Eugene Oleinik
2006-12-29 16:12           ` Alexey Pustyntsev
2007-01-24 17:26   ` David Combs
2006-12-28 16:51 ` B. Smith-Mannschott
     [not found] ` <mailman.2448.1167324696.2155.help-gnu-emacs@gnu.org>
2006-12-28 18:36   ` jmg3000

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 read-only IMAP folder(s) and NNTP newsgroup(s).