Screen: Renumbering Windows to Fill Gaps
After running a single session of screen for a long time, I often find that I have several gaps in the numerical ordering of windows. Using :number is definitely feasible, but it takes a bit more effort than I’d care to contribute every time I want to make my windows contiguously numbered.
I’ve created a patch against CVS HEAD to fill in the holes of the window numbering. It simply moves windows to lower positions until there are no holes left. Any [constructive] comments are welcome.
The patch can be found here. It was also sent to the screen-devel mailing list.
1 Comment »
RSS feed for comments on this post. TrackBack URI
[...] remain nameless since he didn’t post to the list proper, sent me this in response to my proposed patch: I would never use this feature because I would rather that window #n always remain window #n, but [...]