Unsubscribe > On Jun 12, 2016, at 10:49 AM, [email protected] wrote: > > Send X11-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.apple.com/mailman/listinfo/x11-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of X11-users digest..." > > > Today's Topics: > > 1. vi on remote machine (David L Chopp) > 2. Re: vi on remote machine (Egan Ford) > 3. Re: vi on remote machine (Egan Ford) > 4. Re: vi on remote machine (David L Chopp) > 5. Re: vi on remote machine (Tom Lane) > 6. Re: vi on remote machine (David L Chopp) > 7. Re: vi on remote machine (Brandon Allbery) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Jun 2016 14:34:38 +0000 > From: David L Chopp <[email protected]> > To: "[email protected]" <[email protected]> > Subject: vi on remote machine > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi, > > I’ve noticed recently, and it was before the most recent X11 update, that > when I use an xterm window on my mac, do a remote login to a Ubuntu linux > machine and then run vi on that machine, the screen doesn’t refresh properly. > For example, if I scroll down by more than one line, e.g. using ctrl-f, I > get an overlay of the first screen and the new screen. I don’t have this > problem using the OS X terminal app, so I’m guessing there’s something fishy > with the X11 app? > > Dave > > ------------------------------------------------------------------------------------------------ > > Mathematics is as much an aspect of culture as it is a collection of > algorithms. ~Carl Boyer > > ------------------------------------------------------------------------------------------------ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.apple.com/archives/x11-users/attachments/20160612/2c1fe75d/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Sun, 12 Jun 2016 08:39:34 -0600 > From: Egan Ford <[email protected]> > To: David L Chopp <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: > <cafghwquwzwjs03kervqpvohvfqujghdooaoln-zne9pkjpk...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > I've seen this as well, but not limited to X11. If the target Ubuntu > machine has vi, no problems, if vim, then a problem. My current hack > is to export LANG=C. I have not had time to find root cause. > > On Sun, Jun 12, 2016 at 8:34 AM, David L Chopp <[email protected]> wrote: >> Hi, >> >> I’ve noticed recently, and it was before the most recent X11 update, that >> when I use an xterm window on my mac, do a remote login to a Ubuntu linux >> machine and then run vi on that machine, the screen doesn’t refresh >> properly. For example, if I scroll down by more than one line, e.g. using >> ctrl-f, I get an overlay of the first screen and the new screen. I don’t >> have this problem using the OS X terminal app, so I’m guessing there’s >> something fishy with the X11 app? >> >> Dave >> >> ------------------------------------------------------------------------------------------------ >> >> Mathematics is as much an aspect of culture as it is a collection of >> algorithms. ~Carl Boyer >> >> ------------------------------------------------------------------------------------------------ >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> X11-users mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/x11-users/egan%40sense.net >> >> This email sent to [email protected] > > > > ------------------------------ > > Message: 3 > Date: Sun, 12 Jun 2016 08:40:27 -0600 > From: Egan Ford <[email protected]> > To: David L Chopp <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: > <CAFGhWqsjRCFraq2+=bzS3_rM0y5M2To4C=scba5y6huam8x...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > I should have been more clear, export LANG=C on the Ubuntu machine. > This also happens with newer Debian machines as well IIRC. > > On Sun, Jun 12, 2016 at 8:39 AM, Egan Ford <[email protected]> wrote: >> I've seen this as well, but not limited to X11. If the target Ubuntu >> machine has vi, no problems, if vim, then a problem. My current hack >> is to export LANG=C. I have not had time to find root cause. >> >> On Sun, Jun 12, 2016 at 8:34 AM, David L Chopp <[email protected]> >> wrote: >>> Hi, >>> >>> I’ve noticed recently, and it was before the most recent X11 update, that >>> when I use an xterm window on my mac, do a remote login to a Ubuntu linux >>> machine and then run vi on that machine, the screen doesn’t refresh >>> properly. For example, if I scroll down by more than one line, e.g. using >>> ctrl-f, I get an overlay of the first screen and the new screen. I don’t >>> have this problem using the OS X terminal app, so I’m guessing there’s >>> something fishy with the X11 app? >>> >>> Dave >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> Mathematics is as much an aspect of culture as it is a collection of >>> algorithms. ~Carl Boyer >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> X11-users mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/x11-users/egan%40sense.net >>> >>> This email sent to [email protected] > > > > ------------------------------ > > Message: 4 > Date: Sun, 12 Jun 2016 14:49:56 +0000 > From: David L Chopp <[email protected]> > To: Egan Ford <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Thanks for that and for such a quick response. Looks like it turns off > localization. That’s consistent with the fact that I always have to switch > on UTF-8 encoding in order to read the error messages from the compiler on > the Ubuntu machine as well. > > On Jun 12, 2016, at 9:40 AM, Egan Ford > <[email protected]<mailto:[email protected]>> wrote: > > I should have been more clear, export LANG=C on the Ubuntu machine. > This also happens with newer Debian machines as well IIRC. > > On Sun, Jun 12, 2016 at 8:39 AM, Egan Ford > <[email protected]<mailto:[email protected]>> wrote: > I've seen this as well, but not limited to X11. If the target Ubuntu > machine has vi, no problems, if vim, then a problem. My current hack > is to export LANG=C. I have not had time to find root cause. > > On Sun, Jun 12, 2016 at 8:34 AM, David L Chopp > <[email protected]<mailto:[email protected]>> wrote: > Hi, > > I’ve noticed recently, and it was before the most recent X11 update, that > when I use an xterm window on my mac, do a remote login to a Ubuntu linux > machine and then run vi on that machine, the screen doesn’t refresh > properly. For example, if I scroll down by more than one line, e.g. using > ctrl-f, I get an overlay of the first screen and the new screen. I don’t > have this problem using the OS X terminal app, so I’m guessing there’s > something fishy with the X11 app? > > Dave > > ------------------------------------------------------------------------------------------------ > > Mathematics is as much an aspect of culture as it is a collection of > algorithms. ~Carl Boyer > > ------------------------------------------------------------------------------------------------ > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > X11-users mailing list > ([email protected]<mailto:[email protected]>) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/x11-users/egan%40sense.net > > This email sent to [email protected] > > ------------------------------------------------------------------------------------------------ > > Let us grant that the pursuit of mathematics is a divine madness of the > human spirit, a refuge from the goading urgency of contingent happenings. > ~Alfred North Whitehead > > ------------------------------------------------------------------------------------------------ > David Chopp > Chair > Engineering Sciences and Applied Mathematics > Northwestern University > E-mail: [email protected]<mailto:[email protected]> > Phone: (847)-491-8391 > Fax: (847)-491-2178 > Homepage: http://people.esam.northwestern.edu/chopp > ------------------------------------------------------------------------------------------------ > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.apple.com/archives/x11-users/attachments/20160612/aaf4d385/attachment-0001.html> > > ------------------------------ > > Message: 5 > Date: Sun, 12 Jun 2016 13:21:59 -0400 > From: Tom Lane <[email protected]> > To: David L Chopp <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: <[email protected]> > > David L Chopp <[email protected]> writes: >> I’ve noticed recently, and it was before the most recent X11 update, that >> when I use an xterm window on my mac, do a remote login to a Ubuntu linux >> machine and then run vi on that machine, the screen doesn’t refresh >> properly. For example, if I scroll down by more than one line, e.g. using >> ctrl-f, I get an overlay of the first screen and the new screen. I don’t >> have this problem using the OS X terminal app, so I’m guessing there’s >> something fishy with the X11 app? > > Might be worth checking what TERM is set to on the remote side. I've > had few problems using TERM=xterm. (I avoid vi, though.) > > A different line of thought is that your Mac-local xterm has a different > notion of what the character set encoding is than the remote vi does. > This would only matter when non-ASCII characters are in view. > > regards, tom lane > > > ------------------------------ > > Message: 6 > Date: Sun, 12 Jun 2016 17:24:57 +0000 > From: David L Chopp <[email protected]> > To: Tom Lane <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > 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. > > Dave > > On Jun 12, 2016, at 12:21 PM, Tom Lane > <[email protected]<mailto:[email protected]>> wrote: > > David L Chopp <[email protected]<mailto:[email protected]>> writes: > I’ve noticed recently, and it was before the most recent X11 update, that > when I use an xterm window on my mac, do a remote login to a Ubuntu linux > machine and then run vi on that machine, the screen doesn’t refresh properly. > For example, if I scroll down by more than one line, e.g. using ctrl-f, I > get an overlay of the first screen and the new screen. I don’t have this > problem using the OS X terminal app, so I’m guessing there’s something fishy > with the X11 app? > > Might be worth checking what TERM is set to on the remote side. I've > had few problems using TERM=xterm. (I avoid vi, though.) > > A different line of thought is that your Mac-local xterm has a different > notion of what the character set encoding is than the remote vi does. > This would only matter when non-ASCII characters are in view. > > regards, tom lane > > ------------------------------------------------------------------------------------------------ > > I used to love mathematics for its own sake, and I still do, because it allows > for no hypocrisy and no vagueness.... ~Stendhal > > ------------------------------------------------------------------------------------------------ > David Chopp > Chair > Engineering Sciences and Applied Mathematics > Northwestern University > E-mail: [email protected]<mailto:[email protected]> > Phone: (847)-491-8391 > Fax: (847)-491-2178 > Homepage: http://people.esam.northwestern.edu/chopp > ------------------------------------------------------------------------------------------------ > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.apple.com/archives/x11-users/attachments/20160612/57d6e5df/attachment-0001.html> > > ------------------------------ > > Message: 7 > Date: Sun, 12 Jun 2016 13:49:36 -0400 > From: Brandon Allbery <[email protected]> > To: David L Chopp <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: vi on remote machine > Message-ID: > <CAKFCL4XuxT1BxegtMRtMxwtzmiUCjVS+frq4D9yZ0=uxajh...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > On Sun, Jun 12, 2016 at 1:24 PM, David L Chopp <[email protected]> > 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 protected] [email protected] > unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.apple.com/archives/x11-users/attachments/20160612/ba99b777/attachment.html> > > ------------------------------ > > _______________________________________________ > X11-users mailing list > [email protected] > https://lists.apple.com/mailman/listinfo/x11-users > > End of X11-users Digest, Vol 13, Issue 59 > *****************************************
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
