From: "Benjamin R. Haskell" <zsh@benizi.com>
To: zsh-users@zsh.org
Subject: Re: Really into the backgroung...
Date: Sun, 11 Aug 2013 13:56:37 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.01.1308111342400.10197@hp> (raw)
In-Reply-To: <20130811134102.GA2688@blacky.xomit.de>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1130 bytes --]
On Sun, 11 Aug 2013, Timo Schmidt wrote:
> On Sun 11.08.2013 14:47, meino.cramer@gmx.de wrote:
>>
>> Is there any chance to detach the running process, which compiles the
>> kernel, from the ssh-session in a way that I am able to reboot the PC
>> without breaking the kernel compilation
>
> Use tmux or screen.
`dtach` and `reptyr` are other lesser-known tools that support just the
attach/detach functionality of `tmux` or `screen` (which are basically
terminal window managers). `dvtm`¹ ("dynamic virtual terminal manager")
is another alternative in that realm.
`dtach`² (as the name implies) just supports the attaching and detaching
feature.
The problem with `tmux`, `screen`, and `dtach` is that you have to use
it before your process is running. If you've forgotten to tmux- or
screen-ify the process beforehand, you might try `reptyr`³ (It "re-"
"pty"'s a program.) It's Linux-only, and uses ptrace(2) hackery to
attach a process running on a different pty to a new one.
--
Best,
Ben
¹: http://www.brain-dump.org/projects/dvtm/
²: http://dtach.sourceforge.net/
³: https://github.com/nelhage/reptyr
next prev parent reply other threads:[~2013-08-11 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-11 12:47 meino.cramer
2013-08-11 13:41 ` Timo Schmidt
2013-08-11 17:56 ` Benjamin R. Haskell [this message]
2013-08-12 11:29 ` Yuri D'Elia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1308111342400.10197@hp \
--to=zsh@benizi.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).