Fw: File descriptors and screen and you

2007-02-08 Thread Joe Zbiciak
Alan, A named pipe is a special kind of file that you can use to connect two unrelated processes together without having to specifically set up a pipeline from the shell. You make a named pipe file with the "mknod" command as follows: "mknod /path/to/pipe p". The trailing "p" indicates tha

Re: New screen features available

2007-02-08 Thread Phil!Gregory
* Michael Schroeder <[EMAIL PROTECTED]> [2007-02-06 23:34 +0100]: > you probably wonder why the new version of screen is not already > available. Well, it got delayed a bit because of a couple of new > features I've added. Thank you. The work is appreciated. > - vertical split, complete with res

Re: File descriptors and screen and you

2007-02-08 Thread Alan Young
Michael Schroeder wrote: I want to avoid going the tmp file route if at all possible. Is there a way I can echo tty's output so that I can grab it from a filehandle? You need some interprocess communication way. Some ways could be - a named pipe (but that's close to a tmp file) I'm not as fa

Re: File descriptors and screen and you

2007-02-08 Thread Michael Schroeder
On 2/6/07, Alan Young <[EMAIL PROTECTED]> wrote: > I have a bit of perl code that I'm trying to make work: > > sub DB::get_fork_TTY { > >open my $SCREEN, qq{&3>1 screen -t 'Child $$' sh -c "tty &1>3 ; sleep > 100" |} > or return ''; > >my $tty = <$SCREEN>; > >return $tty; > } >

Re: File descriptors and screen and you

2007-02-08 Thread Alan Young
Andy Harrison wrote: What exactly are you trying to accomplish with your script? I'm trying to debug a perl script that forks multiple times. Anything less than 10 forks and it works just fine. If the script forks more than 10 times, at some random point past 10 the parent script process d

Re: New screen features available

2007-02-08 Thread Andy Harrison
On 2/6/07, Michael Schroeder <[EMAIL PROTECTED]> wrote: - window groups currently a bit ugly to create: screen -t //group creates a group named a group is a subset of windows, ^Aw will only display the current group and next/prev will not leave the group. Use ^A" to list all w

Re: File descriptors and screen and you

2007-02-08 Thread Andy Harrison
On 2/6/07, Alan Young <[EMAIL PROTECTED]> wrote: I have a bit of perl code that I'm trying to make work: sub DB::get_fork_TTY { open my $SCREEN, qq{&3>1 screen -t 'Child $$' sh -c "tty &1>3 ; sleep 100" |} or return ''; my $tty = <$SCREEN>; return $tty; } I'm getting bad fi

Re: New screen features available

2007-02-08 Thread Jean Jordaan
screen -W | -windowlist Same as -X windowlist, but send output to stdout Yes please! I'm looking for a way to autosort my windows, as I name them per directory, e.g. [...] 9 [EMAIL PROTECTED]:~/repos/svk/ArchGenXML-trunk !$ 10 [EMAIL PROTECTED]:~/repos/svn/svn.upfronthos

Re: New screen features available

2007-02-08 Thread Adam Monsen
On 2/8/07, Nikolai Weibull <[EMAIL PROTECTED]> wrote: On 2/8/07, Adam Monsen <[EMAIL PROTECTED]> wrote: > One feature that I'm excited for (but is probably more work for the > other project) is direct support for GNU Screen in gnome-terminal. > > http://bugzilla.gnome.org/show_bug.cgi?id=332148

Re: New screen features available

2007-02-08 Thread Nikolai Weibull
On 2/8/07, Adam Monsen <[EMAIL PROTECTED]> wrote: One feature that I'm excited for (but is probably more work for the other project) is direct support for GNU Screen in gnome-terminal. http://bugzilla.gnome.org/show_bug.cgi?id=332148 This is up to gnome-terminal, not screen. nikolai _