1 |
On Wednesday 9 January 2008, reader@×××××××.com wrote: |
2 |
|
3 |
> reader@×××××××.com writes: |
4 |
> > do you know of a chart that shows the decimal notation like you |
5 |
> > posted? (Its not in `man vga') |
6 |
> > |
7 |
> > And I don't recall where I got that from... where ever it was, it |
8 |
> > probably also has the decimal equivalents. |
9 |
> |
10 |
> You can ignore this request... I found a nifty hex to decimal |
11 |
> converter for vim here: |
12 |
> http://vim.wikia.com/wiki/VimTip27 |
13 |
|
14 |
A perhaps simpler way is to use the bc program (which needs to be |
15 |
installed for this to work, of course): |
16 |
|
17 |
$ echo 'obase=10; ibase=16; 31A' | bc |
18 |
794 |
19 |
|
20 |
(you can do that from inside vim also by using the "!" vim command) |
21 |
-- |
22 |
gentoo-user@l.g.o mailing list |