Re: ssh in new screen window

2009-02-25 Thread Geraint Edwards
Ken Nakamura said (on Tue, Feb 24, 2009 at 12:08:37PM -0800): > ${1...@} is for "the first arg string, removing up to and including the first > '@' char". Unfortunately, you have benignly described ${...@} When you double the '#', it means "be greedy" (longest match), so: ${...@

Re: ssh in new screen window

2009-02-24 Thread Ken Nakamura
On 2/24/09 11:51 AM, "Chris Henderson" wrote: > Out of curiosity: would anyone know what these "${1...@}" ssh "$@"; means? $@ is sh for the entire arg array, and ${1...@} is for "the first arg string, removing up to and including the first '@' char". see the bash man page section on parameter e

Re: ssh in new screen window

2009-02-24 Thread Chris Henderson
On Tue, Feb 24, 2009 at 5:50 AM, Andy Harrison wrote: > On Tue, Feb 24, 2009 at 12:43 AM, Chris Henderson > wrote: >> When I SSH to a server, I would like screen to open that SSH >> connection in a new window and (re)name that window as that server's >> name. I have seen this done somewhere befo

Re: ssh in new screen window

2009-02-24 Thread Andy Harrison
On Tue, Feb 24, 2009 at 12:43 AM, Chris Henderson wrote: > When I SSH to a server, I would like screen to open that SSH > connection in a new window and (re)name that window as that server's > name. I have seen this done somewhere before using hardstatus but I > don't have that config. Here's ho

ssh in new screen window

2009-02-23 Thread Chris Henderson
When I SSH to a server, I would like screen to open that SSH connection in a new window and (re)name that window as that server's name. I have seen this done somewhere before using hardstatus but I don't have that config. Here's my .screenrc file. startup_message off defscrollback 5 escape \0