|
Re: new window: msg#00050gnu.screen.user
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Scrolling, copying in Mac OS X: 00050, Phil!Gregory |
|---|---|
| Next by Date: | Re: new window: 00050, Emil Beinroth |
| Previous by Thread: | Re: new windowi: 00050, Shigehiko SASAKI |
| Next by Thread: | Re: new window: 00050, Emil Beinroth |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |