bugGNU Screen - Bugs: bug #15469, RFE: relative arguments in...

 
 

bug #15469: RFE: relative arguments in "number" command

Submitter:  Jay Knight <jk3us>
Submitted:  Tue 17 Jan 2006 08:07:01 PM UTC
   
 
Category:  Feature Request Severity:  1 - Wish
Priority:  * 3 - Low Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Fixed Release:  4.1.0 Planned Release:  Later
Work Required:  0 - Hours
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Jul 2008 05:17:09 AM UTC, comment #2: 

Fixed in 5e97f6b72586af80dee92396bb7e795902b59200.

Sadrul Habib Chowdhury <sadrul>
Group administrator
Fri 11 Jul 2008 03:40:51 AM UTC, comment #1: 

This sounds like a somewhat useful feature. I have attached a patch that adds this feature. With it, the following bindings work:

    bind , number -1
    bind . number +1


(file #16095)

Sadrul Habib Chowdhury <sadrul>
Group administrator
Tue 17 Jan 2006 08:07:01 PM UTC, original submission:  

Allow "number" to take arguments like "+1" or "-2" to change the window number relative to the current number.  As an exmaple, if window 4 is the currently selected window, then issuing the command 'number -1' would be equivelant to issuing the command 'number 3'.

The reason I want this functionality is to set up key bindings to effectively move a window.  For example, if I have windows numbered 0-4 already open, and want to open a new one and position it after #2, I would have to open a new window (#5) and manually issue the number command with 4 and then 3 (don't want to loose my current ordering).  I would like to be able to just hit something like Ctrl+< until it is where I want it.

Jay Knight <jk3us>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sadrul (Updated the item)
  • -email is unavailable- added by micahcowan (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-11 sadrul StatusNeed Discussion Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1.0
    2008-07-11 sadrul Attached File- Added 0001-Allow-relative-arguments-for-the-number-command.patch, #16095
    2008-06-23 micahcowan CategoryNone Feature Request
        Planned ReleaseNone Later
        Work RequiredNone 0 - Hours
    2008-06-15 micahcowan Priority5 - Normal 3 - Low
        StatusNone Need Discussion
    2008-06-13 micahcowan Severity3 - Normal 1 - Wish

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code