Thiago Arrais wrote:
Pessoal,
Depois de resolver o problema, montei um pequeno artigo sobre
recuperação de terminal com nohup e screen. Está em
http://thiagoarrais.no-ip.org/chaos/Unix/RecuperandoTerminal
Críticas, correções e contribuições são sempre bem-vindas.
Bom, alguns comentários:
* o wget tem um flag -b (background), pra obter o mesmo resultado
* pro screen funcionar a contento, vc tem que fazer o de-attach num momento
pra poder voltar mais tarde. Se a conexão cai, vc tem q fazer duas coisas
antes, ao reconectar:
screen -list
screen -d|-D [pid.tty.host]
Da man page:
-d|-D [pid.tty.host]
does not start screen, but detaches the elsewhere running screen
session. It has the same effect as typing "C-a d" from screen's controlling
terminal. -D is the equivalent to the power detach key. If no session can
be detached, this option is ignored.
Mas o texto está bem escrito. Parabéns!
--
Marcos
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]