From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JCjyM-0002QZ-Ao for garchives@archives.gentoo.org; Wed, 09 Jan 2008 23:04:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E25ECE0733; Wed, 9 Jan 2008 23:03:44 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id 138CCE031E for ; Wed, 9 Jan 2008 23:03:43 +0000 (UTC) Received: (qmail invoked by alias); 09 Jan 2008 23:03:43 -0000 Received: from p54889EAD.dip0.t-ipconnect.de (EHLO mating-tux) [84.136.158.173] by mail.gmx.net (mp020) with SMTP; 10 Jan 2008 00:03:43 +0100 X-Authenticated: #3423037 X-Provags-ID: V01U2FsdGVkX18qZJlhOrgqEJJ3rLVOMO7LRK/Br/j2rLoNv+7du7 1ymRex/J651gqG Date: Wed, 9 Jan 2008 23:57:38 +0100 From: Renat Golubchyk To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) Message-ID: <20080109235738.6c20ecaa@mating-tux> In-Reply-To: <200801092217.37172.shrdlu@unlimitedmail.org> References: <87odbu982e.fsf@newsguy.com> <87odbun3i0.fsf@newsguy.com> <87k5min2qi.fsf@newsguy.com> <200801092217.37172.shrdlu@unlimitedmail.org> X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.1; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_//Q45TVogDQ49Q9zQj6qYcs7"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Y-GMX-Trusted: 0 X-Archives-Salt: aaae63e6-2956-484f-99bc-59838685d7c4 X-Archives-Hash: 5d31ec7fc6920f91266bf97b74a17b5f --Sig_//Q45TVogDQ49Q9zQj6qYcs7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 9 Jan 2008 22:17:37 +0100 Etaoin Shrdlu wrote: > On Wednesday 9 January 2008, reader@newsguy.com wrote: >=20 > > reader@newsguy.com writes: > > > do you know of a chart that shows the decimal notation like you > > > posted? (Its not in `man vga') > > > > > > And I don't recall where I got that from... where ever it was, it > > > probably also has the decimal equivalents. > > > > You can ignore this request... I found a nifty hex to decimal > > converter for vim here: > > http://vim.wikia.com/wiki/VimTip27 If you only want to convert one number (or an arithmetic expression) you can write, e.g. ":echo 0x31a" in vim and be done with it. :-) >=20 > A perhaps simpler way is to use the bc program (which needs to be=20 > installed for this to work, of course): >=20 > $ echo 'obase=3D10; ibase=3D16; 31A' | bc > 794 Or an even simpler way would be $ echo $((0x31a)) 794 Bash is really cool. It can understand numbers up to base 64. ;-) Cheers, Renat --=20 Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) --Sig_//Q45TVogDQ49Q9zQj6qYcs7 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) iEYEARECAAYFAkeFUWoACgkQRZZXkGjHI/10BQCbBeIL2RRH6mSPR8wce0st1WGA hYMAnjuaxQkhbiW70sdPHFgh4qz7L2Hk =7pwI -----END PGP SIGNATURE----- --Sig_//Q45TVogDQ49Q9zQj6qYcs7-- -- gentoo-user@lists.gentoo.org mailing list