ALT character encodings
Posted Nov 2, 2004 23:09 UTC (Tue) by
iabervon (subscriber, #722)
In reply to:
ALT character encodings by Per_Bothner
Parent article:
Using Unicode in Linux (NewsForge)
Actually, looking at ANSI escape sequences, plus the fact that holding alt is considered equivalent to first typing ESC for terminals (which I'd forgotten) should give a reasonable solution for the keys. In fact, if Alt-f opens the file menu, typing ESC f instead should still make the shell go forward a word (or whatever the receiving program does with that input), since the terminal emulator is actually getting keyboard scan codes and can tell what you're really doing without escape sequence encoding.
As for the user interface standards, it is impossible to have a single clipboard between the terminal emulator and the program running in it; I often have the same program running in multiple terminal emulators on different machines, using screen. I find it useful that I can copy some text in emacs in the screen session on my login server while connected from work, log out of work, go home, log in, connect to the screen session, and paste the text. For that matter, I sometimes log into the screen session from multiple places at once, and I don't want my clipboard transferred from desktop 1 via my server to desktop 2 whenever I copy something on desktop 1. So it matters very much whether I'm copying something from the desktop into the terminal emulator or whether I'm copying something inside the terminal emulator.
(
Log in to post comments)