Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)
Date: Wed, 09 Jan 2008 20:52:34
Message-Id: 87k5min2qi.fsf@newsguy.com
In Reply to: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) by reader@newsguy.com
1 reader@×××××××.com writes:
2
3 > do you know of a chart that shows the decimal notation like you
4 > posted? (Its not in `man vga')
5 >
6 > And I don't recall where I got that from... where ever it was, it
7 > probably also has the decimal equivalents.
8
9 You can ignore this request... I found a nifty hex to decimal
10 converter for vim here:
11 http://vim.wikia.com/wiki/VimTip27
12
13
14 function! Hex2Dec()
15 let lstr = getline(".")
16 let hexstr = matchstr(lstr, '0x[a-fA-F0-9]\+')
17 while hexstr != ""
18 let hexstr = hexstr + 0
19 exe 's#0x[a-fA-F0-9]\+#'.hexstr."#"
20 let lstr = substitute(lstr, '0x[a-fA-F0-9]\+', hexstr, "")
21 let hexstr = matchstr(lstr, '0x[a-fA-F0-9]\+')
22 endwhile
23 endfunction
24
25 --
26 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5) Etaoin Shrdlu <shrdlu@×××××××××××××.org>