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: Thu, 11 Feb 2021 23:04:29 +0900
- From: "Stephen J. Turnbull" <turnbull.stephen.fw@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> <24611.17383.716254.299165@turnbull.sk.tsukuba.ac.jp> <d12b44b2-b9f8-66e3-86c7-019ca80fe2ce@dcook.org>
Darren Cook writes: > By "terminal" do you mean on the client machine, or on the server? By terminal I mean the hardware or program that either drives your monitor, or in a gui environment, the window. > On the client it is xfce4-terminal. But this is the same terminal I > use with all the other servers, where `vi` does work fine with > TERM=xterm-256color. OK. Do you want 256 color vi? If you don't care, I guess we're done. With the text of the control sequences it might be possible to guess what the (remote) vi is trying to do that the terminal doesn't understand. Are you sure you're using the same vi (vi vs vim vs nvi ...) on all hosts? Also, I don't know how complex vi's configuration system is (eg, with bash or git you might be pulling in a rc file embedded in the rings of Saturn), but there may be a config file you don't normally mess with in /etc or somewhere that has something in it that causes vi to emit rarely used control sequences. There's a comment in the terminfo database source that most other emulators don't understand the "initc" sequence that can be used in xterm to initialize the 256 color palette, but that seems unlikely to be your issue since that should only happen once and after that you should have no trouble getting work done. The ncurses terminal driver is a horror of special cases. To get an idea, visit https://invisible-island.net/ncurses/terminfo.src.html, search to "######## X TERMINAL EMULATORS", and scroll for a few pages. Be assured, however many you can bear to look at, there are quite a few more. ;-) The header comment is also quite amusing, for connoisseurs of GNU infighting. :-) Steve
- 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
- 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] vi weird when I ssh to one machine
- Next by Date: Re: [tlug] [announcement] Nomikai - February 12th, 2021
- 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):