[haiku-development] Re: Keymaps and Command key

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 20 Aug 2008 10:44:28 +0200

On Wed, 20 Aug 2008 17:12:43 +1000, David McPaul wrote
>On 2008-08-20, Dustin Howett <alaricx@xxxxxxxxx> wrote:
>>On Wed, Aug 20, 2008 at 1:53 AM, Ari Haviv <arielbhaviv@xxxxxxxxx> wrote:
>>> We should have something like this in the FAQ:
>>> Why don't keyboard shortcuts, such as Control-C for copy, work?
> 
> This is certainly a good question for a FAQ.  But part of the answer
> needs to include the fact that it is configurable so if you want to
> use CTRL then change it.

I think it's pretty important that this is documented properly.

>> But then, one would have to ask-
>> "Why was the decision to change the global shortcut modifier based on
>> the behaviour of a single program?"
> 
> Because Ctrl-C is not an arbitrary choice.
> ...
> So now we have a problem how to use Ctrl-C to send SIGINT and how to
> use Ctrl-C to copy text and copy files.  The BeOS answer was to
> seperate out the functions and use ALT-C for copy etc.  Haiku follows
> the BeOS guidelines.

I really fail to see why we are having this discussion at all. There is Alt by
default and then there is the option to switch it to Control. If you switch it
to Control then the Alt and Control keys will simply be swapped. So in
Terminal you will just use Alt-C for SIGINT instead of Control-C and Control-C
will be used for copying text as everywhere else. It's like either you have
Control-C inverted for the whole system but normal in Terminal, or you have
Control-C inverted in Terminal and have the rest of the system the same as
other OSes. This is IMHO the sanest way of handling it instead of using
another modifier or even doing what the Windows cmd does.

I personally always switch it to Control because I have to use Windows at work
all day long and then switch to BeOS/Haiku for the rest of the day. So I like
having one consistent shortcut for the whole day. Generally seeing that
Windows and Linux, the operating systems where most of our future users will
come from, are using Control, I think it would be sensible to be consistent
with them and not stick with an inherited default coming from the very
beginning of BeOS. In the light of our vision to be void of unnecessary
complexities, having to find out that Alt is used as opposed to most of todays
personal computing world and then having to figure out how to switch it, just
doesn't really fit.

But that is probably just too much a matter of personal opinion and as it's
configurable, having it documented properly should be OK.

Regards
Michael

Other related posts: