Skip to main content
Add more info
Source Link
Tran Triet
  • 715
  • 2
  • 14
  • 28

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

When I use tmux on my MacOS and then ssh into an EC2, I experience this behavior: sometimes when I hit space, the previous character is duplicated.

Question

Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.

Update

This is why I set TERM environment the way I'm having it now. I'm not sure about the reason behind it.

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

When I use tmux on my MacOS and then ssh into an EC2, I experience this behavior: sometimes when I hit space, the previous character is duplicated.

Question

Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.

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

When I use tmux on my MacOS and then ssh into an EC2, I experience this behavior: sometimes when I hit space, the previous character is duplicated.

Question

Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.

Update

This is why I set TERM environment the way I'm having it now. I'm not sure about the reason behind it.

Source Link
Tran Triet
  • 715
  • 2
  • 14
  • 28

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

When I use tmux on my MacOS and then ssh into an EC2, I experience this behavior: sometimes when I hit space, the previous character is duplicated.

Question

Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.