Giter Site home page Giter Site logo

Comments (2)

faho avatar faho commented on May 26, 2024

echo $TERM is vt100

That's not normal. "vt100" describes a 1970s physical terminal. That's not what you are running.

You want the default, which for Gnome Terminal typically is xterm-256color. If you changed the setting, change it back. If you didn't, figure out what broke it.

That's why fish acts in a way that's incompatible with your actual terminal.


Some more detail: See infocmp vt100 xterm-256color. This compares the vt100 and xterm-256color terminfo entries, and tells you which sequences look different in both.

For intance, sgr0 (the "turn off all attributes" sequence that fish would send for set_color normal, one of the most important escape sequences in xterm-256color is \E(B\E[m, while in vt100 it is \E[m\017$<2>.

That's your culprit - fish does the right thing and looks at your terminal's definitions to figure out how to talk to it, but what it is told your terminal is isn't it, and your terminal doesn't understand that, frankly, ancient dialect.

This is why you keep $TERM as the default and don't change it (except for sometimes "xterm" to "xterm-256color" or similar, but those are very closely related dialects).

from fish-shell.

greencardamom avatar greencardamom commented on May 26, 2024

Worked!

acre:[/home/greenc] echo $TERM
xterm-256color
acre:[/home/greenc] fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
acre:[/home/greenc] echo $TERM
xterm-256color
acre:[/home/greenc]


I'm using a tcsh .login file that was probably created in the 1980s or maybe earlier (I got it from a co worker in the 80s) and then I copied it from computer to computer over the years, first time this became a problem. Thank you very much.

from fish-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.