• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: vi on remote machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vi on remote machine


  • Subject: Re: vi on remote machine
  • From: Brandon Allbery <email@hidden>
  • Date: Sun, 12 Jun 2016 13:49:36 -0400

On Sun, Jun 12, 2016 at 1:24 PM, David L Chopp <email@hidden> wrote:
I do have TERM=xterm on the remote machine.  What do you use instead?  I think the character encoding is part of it, setting LANG=C solves the problem for example.

I think the TERM thing is related to remotes that have shell dotfiles that change "xterm" to "xterm-256color" or etc. (this is usually safe for Linux but can get you in trouble as soon as any other OS becomes involved)

LANG is its own bunch of headaches. Especially since various versions of OS X have weird locale processing that can leave the shell thinking LANG=C, or differences between locale names that cause remotes to fallback to LANG=C.

--
brandon s allbery kf8nh                               sine nomine associates
email@hidden                                  email@hidden
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >vi on remote machine (From: David L Chopp <email@hidden>)
 >Re: vi on remote machine (From: Tom Lane <email@hidden>)
 >Re: vi on remote machine (From: David L Chopp <email@hidden>)

  • Prev by Date: Re: vi on remote machine
  • Next by Date: Re: vi on remote machine
  • Previous by thread: Re: vi on remote machine
  • Next by thread: Re: vi on remote machine
  • Index(es):
    • Date
    • Thread