OpenVZ Forum


Home » International » Russian » q: screen and term resize
q: screen and term resize [message #7899] Mon, 30 October 2006 10:03 Go to next message
mike is currently offline  mike
Messages: 7
Registered: September 2006
Location: Kiev, Ukraine
Junior Member

Гм, не вышло в Users запостить, спрашивает какой-то ещё posting password (форумный не подходит).

---

Hi,
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).

I'm not much into terminal communications, so can only wonder where and what gets cut out. Anyone cares?


--
Michael Shigorin
OSDN.Org.UA / ALT Linux Team
Re: q: screen and term resize [message #7936 is a reply to message #7899] Tue, 31 October 2006 07:10 Go to previous messageGo to next message
Vasily Tarasov is currently offline  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

Вы пишете:
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.
[UNDERSTOOD] Re: q: screen and term resize [message #7968 is a reply to message #7936] Wed, 01 November 2006 10:29 Go to previous message
mike is currently offline  mike
Messages: 7
Registered: September 2006
Location: Kiev, Ukraine
Junior Member

Vasily Tarasov wrote on Tue, 31 October 2006 09:10


Users, как указано на заглавной странице форума, - "A read-only shadow of users-at-openvz.org mailing list". :)

Гм, примерно так и догадался, но в полусонном виде (погода скачет :) обнаружить очевидное не смог. Стоя именно на заглавной :-)

Vasily Tarasov wrote on Tue, 31 October 2006 09:10

Дело в том, что при переходе в VE процесс, теряет связь с VE0 полностью: в том числе все обработчики сигналов сбрасываются.

Ну опять же что не бага, а фича, догадывался, просто было интересно -- какие варианты помимо очевидного есть :-)

Спасибо!


--
Michael Shigorin
OSDN.Org.UA / ALT Linux Team
Previous Topic: не работает ejabberd
Next Topic: проблема с bind
Goto Forum:
  


Current Time: Tue Jul 09 23:18:08 GMT 2024

Total time taken to generate the page: 0.02421 seconds