| yuriks | E518: Unknown option: t_K8 |
| \amethyst | What about :set term ? |
| yuriks | none of the keypad buttons work actually they produce newlines and some rando character term=screen which is true and screen under putty |
| frogonwheels | somebody mentioned that it's a problem with termcap vs terminfo libraries. |
| yuriks | set to XTerm R6 style keypad |
| tag | So I'm experiencing this strange behavior, when I fire up vim it takes a really long time to get going. I hit ^C and it complains about ICE ICE default IO error handler doing an exit(), pid = 8094, errno = 4 |
| yuriks | tag: vim -X iirc |
| tag | now if I remove ~/.ICEauthority, this issue goes away...but it comes right back. |
| \amethyst | Sounds like the screen terminal description isn't describing the keypad codes |
| yuriks | \amethyst: either that or screen just passes-thru the keypad codes lemme check |
| tag | yuriks: but, I don't really want to prevent it from connecting to X. I'd like to figure out instead why it's having trouble. |
| thorat | yuriks: but you said that the keypad worked in the shell, right? |
| yuriks | tag: ah, I thought it was the same problem I was having a while back when running on a headless box, no ideia then thorat: in the shell and irssi and apparently keypad 5 is always ^[Ou so screen isn't just passing-thru the keypad |
| tag | I'm not running a headless box I've got a few other things hanging, I think it might be related |
| thorat | yuriks: I've heard this before about vim+screen. Maybe vim sets terminal attributes differently than the other programs and screen is not emulating correctly. nobody had a solution when I saw this discussed here a while back |
| yuriks | hmm =| |
| \amethyst | yuriks: does :set <kMultiply>=^[Oj fix multiply? (type ^[ as Ctrl-v Esc |
| yuriks | \amethyst: yeah, it does |
| thorat | cool \amethyst++ |
| \amethyst | What does :echo has("terminfo") say? 1 or 0? |
| yuriks | 1 |
| \amethyst | what's the size and date of your /usr/lib/terminfo/s/screen (or if it's a symlink, of the file it points to)? and what OS/distribution is this? |
| thorat | yuriks: what if you run vim with TERM=xterm or rxvt? |
| \amethyst | err, that's /usr/share/terminfo/s/screen thorat: that will probably fix it, but cause problems with keys for which screen changes the keycodes |
| thorat | ok |
| \amethyst | s/keycodes/escape sequences/ |