From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 10 Dec 2013 01:24:08 +0400 From: "Dmitry V. Levin" To: ALT Linux Sisyphus mailing list Message-ID: <20131209212408.GA917@altlinux.org> Mail-Followup-To: ALT Linux Sisyphus mailing list References: <201312070839.13411@ruslandh> <1995782.UWWhoLhP5i@asy-nb.localdomain> <52A43345.8050306@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [sisyphus] =?koi8-r?b?4SDEwdfOzyDVIM7B0yBtYyDSwdrV3snM09EuLi4=?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 21:24:09 -0000 Archived-At: List-Archive: List-Post: --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 09, 2013 at 11:57:36PM +0400, Alexei V. Mezin wrote: > 08.12.2013 21:58, Alexei V. Mezin =D0=C9=DB=C5=D4: >=20 > >konsole, ssh =CE=C1 =D3=C5=D2=D7=C5=D2 >=20 >=20 > =FC-=DC-=DC =CE=C5=D4! =F4=C1=CD =D7=D3=C5 =C7=CF=D2=C1=DA=C4=CF =D3=D4= =D2=C1=CE=D8=DB=C5! >=20 > =F3=CF=C2=D2=C1=CC =D0=D2=CF=D3=D4=C5=CE=D8=CB=D5=C0 =D0=D2=CF=C7=D2=C1= =CD=CD=CB=D5 =CE=C1 =CF=D3=CE=CF=D7=C5=20 > =CB=C1=CB=CF=C7=CF-=D4=CF =D0=D2=C9=CD=C5=D2=C1 =C9=DA =C9=CE=C5=D4=C1, = =D3=D5=D4=D8 =D7=CF=D4 =D7=20 > =DC=D4=CF=CD =CB=D5=D3=CB=C5 =CB=CF=C4=C1: >=20 >=20 > for (;;) { > pause(); /* Wait for SIGWINCH signal */ >=20 > if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) =3D=3D -1) =E5=D3=CC=C9 =CE=C5 =D0=D2=C9=C8=CF=C4=C9=D4 SIGWINCH, =DA=CE=C1=DE=C9=D4, = konsole =CE=C5 =D7=D9=D0=CF=CC=CE=D1=C5=D4 (=C9=CC=C9 =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE=CF =D7=D9=D0=CF=CC=CE=D1=C5=D4) T= IOCSWINSZ. =EB=CF=D3=D7=C5=CE=CE=D9=CD =D0=CF=C4=D4=D7=C5=D2=D6=C4=C5=CE=C9=C5=CD =D1= =D7=CC=D1=C5=D4=D3=D1 =CE=C5=C9=DA=CD=C5=CE=CE=CF=D3=D4=D8 =D7=D9=D7=CF=C4= =C1 =CB=CF=CD=C1=CE=C4=D9 $ stty -a |grep rows =C4=CF =C9 =D0=CF=D3=CC=C5 resize. =ED=CF=D6=C5=D4=C5 =D0=CF=D0=D2=CF=C2=CF=D7=C1=D4=D8 =D0=CF=CF=D4=CC=C1=D6= =C9=D7=C1=D4=D8, =CE=C1=D0=D2=C9=CD=C5=D2, $ strace -feioctl -o'|grep TIOCSWINSZ' konsole --=20 ldv --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEARECAAYFAlKmNPgACgkQfKvmrJ41Nh5e3gCcCmk0+CkSkjLTFQqE2Ir3xmmU CTkAn0d0pXBbI7UcAdsFNWxFVV0e2gco =bk7f -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--