* [Comm] Работа в терминале
@ 2002-11-14 10:25 Роман Тутов
2002-11-14 10:31 ` Ilya Palagin
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Роман Тутов @ 2002-11-14 10:25 UTC (permalink / raw)
To: community
Добрые день
Работаю с машиной в SSH терминале .
Как запустить процес так , что-бы в случае разрыва связи
процесс продолжал на удаленной машине выполняться .
Идеальный вариант -это что-бы потом до него можно было достучаться
Возможно-ли это ?
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 10:25 [Comm] Работа в терминале Роман Тутов
@ 2002-11-14 10:31 ` Ilya Palagin
2002-11-14 12:39 ` Slava Garelin
2002-11-14 10:35 ` [Comm] " Evgeny Yugov
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Ilya Palagin @ 2002-11-14 10:31 UTC (permalink / raw)
To: community
Роман Тутов wrote:
> Добрые день
> Работаю с машиной в SSH терминале .
> Как запустить процес так , что-бы в случае разрыва связи
> процесс продолжал на удаленной машине выполняться .
> Идеальный вариант -это что-бы потом до него можно было достучаться
>
> Возможно-ли это ?
>
screen - ваш друг forever (man screen)
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Comm] [Comm] Работа в терминале
2002-11-14 10:25 [Comm] Работа в терминале Роман Тутов
2002-11-14 10:31 ` Ilya Palagin
@ 2002-11-14 10:35 ` Evgeny Yugov
2002-11-14 11:02 ` [Comm] " Роман Тутов
2002-11-14 10:41 ` Andriy Dobrovol's'kii
2002-11-14 11:17 ` Sergey V. Golovin
3 siblings, 1 reply; 15+ messages in thread
From: Evgeny Yugov @ 2002-11-14 10:35 UTC (permalink / raw)
To: Роман Тутов
Здравствуйте Роман,
Thursday, November 14, 2002, 4:25:20 PM, you wrote:
РТ> Добрые день
РТ> Работаю с машиной в SSH терминале .
РТ> Как запустить процес так , что-бы в случае разрыва связи
РТ> процесс продолжал на удаленной машине выполняться .
РТ> Идеальный вариант -это что-бы потом до него можно было достучаться
РТ> Возможно-ли это ?
bg, fg?
--
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
mailto:yugov@scs-900.ru
--
Вопросы психиатора всегда какие-то странные...
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 10:25 [Comm] Работа в терминале Роман Тутов
2002-11-14 10:31 ` Ilya Palagin
2002-11-14 10:35 ` [Comm] " Evgeny Yugov
@ 2002-11-14 10:41 ` Andriy Dobrovol's'kii
2002-11-14 11:17 ` Sergey V. Golovin
3 siblings, 0 replies; 15+ messages in thread
From: Andriy Dobrovol's'kii @ 2002-11-14 10:41 UTC (permalink / raw)
To: community
Роман Тутов wrote:
> Добрые день
> Работаю с машиной в SSH терминале .
> Как запустить процес так , что-бы в случае разрыва связи
> процесс продолжал на удаленной машине выполняться .
> Идеальный вариант -это что-бы потом до него можно было достучаться
>
> Возможно-ли это ?
>
>
>
man screen
man nohup
И поискать по архиву обсуждения этой ситуации.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas
Electronics
Fax: (380-44) 265-2329 Institute of
Physics of NASU
*********************************************************************
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Comm] Re: [Comm] [Comm] Работа в терминале
2002-11-14 10:35 ` [Comm] " Evgeny Yugov
@ 2002-11-14 11:02 ` Роман Тутов
2002-11-14 12:25 ` Andrey A. Jelnin
0 siblings, 1 reply; 15+ messages in thread
From: Роман Тутов @ 2002-11-14 11:02 UTC (permalink / raw)
To: Evgeny Yugov
Добрый день Evgeny Yugov
14 ноября 2002 г. в 13:35 вы мне писали на тему
" [Comm] [Comm] Работа в терминале "
РТ>> Возможно-ли это ?
EY> bg, fg?
Умирают вместе с терминалом
--
С уважением Тутов Роман
mailto:tutov@empils.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 10:25 [Comm] Работа в терминале Роман Тутов
` (2 preceding siblings ...)
2002-11-14 10:41 ` Andriy Dobrovol's'kii
@ 2002-11-14 11:17 ` Sergey V. Golovin
2002-11-14 11:29 ` Alexei Bayguzov
2002-11-14 11:29 ` Andrey A. Jelnin
3 siblings, 2 replies; 15+ messages in thread
From: Sergey V. Golovin @ 2002-11-14 11:17 UTC (permalink / raw)
To: community
На счет screen - возьмите версию >= 3.9.8, до нее
имелись проблемы или поищите по архиву как их обойти.
--
Sergey V. Golovin
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 11:17 ` Sergey V. Golovin
2002-11-14 11:29 ` Alexei Bayguzov
@ 2002-11-14 11:29 ` Andrey A. Jelnin
2002-11-14 11:51 ` Sergey V. Golovin
1 sibling, 1 reply; 15+ messages in thread
From: Andrey A. Jelnin @ 2002-11-14 11:29 UTC (permalink / raw)
To: community
On Thu, 14 Nov 2002 15:17:11 +0400
"Sergey V. Golovin" <svgol@samkon.ru> wrote:
> На счет screen - возьмите версию >= 3.9.8, до нее
> имелись проблемы или поищите по архиву как их обойти.
А можно поподробнее про проблемы - в чем заключались ?
--
Written under -< Ария - Отшельник >- playing in xmms
----
Jaa mata,
Администратор веб-узла ОАО "Гипросвязь" Andrey A. Jelnin aka BsoD
e-mail: <bsod@gs7.saminfo.ru>
icq: 112600159
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 11:17 ` Sergey V. Golovin
@ 2002-11-14 11:29 ` Alexei Bayguzov
2002-11-14 11:44 ` Sergey V. Golovin
2002-11-14 11:29 ` Andrey A. Jelnin
1 sibling, 1 reply; 15+ messages in thread
From: Alexei Bayguzov @ 2002-11-14 11:29 UTC (permalink / raw)
To: community
On Thu, 14 Nov 2002 15:17:11 +0400
"Sergey V. Golovin" <svgol@samkon.ru> wrote:
> На счет screen - возьмите версию >= 3.9.8, до нее
> имелись проблемы или поищите по архиву как их обойти.
Скока работал со скрином, никогда не замечат проблемм?
а может подскажете какие они?
С уважением,
Алексей
----------------------------------------
Alexei V. Bayguzov ITC NSTU
E-mail: mrbond@itc.nstu.ru
----------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 11:29 ` Alexei Bayguzov
@ 2002-11-14 11:44 ` Sergey V. Golovin
2002-11-14 11:52 ` Alexei Bayguzov
0 siblings, 1 reply; 15+ messages in thread
From: Sergey V. Golovin @ 2002-11-14 11:44 UTC (permalink / raw)
To: community
On 14 Nov Thu 17:29, Alexei Bayguzov wrote:
> Скока работал со скрином, никогда не замечат проблемм?
> а может подскажете какие они?
<from imz>
It has been fixed since screen-3.9.9-alt3:
- the default place for user's sockets is now ~/tmp/screen/
- Files:
+ /etc/profile.d/screen.sh thrown away (it made using screen almost
impossible)
So you could throw it away, too, to get screen working and configure the
place for sockets yourself.
Adding something like "$@" to the script (/etc/profile.d/screen.sh) which
may seem to be a simple solution isn't good: if you call screen not from
the command line, it will look for the sockets in another place and will
fail.
</from imz>
В общем это были проблемы не самого screen'a, а его сборок от альтов.
--
Sergey V. Golovin
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 11:29 ` Andrey A. Jelnin
@ 2002-11-14 11:51 ` Sergey V. Golovin
0 siblings, 0 replies; 15+ messages in thread
From: Sergey V. Golovin @ 2002-11-14 11:51 UTC (permalink / raw)
To: community
On 14 Nov Thu 15:29, Andrey A. Jelnin wrote:
> А можно поподробнее про проблемы - в чем заключались ?
Если есть detach-сессия, то нельзя было к ней подключиться.
--
Sergey V. Golovin
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 11:44 ` Sergey V. Golovin
@ 2002-11-14 11:52 ` Alexei Bayguzov
0 siblings, 0 replies; 15+ messages in thread
From: Alexei Bayguzov @ 2002-11-14 11:52 UTC (permalink / raw)
To: community
On Thu, 14 Nov 2002 15:44:01 +0400
"Sergey V. Golovin" <svgol@samkon.ru> wrote:
> On 14 Nov Thu 17:29, Alexei Bayguzov wrote:
> > Скока работал со скрином, никогда не замечат проблемм?
> > а может подскажете какие они?
>
> <from imz>
>
> It has been fixed since screen-3.9.9-alt3:
> - the default place for user's sockets is now ~/tmp/screen/
> - Files:
> + /etc/profile.d/screen.sh thrown away (it made using screen almost
> impossible)
>
> So you could throw it away, too, to get screen working and configure the
> place for sockets yourself.
> Adding something like "$@" to the script (/etc/profile.d/screen.sh) which
> may seem to be a simple solution isn't good: if you call screen not from
> the command line, it will look for the sockets in another place and will
> fail.
> </from imz>
>
> В общем это были проблемы не самого screen'a, а его сборок от альтов.
Аааа... сыпасибо...
С уважением,
Алексей
----------------------------------------
Alexei V. Bayguzov ITC NSTU
E-mail: mrbond@itc.nstu.ru
----------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Re: [Comm] [Comm] Работа в терминале
2002-11-14 11:02 ` [Comm] " Роман Тутов
@ 2002-11-14 12:25 ` Andrey A. Jelnin
2002-11-14 12:34 ` [Comm] Re[2]: " Роман Тутов
0 siblings, 1 reply; 15+ messages in thread
From: Andrey A. Jelnin @ 2002-11-14 12:25 UTC (permalink / raw)
To: community
On Thu, 14 Nov 2002 14:02:59 +0300
Роман Тутов <tutov@empils.ru> wrote:
> Добрый день Evgeny Yugov
> 14 ноября 2002 г. в 13:35 вы мне писали на тему
> " [Comm] [Comm] Работа в терминале "
>
> РТ>> Возможно-ли это ?
> EY> bg, fg?
> Умирают вместе с терминалом
nohup script
Ctrl-z
bg
И все будет ок
man nohup
---
Written under -< Ария - Вампир >- playing in xmms
----
Jaa mata,
Администратор веб-узла ОАО "Гипросвязь" Andrey A. Jelnin aka BsoD
e-mail: <bsod@gs7.saminfo.ru>
icq: 112600159
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Comm] Re[2]: [Comm] Re: [Comm] [Comm] Работа в терминале
2002-11-14 12:25 ` Andrey A. Jelnin
@ 2002-11-14 12:34 ` Роман Тутов
2002-11-14 13:06 ` Andrey A. Jelnin
0 siblings, 1 reply; 15+ messages in thread
From: Роман Тутов @ 2002-11-14 12:34 UTC (permalink / raw)
To: Andrey A. Jelnin
Добрый день Andrey A. Jelnin
14 ноября 2002 г. в 15:25 вы мне писали на тему
" [Comm] Re: [Comm] [Comm] Работа в терминале "
>> РТ>> Возможно-ли это ?
>> EY> bg, fg?
>> Умирают вместе с терминалом
AAJ> nohup script
AAJ> Ctrl-z
AAJ> bg
AAJ> И все будет ок
AAJ> man nohup
No manual entry for nohup :(
Можно в кратце что это за nohup script ?
--
С уважением Тутов Роман
mailto:tutov@empils.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Работа в терминале
2002-11-14 10:31 ` Ilya Palagin
@ 2002-11-14 12:39 ` Slava Garelin
0 siblings, 0 replies; 15+ messages in thread
From: Slava Garelin @ 2002-11-14 12:39 UTC (permalink / raw)
To: community
14 Ноябрь 2002 12:31, Вы написали:
>
> screen - ваш друг forever (man screen)
Кстати о скрине, не надоумите ли, как запускать предопределенные проги в
окнах без закрытия окна по завершении процесса? Пытался запускать из-под баша
с -i -c <command> опциями, но баш оставаться интерактивным не хотит :(
Т.е. назначили в rc-файле окошкам процессы, запустили скрин, перешли в
окошко, СИГИНТ-нули процесс, а шелл чтобы остался...
--
Slava Garelin
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Re[2]: [Comm] Re: [Comm] [Comm] Работа в терминале
2002-11-14 12:34 ` [Comm] Re[2]: " Роман Тутов
@ 2002-11-14 13:06 ` Andrey A. Jelnin
0 siblings, 0 replies; 15+ messages in thread
From: Andrey A. Jelnin @ 2002-11-14 13:06 UTC (permalink / raw)
To: community
> No manual entry for nohup :(
> Можно в кратце что это за nohup script ?
nohup - run a command immune to hangups
nohup runs the given command with hangup signals ignored so that the command can con-
tinue running in the background after you log out.
The scheduling priority increased by 5, so it has a slightly smaller chance to run. If
the standard output is a terminal, it and the standard error are redirected so that
they are appended to the file `nohup.out'; if that cannot be written to, they are
appended to the file `$HOME/nohup.out'. If that cannot be written to, the command is
not run.
If nohup creates the file `nohup.out' or `$HOME/nohup.out', it creates it with `go-
rwx' permissions. It does not change the permissions of those files if they already
existed.
nohup does not automatically put the command it runs in the background; you must do
that explicitly, by ending the command line with an `&'.
PS Но использовать screen всё равно удобнее - сам юзаю и вам советую
--
Written under -< Ария - Потеряный рай >- playing in xmms
----
Jaa mata,
Администратор веб-узла ОАО "Гипросвязь" Andrey A. Jelnin aka BsoD
e-mail: <bsod@gs7.saminfo.ru>
icq: 112600159
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2002-11-14 13:06 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 10:25 [Comm] Работа в терминале Роман Тутов
2002-11-14 10:31 ` Ilya Palagin
2002-11-14 12:39 ` Slava Garelin
2002-11-14 10:35 ` [Comm] " Evgeny Yugov
2002-11-14 11:02 ` [Comm] " Роман Тутов
2002-11-14 12:25 ` Andrey A. Jelnin
2002-11-14 12:34 ` [Comm] Re[2]: " Роман Тутов
2002-11-14 13:06 ` Andrey A. Jelnin
2002-11-14 10:41 ` Andriy Dobrovol's'kii
2002-11-14 11:17 ` Sergey V. Golovin
2002-11-14 11:29 ` Alexei Bayguzov
2002-11-14 11:44 ` Sergey V. Golovin
2002-11-14 11:52 ` Alexei Bayguzov
2002-11-14 11:29 ` Andrey A. Jelnin
2002-11-14 11:51 ` Sergey V. Golovin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git