You are not logged in.

#1 2014-03-27 22:40:55

vlsd
Member
Registered: 2013-06-24
Posts: 33
Website

Weird encoding issue during ssh session

I'll start by saying that encoding during ssh is somewhat of a mystery to me, and I've always been impressed that 99% of the time it seems to "just work". Anyway, today I ran into one of the 1% cases. I was ssh-ing into my Arch machine from my OS X laptop, and everything was going great. I then realized I need to install something on my Arch machine (from the AUR) and called yaourt to do it. Everything went well with the interactive stuff (pressing Y or enter would continue, pressing n would choose the "no" menu, etc.) until the very last question when it asks if you are really sure you want to install the package. At this point I found it impossible to send a newline to what I assume is pacman. Pressing enter printed ^M, pressing backspace printed ^H, etc. Why would the terminal behave like this, but only during the pacman question and at no other point of interacting with the shell? What is likely wrong with my ssh encoding settings (either on my mac or on my Arch machine) to generate this behavior? Thanks!

Offline

#2 2014-03-27 22:43:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Weird encoding issue during ssh session

Different terminfo would be my guess. What happens if you remove yaourt from the equation?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-03-28 02:13:36

vlsd
Member
Registered: 2013-06-24
Posts: 33
Website

Re: Weird encoding issue during ssh session

jasonwryan wrote:

What happens if you remove yaourt from the equation?

Calling just pacman works. I can press enter when prompted and install the package.

Offline

#4 2014-03-28 02:17:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Weird encoding issue during ssh session

So it is yaourt that is broken. You are better off without it anyway...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB