Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] vi weird when I ssh to one machine
- Date: Sat, 13 Feb 2021 22:18:12 +0000
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] vi weird when I ssh to one machine
- References: <420c0750-b78f-a51c-c7ff-e8e6945b9f84@dcook.org> <20210205222718.GA18140@fluxcoil.net> <24606.21289.40467.646036@turnbull.sk.tsukuba.ac.jp> <f45e149e-f166-49e0-78bb-90d96e06f004@dcook.org>
Hope you are all okay, not too shaken :-) > ssh sessions on two machines, and both are: > > TERM=xterm-256color > SHELL=/bin/bash I had one last stab at this, using `strace vi test` on both machines, pressing "i", then "ESC" then ":q!" The output was practically identical. They both open "/lib/terminfo/x/xterm-256color", which is just over 3000 bytes on both machines. That file is part of the ncurses-base package on both machines. Just slightly different versions (the machines are mint 19 and 20, aka Ubuntu 18.04 and 20.04). The working machine writes: write(1, "\33[?2-- INSERT -- ____ 1,1 ____ All) = 62 (Where I've put ____ is a bunch of spaces, just reformatting for email) The problem machine writes: write(1, "\33[?2004l\33[>4;m", 14*[>4;m) = 14 Where I've put "*" is 0x0018. I had the crazy idea this might be a locale thing, it cannot find the en_GB for "INSERT" ? Turns out it was crazy: I did `sudo dpkg-reconfigure locales` and chose en_GB. Then when that made no difference I tried en_US. Which also made no difference. Ho hum. This might have to wait (a few weeks) until I get a monitor for this server, and then I can see if the problem only happens over ssh. Thanks for all the ideas, Darren
- Follow-Ups:
- Re: [tlug] vi weird when I ssh to one machine
- From: Stephen J. Turnbull
- Re: [tlug] vi weird when I ssh to one machine
- From: Stephen Lee
- References:
- [tlug] vi weird when I ssh to one machine
- From: Darren Cook
- Re: [tlug] vi weird when I ssh to one machine
- From: Christian Horn
- Re: [tlug] vi weird when I ssh to one machine
- From: Stephen J. Turnbull
- Re: [tlug] vi weird when I ssh to one machine
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [announcement] Nomikai - February 12th, 2021
- Next by Date: Re: [tlug] vi weird when I ssh to one machine
- Previous by thread: Re: [tlug] vi weird when I ssh to one machine
- Next by thread: Re: [tlug] vi weird when I ssh to one machine
- Index(es):