Elmord's Magic Valley

Computers, languages, and computer languages. Às vezes em Português, sometimes in English.

Shift-Up não funciona no Emacs

2012-08-21 04:50 -0300. Tags: comp, editor, mundane, em-portugues

Problema: em um terminal do tipo xterm-256color (variável de ambiente TERM), o Emacs interpreta Shift-Up como a misteriosa tecla <select>.

Solução: Recompilar a descrição de terminal do terminfo. Não, não tem que alterar nada, apenas regerar o arquivo. Go figure.

cp /lib/terminfo/x/xterm-256color{,~}
infocmp xterm-256color >xterm.tmp
tic -o/lib/terminfo xterm.tmp

Quem me contou foi esse cara.

Comentários / Comments (0)

Deixe um comentário / Leave a comment

Main menu

Recent posts

Recent comments

Tags

em-portugues (213) comp (147) prog (70) in-english (61) life (48) unix (38) pldesign (36) lang (32) random (28) about (28) mind (26) lisp (24) mundane (22) fenius (21) web (20) ramble (18) img (13) rant (12) hel (12) privacy (10) scheme (10) freedom (8) esperanto (7) music (7) lash (7) bash (7) academia (7) copyright (7) home (6) mestrado (6) shell (6) android (5) conlang (5) misc (5) emacs (5) latex (4) editor (4) etymology (4) php (4) worldly (4) book (4) politics (4) network (3) c (3) tour-de-scheme (3) security (3) kbd (3) film (3) wrong (3) cook (2) treta (2) poem (2) physics (2) x11 (2) audio (2) comic (2) lows (2) llvm (2) wm (2) philosophy (2) perl (1) wayland (1) ai (1) german (1) en-esperanto (1) golang (1) translation (1) kindle (1) pointless (1) old-chinese (1)

Elsewhere

Quod vide


Copyright © 2010-2024 Vítor De Araújo
O conteúdo deste blog, a menos que de outra forma especificado, pode ser utilizado segundo os termos da licença Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.

Powered by Blognir.