key bindings

2005-06-15 Thread Payal Rathod
Hi all, I have this in my .screenrc bindkey -k k1 select 0 bindkey -k k2 select 1 bindkey -k k3 select 2 But this does not work in X. I want to assign a different key combination. Can someone suggest a good one and also how do I use it in my .screenrc with bindkey? Thanks in advance. With warm

Re: screen windows in KDE Konsole Tabs

2005-06-15 Thread Peder Stray
On Wed, 15 Jun 2005, Buddy Burden wrote: I can do a "ps -ef|grep PID" and then subtract 2 (one for the grep and one for the parent PID). But that isn't a good solution in my opinion. Nope, not very efficient, I wouldn't say. How about this? ps -eo ppid= | grep PID | wc -l Don't forg

Re: screen windows in KDE Konsole Tabs

2005-06-15 Thread Buddy Burden
Sascha, > I can do a "ps -ef|grep PID" and then subtract 2 (one for the grep and one > for > the parent PID). But that isn't a good solution in my opinion. Nope, not very efficient, I wouldn't say. How about this? ps -eo ppid= | grep PID | wc -l Don't forget that the PID in question

Re: screen windows in KDE Konsole Tabs

2005-06-15 Thread Sascha Brechenmacher
On Wednesday 15 June 2005 11:20, Juergen Weigert wrote: > On Jun 15, 05 08:49:45 +0200, Sascha Brechenmacher wrote: > > Hi, > > > > I'm searching for something like 'screen -r --list-windows' and then I > > receive an output with all existing windows for this screen session. > > no, that does not e

Re: screen windows in KDE Konsole Tabs

2005-06-15 Thread Juergen Weigert
On Jun 15, 05 08:49:45 +0200, Sascha Brechenmacher wrote: > Hi, > > I'm searching for something like 'screen -r --list-windows' and then I receive > an output with all existing windows for this screen session. no, that does not exist. > > Hope somebody can give me a hint or an other idea... Yo

screen windows in KDE Konsole Tabs

2005-06-15 Thread Sascha Brechenmacher
Hi, I want to write a short script that opens the different screen windows from one screen session in different KDE Konsole Tabs. The only problem I have (at the moment :-) )is to detect how many windows a screen session has. So my question, is it possible to detect the count of windows in an s