[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attaching detached sessions to the current one
From: |
Joe Zbiciak |
Subject: |
Re: attaching detached sessions to the current one |
Date: |
Tue, 16 May 2006 06:34:36 -0700 (PDT) |
"Me too!"
Freaky thing is, this *may actually be possible*.
If screen develops the capability to import TTY FDs from another process, then
the answer may be as simple as a wrapper around your shell that does little
more than hold the FDs for your TTY, and pipes them through. (Well, it'd also
need to do the right things w/ signals, but let's not get caught up in
details.) You could arrange for this to run from your login scripts (or
perhaps .cshrc/.bashrc if you're careful--it'd have to somehow autodetect its
or screen's presence to avoid recursion). Such a wrapper could be very, very
lightweight, since it wouldn't even need to do any terminal emulation, since
it's not doing any terminal multiplexing. All it'd need to know how to do is
surrender its FDs over a UNIX domain socket when requested by screen for the
import.
If screen sprouts the aforementioned capability, can we get that wrapper as a
tool also? I'd add it to my login scripts in a heartbeat. It'd be like
"screen, ultra light." So light weight there's no excuse NOT to run it.
--Joe
We sell Spatulas, and that's all!http://spatula-city.org/~im14u2c/
http://sdk-1600.spatula-city.org/
http://intyos.spatula-city.org/
----- Original Message ----
From: Dave Waxman <address@hidden>
To: address@hidden
Sent: Tuesday, May 16, 2006 8:03:00 AM
Subject: Re: attaching detached sessions to the current one
On May 16 08:37, Aaron Davies wrote:
> On 5/16/06, Michael Schroeder
> A related feature I'd love to see implemented some day is the ability
> to import a non-screen process into screen. For example, I might start
> a compilation or a download in a normal shell, realize I have to go
> somewhere, and want to detach it for later monitoring through screen,
> but if I didn't have the forsight to start it in screen in the first
> place, I can't do that now.
I'd agree 100%. This is the one thing I've been praying to see added
for YEARS. I always start the most important thing RIGHT before I
realize I have to go ...
--
Dave Waxman
address@hidden
http://waxman.org/
"Some Scientists claim that hydrogen, because it is so plentiful, is the basic
building block of the universe. I dispute that. I say there is more stupidity
than hydrogen, and that is the basic building block of the universe." - Frank
Zappa
_______________________________________________
screen-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users
- attaching detached sessions to the current one, Henrique Niwa, 2006/05/16
- Re: attaching detached sessions to the current one, Adam Lazur, 2006/05/16
- Re: attaching detached sessions to the current one, Michael Schroeder, 2006/05/16
- Re: attaching detached sessions to the current one, Aaron Davies, 2006/05/16
- Re: attaching detached sessions to the current one, Dave Waxman, 2006/05/16
- Re: attaching detached sessions to the current one,
Joe Zbiciak <=
- Re: attaching detached sessions to the current one, Phil!Gregory, 2006/05/16
- Re: attaching detached sessions to the current one, Joe Zbiciak, 2006/05/16
- Re: attaching detached sessions to the current one, Aaron Davies, 2006/05/16
- Re: attaching detached sessions to the current one, Eric D. Hendrickson, 2006/05/16
- Re: attaching detached sessions to the current one, Joe Zbiciak, 2006/05/16
- Re: attaching detached sessions to the current one, johnsmailinglists, 2006/05/16
- Re: attaching detached sessions to the current one, Michael Schroeder, 2006/05/16