• You are not logged in.
  • Index
  • General
  • Dvorak user pondering - punctuation placement(++)?

Dvorak user pondering - punctuation placement(++)?

  • Started by DreymaR
  • 39 Replies:
  • Reputation: 0
  • Registered: 07-Jan-2007
  • Posts: 47
DreymaR said:

It seems I've been uninformed as to the full extent of my favourite god Loki's offspring. Søren, you're hilarious. Keep it up!  :D

Not surprising, Athena's secretive about her affairs. And Loki can respect a woman's wish when he wants to.

Well, I'm only a quarter of the way through Dan Woods Dvorak exercises. But typing's bearable now. I rearranged three keys because I wanted pl to type more easily (same trouble with gl but less frequent...and its not bad a straight {typematrix} or corrected { http://www.siteuri.ro/dvorak/ImprovedLayouts.php } keyboard).

And thanks to Andrei Stanescu dead comma, I not only have the " the" key but:
,. for ' a '
,a for ' I '
,- for ' in '
,e for ' we '
,h for ' the'
,u for ' you'
,d for ' and'
,t for ' to '
,f for ' of '
,s for ' is '
,x for 'that'
,y for 'why'
and ,r for ' for'
keys as well.

Best of all, I renamed my keys so that I can type on and use hot keys from QWERTY or Dvorak. No, seriously. I did. Control-C is no longer Control-G. Now it's "Control-jCggru" and to get 'I' (s;IIkr) on Dvorak I simply tap s;iikR.

                                                                           *-[{/* *=]}=*
'qBBx- ,wPPjl .eDDtw prLLaj ytVVmy      fy;:ic g*UU*h ciKKom roQQbf lpJJeg *[/?y* *]=+]*
aaSSni osNN-a edTTvo ufHHwe igRRlq      dhWWp, hjEEdt tkOOqn nlAAss s;IIkr -'ZZcy
;zCCgk qxFFh; jcGGru kvMM'' *bXXf*      bn-_[z mm'"zb w*,<*p v*.>*d z/YY;v **\**

`12345 67890[]
 bpdlv ;ukqj/=
 snthr weoaiz
 cfgmx -',.y\

~!@#$% ^&*(){}
 BPDLV :UKQJ?+
 SNTHR WEOAIZ
 CFGMX _"<>Y|

`123¤€ ¼½¾‘’«»
 456ð  üúöäå¿×
 789ñ® ¶éóáíç
 ß0þµ  ¥´øæ¡

~¹²³£  ^    
¢♀♂Ð  ÜÚÖÄÅ ÷
⌂☼☺Ñ© °ÉÓÁÍÇ
§☻Þ    ¨ØÆ

note `~, '," and ^ are dead keys when shifted with Alt-gr
Last edited by sorenk (27-Jan-2007 12:50:39)

"Things will get better despite our efforts to improve them" - Will Rogers
"...even the dog doesn't think I'm a monster." - Humphrey Bogart in The Caine Mutiny (1954)

Offline
  • 0
  • Reputation: 0
  • From: Saguenay Lac St-Jean
  • Registered: 29-Dec-2006
  • Posts: 24

I don't see the need to optimize a keyboard for programming. I'd like to know if someone can code at 60 wpm here. I'm pretty sure no one can. And with object programming today , why do you need to code fast? For most people, it's about finding the right class for the job!

Shift+brackets is good and fast enough.

Offline
  • 0
  • Reputation: 0
  • Registered: 07-Jan-2007
  • Posts: 47
ChaperonNoir said:

I don't see the need to optimize a keyboard for programming. I'd like to know if someone can code at 60 wpm here. I'm pretty sure no one can. And with object programming today , why do you need to code fast? For most people, it's about finding the right class for the job!

Shift+brackets is good and fast enough.

Huh, whaa...☺hh, you must mean ♂ understand ☼☺⌂ < ♀, ☺☻. I put in symbols because they don't interfere with typing. And they're useful for expressions and foreign words. The number pad under 123 is great if you're using a straight or corrected keyboard and like the phone-pad map.

Thank you much for commenting☺
-.*,

Last edited by sorenk (27-Jan-2007 21:11:50)

"Things will get better despite our efforts to improve them" - Will Rogers
"...even the dog doesn't think I'm a monster." - Humphrey Bogart in The Caine Mutiny (1954)

Offline
  • 0
  • Reputation: 0
  • Registered: 07-Jan-2007
  • Posts: 47

Done! ...at least until I make another revision.

I discovered that Microsoft (Windows XP) doesn't allow multiple characters to be called with dead keys ;-( So I remapped all my foreign characters to the "dead comma."

Note: Instead of using ',' + space for a single ',', I use ',' + '\' or AltGr + ',' so that when I type comma space, I get exactly that, ', '.

Then I mapped my common words to the freed AltGr keys.
So on AltGr I have:

AltGr
AltGr-shifted
    1   2   3   ¤   €   ¼   ½   ¾   ‘   ’   *.-,-.*,
    ¹   ²   ³   £   ¢       ⌂   ☼   ☺   ☻   ♀   ♂
    4   5   6   (   [    not to that as  it  why
    +   -   =   )   ]    Not To That As  It  Why
    7   8   9    and for we  the of  a   In
    ×   ÷   *    And For We  The Of  A   in
    z   0   /   {   «   with    ,    I   by
    Z   .   ?   }   »   With    <    i   By             

normal
shifted
`   1   2   3   4   5   6   7   8   9   0    waswere
~   !   @   #   $   %   ^   &   *   (   )    WasWere
b   p   d   l   v   ;   u   k   q   j    is  are
B   P   D   L   V   :   U   K   Q   J    Is  Are
s   n   t   h   r   w   e   o   a   i   
S   N   T   H   R   W   E   O   A   I
c   f   g   m   x   -   '   ,   .   y   
C   F   G   M   X   _   "   <   >   Y

The common words I used account for about 25% of most English writing. The one and two character words are surrounded by space and thee character words are proceeded by a space so they can't be used in succession without backspacing.

I also mapped AltGr to QWERTY "'. This makes my phone-number pad and common words more accessible (that's accessible-easy not to be confused with accessible-Microsoft-Sticky-Keys-FRUSTRATING)

Last edited by sorenk (29-Jan-2007 07:27:45)

"Things will get better despite our efforts to improve them" - Will Rogers
"...even the dog doesn't think I'm a monster." - Humphrey Bogart in The Caine Mutiny (1954)

Offline
  • 0
  • Reputation: 0
  • Registered: 07-Jan-2007
  • Posts: 47

Well, one more 'final' revision. I decided to move the number pad to shifted caps (could make for some odd shouting) and fill the altgr keys with 27 common words (excluding He and his).  And I set ',' + ',' to ','

normal:
`   1   2   3   4   5   6   7   8   9   0    hadhave
    b   p   d   l   v   ;   u   k   q   j    as  we
    s   n   t   h   r   w   e   o   a   i   AltGr
    c   f   g   m   x   -   '   ,   .   y

AltGr:
    ¹   ²   ³   ¤   €   ¼   ½   ¾   ‘   ’   *.-,-.*,
     be  but andthat or  not to  on  as      why=
     is  in  it with are was the of  a   I
    z    for at from/   =       ,    an  by

Dead comma:
,`,1,2,3,4,5,6,7,8,9,0, had,have
  [ ( ð { « ü ë ö ä å, as , we ¬
  ß ñ þ ,h® ú é ó á í
  ç ,f¶ µ ? ,-ø , æ !

Dead comma shifted:
  ] ) ð } » Ü Ë Ö Ä Å
  § Ñ Þ   © Ú É Ó Á Í
  Ç   ° M ¿   Ø  Æ ¡

"Things will get better despite our efforts to improve them" - Will Rogers
"...even the dog doesn't think I'm a monster." - Humphrey Bogart in The Caine Mutiny (1954)

Offline
  • 0
  • Reputation: 0
  • Registered: 08-Mar-2008
  • Posts: 303

I have a thought on punctuation. It may not feel as good (I haven't tried) but it would really narrow down same-finger ratio. On Dvorak, punctuation is a pretty big part of same finger issues. E is a pretty common last letter, and . is on the same finger as E. So my idea is to put all the punctuation on the index finger. Punctuation will almost never be used twice in a row. You could make the left index finger look like this:

  ,  '
R  .
V  ;

R and V don't have to go there, but R is a pretty common letter that isn't at the end of a word or near an apostrophe very often, and that's V's QWERTY position. With that arrangement, you will practically never use the index finger twice in a row.

Offline
  • 0
  • Reputation: 210
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,343

While that may be true, I fear its' a waste of the strong index finger's capacity to fill it up with punctuation. Punctuation is so rare compared to almost all the letters, which is why most of it has been handed to the weak little finger in both QWERTY and Colemak.

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 0
  • Registered: 08-Mar-2008
  • Posts: 303

If you're looking for home rows with rolling digraphs, I think Arensito and Capewell layouts to the best job of that.

a r e n b g s i t o

re, er, en, is, and to are all common digraphs. Part of the problem with that is that there's a lot of fingers moving outward. The Capewell layout is good too.

a e r s g b t n i o

This has er, re, nt, in, and on in easy positions, except that re moves outward.

On the main topic, I think QWERTY or Colemak punctuation is pretty good, except that I would switch , and . because . is more common, so it should be under the middle finger.

Offline
  • 0
  • Reputation: 1
  • Registered: 19-Jun-2007
  • Posts: 17

The period goes best on the top row so that it is close to the numbers. This helps significantly for typing decimal numbers, but especially for IT and network admins who have to enter a lot of IP addresses. And makes one rely less on the keypad (for various reasons: numlock doesn't work, no keypad, reaching back and forth, etc.). Similar consideration for the comma as some countries use that as the decimal separator.

Offline
  • 0
  • Reputation: 210
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,343

Ah, you have a point. I do remember that the dot and comma in Dvorak felt nice up there.

Nowadays I use the NumPad a lot when entering anything numerical (luckily for me, I have fully operational NumPads on all my boards!). The most annoying part is when I'm entering times in my spreadsheet and need to go back to the main key block for each colon!

For the most part, I'm with Shai when he says that the punctuation is generally too uncommon to be worth moving around. I also think it's a bit aesthetically pleasing to have the letters in one block and the punctuation outside. On the other hand, I did move the <> key into the letter block and it feels just fine - mostly since it's on the boundary between the right and left hands. So I guess I'd be fine with punctuation in the corners of each hand's key areas?

That'd in practice mean exchanging the Colemak G and J for the comma and dot (and in my case, having semi-/colon on the shifted comma/dot since that's how it's done on the Norwegian layout). There, they'd be placed perfectly centered for numerical input. The thought is fascinating and might be a boon to coders I suppose, but I'm not really interested in making a new layout variant right now and it may just not be worth the hassle.  ;)

An entirely different set of questions is what that would do to finger loads, hand loads and digraphs. I'm unable to answer those questions, I'm afraid.

Last edited by DreymaR (19-Apr-2008 13:39:38)

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 0
  • Registered: 08-Mar-2008
  • Posts: 303

Preface: It's fun to make long posts about things that happened more than a year ago.

"Capewell...doesn't use the home row enough."

I actually find that W, E, I, and O (QWERTY) are just as easy as the 2 center home row positions, and are better when you take into account finger rolling. However, I can't find any digraph lists that include less common things, so I can determine some good top row digraphs. Perhaps Shai The Master Of Links knows of such a list?

"So I decided to design my own optimum layout."

Lol, that makes 100 of us. That made me laugh.

"Why try to find the best keyboard when tomorrow there will be a better one"

Because it's fun!!

"Along the way I think I found the best technique for optimizing keyboard with current technology: make it an online game. Each player starts with an identical board. And the players take turns moving keys (like chess pieces) to achieve a certain goal of optimization. After each round the computer evaluates the board. The first player to reach the goal wins. Or if it a draw (both players decide to pass or have moved every key on the board once) the player with the highest stat wins. Then the board is stored in a data base. In addition the game could ask contestants what keyboard layout they use and then record key timings as they speak to establish optimal board positions."

That is a great idea, although it sounds hard to make. It would have a certain complexity to it: I make a move now that increases same finger ratio, so that I can move T to the home row next move.

"In short I realised human intuition can do a good job choosing keys"
Yeah. Colemak and Arensito, my 2 favorites, were made based on intuition. You really have to have an intimate knowledge of keyboards. I have spent hours rearranging keys and trying to find good layouts, and haven't found anything better than Dvorak without actually working off Dvorak to fix a couple bugs. One reason that humans are better than computers (but slower) at designing keyboards is that with all the current genetic algorithms, it switches 2 random keys. Humans analyze the situation and find 2 keys that it would be a good idea to switch. If people just grabbed 2 keys at random and switched them, they would make much worse keyboards. Computers take the advantage when, at thousands of swaps per second, sometimes they accidentally do some good swaps.

Dear Sorenk:

KCDMFVWU.J
OSTNHLREAI
'GPBZX;,QY

Reduced to the main 30 keys and with Y moved so it is on those 30 keys, this layout scores just above Arensito and just below Capewell (with 7.82). Finger count is nearly as good as Colemak and Arensito, but hand count is worse than all the other layouts I have data on except QWERTY.

How do I do that thing where there's a little box and it says

CODE:

and then all the keys are neatly lined up?

"Did you run a sufficiently representative and comprehensive syllabus through it?"

A note on this. I have 2 blocks of code I test things by, one that's 120 pages and one that's 20 pages, so it will go faster. The 20 page one is about 98% as accurate as the 120 page one, which is partly because I took out anything that could skew letter frequency, such as one part where I wrote:
EXCLAMATION MARK PARTY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Yes, that was actually in a document I had. I have no idea why.

"I no happy that to, changed board little. Voice (td nm kg pb fv wu rl jy) help recal & look good. I think good too for japanese with roman character write. "

I have no idea what that means.

Wait, I just read the next sentence. (I am typing this as I read.) You are using your layout, so you are typing really weird. I don't really get that...but whatever.

"Søren, you're hilarious. Keep it up!"

I second that.

Well I have now responded to every single tiny comment on this threat, so I am finished.

Last edited by SpeedMorph (20-Apr-2008 17:51:22)
Offline
  • 0
  • Reputation: 210
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,343

"Preface"?! Disclaimer, you mean.  ;)

To prove that I actually read all that, here' the answer to a question you buried in there:
The "code" function, leading to a box of monospaced text with scroll bars (if it's long), can be used in a BBCode document by making a "code" tag (and a "/code" one to end it of course). (You use [] around tags.)

When you're posting you see a link right below the text box that says "BBCode:" - press that and read it for a walkthrough.

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Reputation: 0
  • Registered: 08-Mar-2008
  • Posts: 303

I am back to comment on more stuff. I must comment on every aspect of every thread on this entire forum!!! Then I will be the forum king!!

You don't create a layout for one specific text. You first make a big corpus (minimum 8MB) of text from many different sources.

I don't think you have to have 8MB. I made a 6MB (2000 page) corpus that is very very close to the letter frequency from deafandblind.com, the only differences being a few switches in that central area of M to B, where all the letters are pretty close in frequency. In fact, only 2 letters are different.

Mine
etaoinsrhldcumfgywpbvkxjqz
etaoinsrhldcumfgpwybvkxjqz
Deafandblind's

I attribute its accuracy to the wide variety of text, which I think is more important than having a lot. I have about 150 pages of documents, 250 or so of C code, about 500 of casual writing such as forums and emails, 500 of news articles, and 600 of about 8 different books from Project Gutenberg. (I didn't want too much of any one book, so I have at most 100 pages of a book.)

About OstnReai: It beats Colemak on 5 of 8 aspects (travel distance, same finger, home row jumping, hand warping, and rolls) and loses on 3 of 8 (same hand, row changing, and moving to center on the same hand). It still loses to Colemak though, because it is very close on the stats it wins at. The score is less than 5% worse though. Also a problem which my program doesn't register (because it's not exactly a problem) is that the right index doesn't have much stress, only 12% when it could handle more like 15-20%.

I think a good placement for punctuation, even if it doesn't feel great, is on vowels, especially ones that aren't E. The vowels other than E don't end words very frequently, and digraphs with punctuation aren't that common in the first place, so same finger is kept low that way.

I don't see the need to optimize a keyboard for programming. I'd like to know if someone can code at 60 wpm here. I'm pretty sure no one can. And with object programming today , why do you need to code fast? For most people, it's about finding the right class for the job!

That is very true, most of the slowness in programming comes from thinking time. But it does help to be able to type code more quickly. Maybe I can only type code at 40 WPM, but if the rarer keys like * and [ were in even worse positions, maybe I'd only be able to do 30.

I have a thought on punctuation. It may not feel as good (I haven't tried) but it would really narrow down same-finger ratio. On Dvorak, punctuation is a pretty big part of same finger issues. E is a pretty common last letter, and . is on the same finger as E. So my idea is to put all the punctuation on the index finger. Punctuation will almost never be used twice in a row. You could make the left index finger look like this:

  ,  '
R  .
V  ;

R and V don't have to go there, but R is a pretty common letter that isn't at the end of a word or near an apostrophe very often, and that's V's QWERTY position. With that arrangement, you will practically never use the index finger twice in a row.

Wow, I had some really dumb ideas three months ago.

Anyway, I think Colemak punctuation is pretty good. The layouts I designed had comma in that position, apostrophe where period is, and period on the top of a pinky. That's a bit better, I think. Also if you take into account the shifted state, < and > are really stupid things to have on the main 30 keys. They are extremely uncommon. The 8 most common punctuation are . , - ' " ( ) ? So I'd make . , - ' be the unshifted keys and give ( ) to whichever 2 punctuation are next to each other, and put " and ? on the remaining keys. " would go on ' if possible because that makes logical sense. But also I could understand a Dvorak-like placement of - because the key to the left of the pinky isn't too hard to reach, and I think (just speculating here) that moving keys in and out of the main 30 keys could be confusing.h

Offline
  • 0
  • Reputation: -1
  • Registered: 14-Dec-2012
  • Posts: 212

If managed to put the punctuation marks in the Dvorak position,  IMHO you would reduce the work the right hand has to do.

My ideal layout would be.

± |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | [ | ] | backspace
Tab | Q | , | . | P | G | J | L | U | Y | K | - | +| \ |
BSp | A | S | E | T | D | H | N | R | I | O | ' | Enter
Shift | Z | X | C | V | B | F | M | W | : | / | Shift

or

± | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | [ | ] | backspace
Tab | ' | , | . | P | F | G | L | U | J | Q | : | +| \ |
BSp | A | S | E | T | D | H | N | R | I | O | - | Enter
Shift | Z | X | C | V | B | K | M | W | K | / | Shift

What do you think Shai?

Last edited by knightjp (05-Jan-2013 13:06:33)
Offline
  • 0
  • Reputation: 210
  • From: Viken, Norway
  • Registered: 13-Dec-2006
  • Posts: 5,343

I think the W and F positions are two of the best on the board. Using them on punctuation seems a waste to me. Also, many words including the common 'the' end with an E and you want to make S, and E. same-finger digrams which sounds like a bad idea.

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • Index
  • General
  • Dvorak user pondering - punctuation placement(++)?