On Wednesday 9 January 2008, [EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED] 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

A perhaps simpler way is to use the bc program (which needs to be 
installed for this to work, of course):

$ echo 'obase=10; ibase=16; 31A' | bc
794

(you can do that from inside vim also by using the "!" vim command)
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to