💾 Archived View for gemini.ctrl-c.club › ~nristen › gemlog › 20210618.gmi captured on 2024-05-12 at 15:51:17. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Nristen's (g)log
2021-06-18

No Backspace in SSH session

I have installed Alpine Linux on my desktop and am using "st" as the terminal emulator with i3 as the window manager. I use "Barrier" to share the same keyboard between three computers and their monitors. Frequently, I will ssh into one of the computers if I need more terminal windows to work with on one of the computers.

I noticed that when I ssh'd from my alpine desktop into my MacBook that backspace did not work.

I found the following solution:

On my MacBook, which is running Zsh, add the following line in ~/.zshrc

export TERM=xterm-256color

After reconnecting via SSH it worked.

before adding this line to .zshrc the TERM variable contained, "st-256color" which seemed to work when sshing into other linux systems but not the MacBook.

Reference Links:

st terminal emulator

Alpine Linux

--------

(g)log

Home