Moving to window numbers which are > 10

Johan Svedberg <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
* Feb 09 17:09 Levesque, Jean-Yves <[email protected]>:

[...]

> Not true if the number is greater than 10, which is a problem. If we
> could use 12<enter>, then I believe this discussion would go away.

This is how I do it:

    bind - command -c select_1n
    bind -c select_1n 0 select 10
    bind -c select_1n 1 select 11
    bind -c select_1n 2 select 12
    bind -c select_1n 3 select 13
    bind -c select_1n 4 select 14
    bind -c select_1n 5 select 15
    bind -c select_1n 6 select 16
    bind -c select_1n 7 select 17
    bind -c select_1n 8 select 18
    bind -c select_1n 9 select 19
    bind -c select_1n - command -c select_2n
    bind -c select_2n 0 select 20
    bind -c select_2n 1 select 21
    bind -c select_2n 2 select 22
    bind -c select_2n 3 select 23
    bind -c select_2n 4 select 24
    bind -c select_2n 5 select 25
    bind -c select_2n 6 select 26
    bind -c select_2n 7 select 27
    bind -c select_2n 8 select 28
    bind -c select_2n 9 select 29
    bind -c select_2n - select -

-- 
Johan Svedberg, [email protected], http://johan.svedberg.pp.se/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/NhFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/gnu-screen/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.