🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #196922

Re: [Dialog] Bug? Change the shortcut, get a different function...

#196922
From: Deniz
Date: Thu, 22 Mar 2007 12:13
102 lines
5864 bytes
On Thu, 22 Mar 2007 06:53:00 +1100, May Pique wrote:

> On Tue, 20 Mar 2007 07:33:49 +0200, Deniz <invalid@invalid.invalid>
> wrote:
> 
>>Default shortcut keys for "Up to previous article" and "Down to next
>>article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
>>"CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
>>scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
>>CTRL assigned to these actions will result scrolling instead of navigation.
> 
> No that's a false assumption and doesn't gel with and standards for
> keymapping behaviour for those Ctrl_Cursor keys.

No. I'm not just talking about the CTRL + CURSOR keys. You may bind, for
example, CTRL + M to the "Up to previous article" action and when you press
it, it scrolls the pane up not navigates up.

> I can't really grasp why you'd even want to change those, because U
> and D are simply legacy bindings for same navigation control as what
> Cursor Up Arrow and Cursor Down Arrow do anyway.
> 
> They're throwbacks from the old "diamond" layout era, do you remember
> back then? Ever used an Apple ][ kbd, or iirc, most Z80 stuff were
> same. ie. no separate cursor keys? :)

No. I'm not that old enough to catch that era :). My first PC had the
cursor keys.

> Can you please elaborate further on why you want or need to reassign
> the Up/Down nav keys?

Sure. Although "U" and "D" are logical and catchy enough, in my keyboard
layout (QWERTY), they are not even close to form a "diamond" formation. I
am using a laptop so I don't have a seperate numpad set. Therefore it is no
use. I need closer keys, so that I can navigate easily. My first choice was
CTRL + UP/DOWN. Now that I can't use CTRL+ keys, I changed it to ","/"<"
for UP/DOWN navigation.

> Remember the IBM layout has two sets, so if yours aren't working turn
> off numlock and use the others.
> And you're always free to reassign U and D to something more useful
> too.

Apparently, I'm not that free.

>>And shortcuts with SHIFT will result in selecting multiple articles. ALT
> 
> Correct. 
> Shifted select == a spanned range of consecutive articles. 
> Ctrl shifted action == select selective articles, non ranged. 
> That's all stock Windows convention.

Yes, I know that. But when I bind SHIFT + SMT to Up action, I'm not using
Shifted select. It is just select triggered by a shortcut with the SHIFT
key. Of course if I use SHIFT + SMT for navigation, then I can't use
shifted select, or vice versa.

>>key does work as normal though. And, of course, I could assign single keys
>>and that does work normally.
>>
> 
> Whatever you assign, plan it right and make sure you don't multiple
> assign the same Key or Combo to dual function, otherwise you're
> inviting conflict.

Well, my version of Dialog is clever enough to point out duplications at
the binding stage. If you insist on the duplicate shortcut, it removes the
previous one. So, no worries in conflicts.

> Also, avoid assigning any Alternate key + letter if at all possible
> (and it is). Because for one reason, the Alt key is the default system
> wide Menus shift-state key, on Windows platform.

You are right. I'm not gonna use ALT+ bindings. My small experiment with
ALT was just to see what happens.

>>So, I am wondering whether this strange behavior with CTRL and SHIFT is a
>>bug or an expected behavior?
> 
> Depends on what your definition of strange is I suppose.

Stange: Unexpected. I don't expect to get a different function when I bind
a different shortcut for an action. Do you?

> Nothing strange that I see in all that.
> In all the time I used the Dog I never struck any such bug or even
> anomaly in its Keyboard handling. Also, most of its default bindings
> to commands, and those for navigation especially, were very clever
> thought out too.
> eg. Marcus made Home and End actually go to the real First (top) and
> real Last (bottom) article in the Msg List, and their Ctrl
> shiftedstate equivalents appropriately went to top and bottom of the
> pane.

I agree. But, I need to customize a few of those bindings :). Sure, I can
work around my problem by using different key sets. The post was to see if
this "strange" behaviour is intended for some greater purpose that I'm
missing.

-- 
Deniz
Technical Details
Message-ID: <1ctkcyuo15xz0.kufw4zb4jrr3.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.motzarella.org!not-for-mail
References: <1p4nql13mlpsa.yuyixm6dbdyb.dlg@40tude.net> <rh0303lvn3ao6h96j2sjd51olmnp5vd26g@s.s.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <1ctkcyuo15xz0.kufw4zb4jrr3.dlg@40tude.net>
Subject: Re: [Dialog] Bug? Change the shortcut, get a different function...
Date: Thu, 22 Mar 2007 14:13:57 +0200
From: Deniz <invalid@invalid.invalid>
References: <1p4nql13mlpsa.yuyixm6dbdyb.dlg@40tude.net> <rh0303lvn3ao6h96j2sjd51olmnp5vd26g@s.s.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 102
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: reader.motzarella.org
 U2FsdGVkX19YjWI9cvVwOcJCG40Siwm50JBPhiCKWcu5w6awrCmPIXZGb/X8o2/4oGJ3ItLoyspYx+PESS1cO+fqns2hcvxbsTjRuHKM+hTvY+/0rCJoSIkbQcUb4yMtk3usbKXS+d7gfdzjeBtOdcEVyn3moMcDZnmlSo5ArWQpXWG5rnqcS/rCg4vPb6jAm6EgDSaJkCFMaxidotTRwg4jjsJ3RCF9lCmSauA746zyXVL4VgaBLrdyc3V/Jak7
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Thu, 22 Mar 2007 12:14:04 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX19Fn6eVkArmwXUyLbGXG5+usujeRHNHeGw=
User-Agent: 40tude_Dialog/2.0.15.1