Skip to content

Ssh behaving weird from Mac to linux. #3911

Answered by dgl
limonoct asked this question in Q&A
Dec 29, 2024 · 3 comments · 14 replies
Discussion options

You must be logged in to vote

I suspect you've got a mix of programs using the system ncurses and the brew installed one, so it will work for tools built against the brew version, but not the system one. As @edrozenberg says putting it in the system location in /usr/share will work, but this is a bit confusing as you'll have to install it twice.

Better IMO would be to use a command which calls the system tic directly: infocmp -x | ssh YOUR-SERVER -- /usr/bin/tic -x - this will use the system version of tic, which will then find it can't write to /usr/share and install it in ~/.terminfo which both instances of ncurses will pick up.

(This happens because the home/linuxbrew installation location is writable to your norma…

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
1 reply
@Lira-tron
Comment options

Comment options

You must be logged in to vote
12 replies
@limonoct
Comment options

@limonoct
Comment options

@edrozenberg
Comment options

@dgl
Comment options

Answer selected by limonoct
@Lira-tron
Comment options

Comment options

You must be logged in to vote
1 reply
@dgl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants