ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Re: better rpws


From: Nikolai :: lone-star :: Weibull
Subject: Re: [RP] Re: better rpws
Date: Thu Jun 26 09:27:24 2003
User-agent: Mutt/1.5.4i

On Thu, 26 Jun 2003 07:41:14 -0400, Joshua Neuheisel wrote something resembling:
> >From: "Michael Scottaline"
> >Isn't counting from 0 typically *nix fashion??
>
> Counting from 0 is a 'C' thing.  It just happens that unices tend to use a
> lot of C code.  If we used more code written in Fortran or Matlab (or
> octave), we would be counting from 1.  If we wrote everything in Perl, we
> could start counting from whatever we felt like that day...  The keyboard
> placement suggests 0 represents 10, but this is the whole
> is-the-ace-high-or-low problem.  In the end, it's arbitrary.
>
Workspaces, however, are generally numbered from 1 in other window
managers.  And, as they are generally accessed through hotkeys, this
numbering is quite logical, as if you want to browse through them
quickly, you start by pressing hotkey-1, hotkey-2, hotkey-3, and so
on...and thus all keypresses come in the order they are found on the
keyboard.  If you index from 0, you will be forced to move your hand to
the far right at first, then start over from the far left...which, to
me, feels rather odd.  Though, given that this is a simple shell script,
users could easily simply change the script to their liking.

enjoy,
        nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star       :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,php,war3  :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]