[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


function! Hex2Dec()
    let lstr = getline(".")
    let hexstr = matchstr(lstr, '0x[a-fA-F0-9]\+')
    while hexstr != ""
        let hexstr = hexstr + 0
        exe 's#0x[a-fA-F0-9]\+#'.hexstr."#"
        let lstr = substitute(lstr, '0x[a-fA-F0-9]\+', hexstr, "")
        let hexstr = matchstr(lstr, '0x[a-fA-F0-9]\+')
    endwhile
endfunction

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to