Bugs item #311540, was opened at 13/03/2009 12:08
Status: Open
Priority: 3
Submitted By: Simone Fittabile (greeno-guest)
Assigned to: Nobody (None)
Summary: add completion for 'screen' 
Distribution: Debian
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
I would like to know if existsted any trick for the GNU screen program.

I do not know any: it would be nice to complete screen command line with both a 
list of names of the started screens and their full identifier (eg. 23442.abcde)

The list afaik is gotten through '/bin/screen -l'

The completion would result in 'screen 23442.abcde' in case user writes 'screen 
abc[TAB]' or 'screen 234[TAB]'

It be useful to integrate it, would not it?


----------------------------------------------------------------------

Comment By: Simone Fittabile (greeno-guest)
Date: 16/03/2009 17:47

Message:
I was wrong, it existed the function to reattach / detach existing screens. The 
available list is from screen -ls.

It currently does not complete the second part of the screen name, eg: for 
23442.abcde , only matches for completion the first part of the screen name, 
i.e. 23442. If even typing abc[TAB] would complete with 23442.abcde

I made a patch for this. With it it is possible to only remember begin of the 
screen name, the completion will take care of the rest.
Also fixed with the patch, not completing the possible screen name when -r or 
-R s not the latest option passed.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311540&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to