From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Bokovoy To: devel@linux.iplabs.ru Message-ID: <20001210133609.A1217@avilink.net> References: <20001209211304.B29553@debian.org> <3A32BE7F.3D9F67AE@logic.ru> <20001209225201.A321@debian.org> <20001210021619.D29958@LDV.fandra.org> <3A32FD32.6944CEA@logic.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A32FD32.6944CEA@logic.ru>; from aen@logic.ru on Sun, Dec 10, 2000 at 06:49:06AM +0300 Subject: [devel] Re: =?koi8-r?B?0MXSxdPCz9LLwSDQwcvF1M/X?= Sender: devel-admin@linux.iplabs.ru Errors-To: devel-admin@linux.iplabs.ru X-BeenThere: devel@linux.iplabs.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: devel@linux.iplabs.ru List-Help: List-Post: List-Subscribe: , List-Id: IPLabs Linux Team Developers mailing list List-Unsubscribe: , List-Archive: X-Original-Date: Sun, 10 Dec 2000 13:36:09 +0200 Date: Sun, 10 Dec 2000 13:36:09 +0200 Archived-At: List-Archive: List-Post: --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 10, 2000 at 06:49:06AM +0300, aen wrote: > "Dmitry V. Levin" wrote: > >=20 >=20 > >=20 > > =F0=D2=CF=D3=D4=CF=C7=CF --rebuild =D1 =D0=CF=CB=C1 =DE=D4=CF =CE=C5 = =C4=C5=CC=C1=C0. >=20 > =F1, =CB=D3=D4=C1=D4=C9, -- =D4=CF=D6=C5. =E1=CE=C1=CC=CF=C7=C9=DE=CE=CF. =F4=C5=D0=C5=D2=D8 =CF =C4=D2=D5=C7=CF=CD. =F7=D9=CE=CF=DB=D5 =CE=C5=C2=CF= =CC=D8=DB=CF=CA =D0=C1=D4=DE =CE=C1 =CF=C2=D3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=DC=D4=CF =CE=C1=CD=C5=D2=D4=D7=CF. =F7=CF=D4 =D0=C1=D4=DE, =CB= =CF=D4=CF=D2=D9=CA =C1=D7=D4=CF=CD=C1=D4=C9=DE=C5=D3=CB=C9 =D0=CF=C4=D3=D4=D2=C1=C9=D7=C1=C5=D4=D3=D1 =D0=CF=C4 =CE=C1=D3=D4=D2=CF=CA= =CB=C9 =D4=C5=D2=CD=C9=CE=C1=CC=C1: --- /etc/rc.d/init.d/functions.orig Fri Oct 6 16:40:03 2000 +++ /etc/rc.d/init.d/functions Sun Dec 10 13:08:50 2000 @@ -13,7 +13,13 @@ export PATH=3D"/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin" # Get a sane screen width -[ -z "$COLUMNS" ] && COLUMNS=3D80 +if [ -z "$COLUMNS" ]; then + if [ -x /usr/bin/tput ]; then + COLUMNS=3D`/usr/bin/tput cols` + else + COLUMNS=3D80 + fi +fi # Read in our configuration if [ -z "$BOOTUP" ]; then @@ -23,7 +29,7 @@ # This all seem confusing? Look in /etc/sysconfig/init, # or in /usr/doc/initscripts-*/sysconfig.txt BOOTUP=3Dcolor - RES_COL=3D60 + RES_COL=3D$(($COLUMNS - 10)) MOVE_TO_COL=3D"echo -en \\033[${RES_COL}G" SETCOLOR_SUCCESS=3D"echo -en \\033[1;32m" SETCOLOR_FAILURE=3D"echo -en \\033[1;31m" --- /etc/sysconfig/init.orig Sun Dec 10 13:31:43 2000 +++ /etc/sysconfig/init Sun Dec 10 13:08:36 2000 @@ -3,7 +3,7 @@ # anything else =3D> new style bootup without ANSI colors or positioning BOOTUP=3Dcolor # column to start "[ OK ]" label in -RES_COL=3D60 +RES_COL=3D$(($COLUMNS - 10)) # terminal sequence to move to that column. You could change this # to something like "tput hpa ${RES_COL}" if your terminal supports it MOVE_TO_COL=3D"echo -en \\033[${RES_COL}G" tput -- =C9=DA =D0=C1=CB=C5=D4=C1 ncurses, =D3=D2=C1=DA=D5 =D0=CF=D3=CC=C5 = =CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C9=D1 /usr =D7=C5=D3=D8 =D7=D9=D7=CF=C4 =C2=D5=C4=C5=D4 =D0=CF=C4=CB=CF=D2=D2=C5=CB=D4=C9=D2=CF=D7=C1=CE =CE=C1 =DB= =C9=D2=C9=CE=D5 =D4=C5=D2=CD=C9=CE=C1=CC=C1. =F1 =C5=DD=C5 =D0=CF=C4=D0=D2= =C1=D7=C9=CC -20 =CE=C1 -10, =D4=C1=CB =CB=C1=CB =DC=D4=CF =CC=D5=DE=DB=C5 =D7=D9=C7=CC=D1=C4=C9=D4. =EB= =CF=CD=CD=C5=CE=D4=C1=D2=C9=C9? --=20 Sincerely yours, Alexander Bokovoy=20 The Midgard Project | www.midgard-project.org | Aurora R&D team=20 Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com = =20 IPLabs Linux Team | linux.iplabs.ru | Architecte Open Source -- A plucked goose doesn't lay golden eggs. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEUEARECAAYFAjozaqgACgkQ4VlcVgSQCGASdwCYiyDPlEuNRhxJH14IY82ok4mr vgCg4J4A/zvcMb/XrnrWHW6thxdWl5U= =ZZCv -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- _______________________________________________ Devel mailing list Devel@linux.iplabs.ru http://www.logic.ru/mailman/listinfo/devel