Comments (2)
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.
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)
- abbr seems not to work as expected HOT 4
- prompt_pwd -d1 -D3 fails for current directories that starts with dash HOT 1
- Ned two tries to cd in directory from stdin HOT 3
- `fish --no-execute` always adds a tilde for absolute paths HOT 1
- Copy file with argument like '*.sql' only copy first matched file in self-defined function HOT 4
- Bad unicode handling in interactive command line HOT 2
- `__fish_git_prompt_showupstream` does not use `__fish_git_prompt_char_stateseparator` HOT 2
- set_color creates extra space HOT 8
- umask: symbolic mode cannot contain empty set HOT 1
- Wrong directory test in __fish_list_current_token.fish HOT 1
- Installing a Rust release HOT 11
- Test suite failure building fish 3.7.0 on ppc64le on Fedora Rawhide HOT 2
- "set" documentation typo
- Error when deleting the last item in a `history delete --contains <text>` command
- abbr position in strings HOT 2
- conda python interactive command line SIGSEGV error HOT 4
- wait does not return on signal with handler HOT 3
- Fish tries to substitute (execute) a subshell command during completion (tab) even when surrounded with double quotes HOT 8
- master fails to build on alpine HOT 1
- complete: support json for complex arguments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.