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.


Not every file under /dev is a device file that has major/minor numbers. Example $ ls -l |grep initctl prw-------. 1 root root 0 Sep 17 13:27 initctl $ stat initctl File: ‘initctl’ Size: 0 Blocks: 0 IO Block: 4096 fifo Device: 5h/5d Inode: 8882 Links: 1 Access: (0600/prw-------) Uid: ( 0/ root) Gid: ...


There's one big issue here: under the linux console there's no way to distinguish Ctrl-Down from Down, they both send the same ^[[B sequence. To make it work we'd need to find a hack for the linux console to change that. Not pretty, but if you care enough about it it might be possible. Otherwise, how about using another key binding ? Say Alt-/, Just need ...


You can change that with setterm -blank X (X is the number of minutes). From man setterm: -blank [0-60|force|poke] (virtual consoles only) Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked (using APM if available). Without an argument, gets the blank status (returns which vt ...


You could try running two separate tmux sessions at once - one for you, and the second for the other user. Then, use your OS's windowing system to arrange two terminals side by side, with one for you and one for him. If you need to write in his terminal, just choose it for input. You run (each command in its own terminal): tmux new-session -s Alice tmux ...


Most apps use the cnorm capability to set the cursor back to the "normal" state. By default this is the blinking underline. But you can override this in your terminfo. This should fix most applications (vim, tmux, etc.). Issue these commands: infocmp -A /usr/share/terminfo linux > linux patch -lp1 <<EOF --- a/linux +++ b/linux @@ -4,7 +4,7 @@ ...


Most terminal emulators will not render all the text when there's a lot of output in a short time; they will skip data to save time. E.g. rxvt has the -ss option for "skip scrolling" (multiple screens per refresh) and -j for "jump scrolling" (multiple lines per refresh).


change in /etc/init/control-alt-del.conf are taken immediatly. I tested in ESX and physical hosts. when I inserted exec date > /var/log/cad.log in /etc/init/control-alt-del.conf and issue Ctrl-AltDel I get date in /var/log/cad.log. So no need to reboot.


We can disable ESC key with loadkeys command: $loadkeys keymaps 0-127 keycode 1 = press crtl+d Or we can put them in a file and read the file with loadkeys command: loadkeys FILE NOTE: It just disable ESC key in console.

Top 50 recent answers are included