Vim, Xterm, and ASCII
I am trying to use a barcode scanner to scan UPC and EAN codes into Vim. Running Vim from the console this works perfectly. But when I'm in X and open Vim in Xterm, the scan results in the ASCII codes for each digit of the barcode instead of the actual numbers. Thus 783254 becomes 055056051050053. I've tried setting isprint in .vimrc, I've tried starting Vim with various switches, -v, -e, -b, -c. I'm getting nowhere and I'm ignorant enough that I don't even know if this is a function of Vim or of Xterm. I'm using Xterm 197, Vim-6.4 and Icewm-1.2.23. Does anyone have an idea on how to fix this?
Last edited by Smax; 04-17-2006 at 09:09 PM.
|