[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new window
From: |
Buddy Burden |
Subject: |
Re: new window |
Date: |
Mon, 08 Nov 2004 12:57:27 -0500 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040917) |
Neszt,
screen -t title_of_window_0 0 bash, df -k, finger
screen -t title_of_window_0 0 bash -c 'df -k;finger;exec bash'
Alternatively (assuming we're talking about a .screenrc here as opposed
to just typing at screen's colon prompt), you could use the stuff command:
screen -t title_of_window_0 0 bash
stuff "df -k\015"
stuff "finger\015"
Of course you could jam it all into one "stuff" if you prefer, but I
usually break it up by commands. The advantage here would be that you
do more than just run commands:
screen -t notes
stuff "vi ~/notes\015"
stuff "Go\033!!date\015ZZ"
Although one thing I _haven't_ ever been able to make work is something
like:
screen -t neptune ssh neptune
stuff "mysecretpassword\015"
and if anyone knows how to make that happen, I'd sure appreciate it.
-- Buddy
- ps1, Neszt Tibor, 2004/11/04
- Re: ps1, Hendrik Mangels, 2004/11/04
- Re: ps1, Neszt Tibor, 2004/11/04
- Re: ps1, Joe Zbiciak, 2004/11/04
- Re: ps1, Neszt Tibor, 2004/11/04
- new window, Neszt Tibor, 2004/11/05
- Re: new window, Shigehiko SASAKI, 2004/11/05
- Re: new window,
Buddy Burden <=
- Re: new window, Emil Beinroth, 2004/11/10
- Re: new window, Buddy Burden, 2004/11/28
- Re: new window, Thomas Köhler, 2004/11/29