Tag Info

New answers tagged


Here is a solution for OS X that incorporates iTerm 2, tmux, and mosh. The native scrolling is accomplished through some magic between iTerm 2 and tmux.


Terminals transmit characters (more precisely: bytes), not keys. When you press a key or a keychord like Ctrl+;, this information has to be encoded into a sequence of bytes. Keychords that represent a character, like A or Shift+A or À, are sent as that character: a, A, à (the last one being one or two bytes depending on the terminal's character encoding). ...


Perhaps your confusion arises from not having used an actual terminal. Back when serious computers were the size of several upright refrigerators, a terminal communicated with a central computer over a serial cable using characters and characters only. The characters were part of some standardized character set, e.g. ASCII or EBCDIC, but typically ASCII. ...


There is no general method. As observed by vinc17, different terminal emulators let you configure the TERM value in different ways, if at all. You can drop terminfo configuration files into your home directory, organized as ~/.terminfo/INITIAL-LETTER/VALUE. For example, if you wish for xterm to point to the 256-color entry, on a typical machine, you could ...


You can do this in your terminal configuration. For instance, with Xterm, this can be done via the X resources. You can do this via the Xterm app-defaults: *termName: xterm-256color or via a -tn xterm-256color option. This is similar for rxvt.


Here is a scheme I made some time ago about how sshd works. It doesn't concern the operation of line discipline and stuff, but it adds a real-life illustration of who interacts with what:


konsole does and supports bidirectional writing

Top 50 recent answers are included