Re: q: screen and term resize [message #7936 is a reply to message #7899] |
Tue, 31 October 2006 07:10 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Здравствуйте:
Вы пишете:
Quote: | Гм, не вышло в Users запостить, спрашивает какой-то ещё posting password (форумный не подходит).
|
Users, как указано на заглавной странице форума, - "A read-only shadow of users-at-openvz.org mailing list". ![Smile](images/smiley_icons/icon_smile.gif)
Вы пишете:
Quote: | did anyone stumble upon such a situation: when we ssh into HN (because there are several VEs and only one portforward -- rather due to me being lazy), sudo vzctl enter NNN, su - user, run or reattach screen(1) and then resize xterm window on the originating system, the processes within that screen don't know about it (that is, nobody told'em SIGWINCH).
|
Вы можете заметить, что та же ситуация происходит даже в том случае, если просто с HN, будучи root'ом, сделать vzctl enter <veid>. Дело в том, что при переходе в VE процесс, теряет связь с VE0 полностью: в том числе все обработчики сигналов сбрасываются. Совсем другая ситуация если вы входите по ssh непосредственно в VE: процесс изначально находится ("рождается") в VE и никаких sighandler'ов не теряет.
HTH,
vass.
|
|
|