Skip to main content

All Questions

Tagged with
0 votes
1 answer
40 views

TERM ANSI escape sequences compatibility between xterm and screen although infocmp does not say so

I am making an script in zsh on mac that uses tmux and after the amazing https://unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas answer, I found out that when I use tmux, it uses a different ...
Whimusical's user avatar
0 votes
0 answers
219 views

tmux in xterm - next-window no refresh (text from one window in the next)

using tmux, when switching windows the content of one window is taken to the next window. To reporoduce: tmux new; C-b c; # (create new window) ls /bin; C-b n; # (go to next-window) Now the content ...
Soeren's user avatar
  • 1
0 votes
1 answer
624 views

How to set zsh shell title without executing command substitutions twice?

My zsh config contains setopt PROMPT_SUBST. When I use command substitution in a shell command, I see it is executed twice. This could cause slowdowns or even bugs in my scripting. % setopt ...
piojo's user avatar
  • 121
0 votes
1 answer
562 views

Error - Terminal automatically and randomly duplicates last character on space

My Setup Mac OS runs terminal with $TERM = xterm-256color; tmux with $TERM = xterm-256color When I ssh into an AWS EC2 inside that tmux session on my MacOS, $TERM is also xterm-256color Weird Behavior ...
Tran Triet's user avatar
1 vote
1 answer
171 views

Ask the key binding problem between xterm bash and tmux

To get TAB and ctrl-i to do different things. I added the following configuration to my xterm and bash configuration files, and everything worked fine XTerm.vt100.translations: #override \n\ Ctrl ...
yyy33's user avatar
  • 13
11 votes
3 answers
16k views

Clearing tmux terminal throws error: "'tmux-256color': unknown terminal type."

Originally, I was trying to determine why some directories show up differently colored than others when using the ls command. While playing around with this. I have now encountered the problem of not ...
Douglas James Bock's user avatar
1 vote
1 answer
1k views

setting `xterm-keys` in `tmux` affects Shift-Enter in `vim`

I enabled xterm-keys in tmux in order to have normal xterm key bindings like whole-word movement using the Ctrl-arrow keys. However, by enabling xterm-keys it causes Shift-Enter to have undesired ...
user001's user avatar
  • 3,738
4 votes
0 answers
898 views

dualhead with tmux and two xterm windows

I'm running a dualhead system. Unfortunately, my monitors do not sport the same resolution, so I can't "just" use a huge xterm window spanning both screens. Also I imagine that it would be hard to ...
Crazor's user avatar
  • 141
2 votes
2 answers
417 views

Reduce control-c latency in xterm and tmux

When using tmux under xterm, I am unable to quickly stop process that is overwhelming the terminal with output. The interrupt eventually arrives but only after a long delay. This problem does not ...
sevo's user avatar
  • 1,237
8 votes
2 answers
3k views

Cannot enable TrueColor support in tmux via overriding terminfo

dist: Arch Linux. I have an st build from AUR and tmux from official repo. In st I meet a good TrueColor support that works with last Vim version via termguicolors option. But when i tried to bring ...
Anton Rybakov's user avatar
13 votes
2 answers
15k views

Print a 256-color test pattern in the terminal [closed]

How do I print a 256-colour test pattern in my terminal? I want to check that my terminal correctly supports 256 colours.
Tom Hale's user avatar
  • 31.2k
4 votes
1 answer
2k views

How to scroll while Holding Shift to copy in tmux?

I have Mouse mode set to on in Tmux so that I can make use of the scroll wheel using set-window-option -g mode-mouse on. However if I want to copy the output of a particular command which spans more ...
Ashesh's user avatar
  • 393
5 votes
1 answer
1k views

stty settings are pathologically altered

I just set up a new computer, and as usual had to alter the settings in xterm in order to make the delete keys work properly. (Ctrl-H sends ^H, backspace sends ^?, delete sends ^[[3~. This is, of ...
Tom Hunt's user avatar
  • 10.1k
4 votes
3 answers
6k views

Why pressing Ctrl-h in xterm + tmux sends "^?"?

xterm: $ echo $TERM xterm-256color $ stty -a speed 38400 baud; rows 52; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ...
x-yuri's user avatar
  • 3,453
23 votes
2 answers
58k views

zsh: set TERM=screen-256color in tmux, but xterm-256color without tmux

I need my $TERM to be xterm-256color outside of tmux (in "plain" terminal with zsh), but screen-256color inside tmux. First I tried: add export TERM='xterm-256color' to my ~/.zshrc. add set -g ...
Dmitry Frank's user avatar
  • 2,758

15 30 50 per page