When I run Jest in a terminal with a light background, its yellow output is totally unreadable.
I have tried to find any options that allow me to customize the colors, or turn off output coloring altogether. I found plenty of suggestions with --colors to turn output colors on but that is the opposite of what I need.
I am using Linux with an xterm window, with black text on a white background.
For version "jest": "^24.8.0", use jest --no-colors command to disable the colors of test output.
Related
My alacritty config file is in ~/.config/alacritty/alacritty.yml with the following font settings:
# Font configuration
font:
[...]
# Point size
size: 10.0
All other font configuration options are commented out. I verified that alacritty is indeed reading this config file using the -vvv flag.
However, whenever I open a new terminal window the font seems to be selected at random. Below a picture of two windows opened one right after the other.
This problem is now reported as an issue at the alacritty repository. In general alacritty seems to have many issues with font sizes across different systems.
However, in trying to identify the cause I found that with the -vv flag alacritty always starts the terminal with a font size exactly the double of that in the config file.
So for now it is possible to work around this issue by setting up the font size at half of the desired in the config file. For instance, to obtain a font size of 14:
# Font configuration
font:
[...]
# Point size
size: 7.0
And then start alacritty with the -vv flag:
$ alacritty -vv
Possible workaround is to use -o flag when running alacritty and set font.size to desired value. Can be done through .bash_aliases or your WM config to make it faster to use.
Example:
alacritty -o font.size=8
Btw. I couldn't reproduce random font selection but I had problem with setting custom font size through alacritty config file.
I installed it with Vundle and my .vimrc look contains the following
" Powerline setup
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus=2
I am using the default Gnome Terminal than comes with Ubuntu 14.04. I don't know if it installed correctly (I followed this Vim as Python IDE tutorial) but it does not look anything like the screenshots.
Here is what is it meant to look like: Official Screenshots
And here is what it actually looks like:
As you can see, zero similarity.
The 'guifont' option applies only to GVIM. In the terminal, Vim uses the default terminal font. So, you need to go to Gnome Terminal's settings (Edit > Profile Preferences > /General\ > Font:) and change the font there, too (assuming Powerline supports the terminal at all, which I don't know).
Also, check how many colors Vim detects via :set t_Co?; you can influence / correct that by defining the correct $TERM value, probably gnome-256color for your.
Have you installed the patched fonts?
https://github.com/powerline/fonts
I've been looking everywhere for an answer to this, nothing so far.
I installed vim, got the colorschemes, got a bunch of plugins (including guicolorscheme.vim), followed the steps on the wiki and the terminal does not display a single color.
When I turn :syntax on, I get things like this:
^[[38;5;130mset ^[[38;5;5mt_Co=256
^[[38;5;130mset ^[[38;5;5mt_AB=^[[48;5;%dm
^[[38;5;130mset ^[[38;5;5mt_AF=^[[38;5;%dm
Formerly:
set t_Co=256
set t_AB=^[[48;5;%dm
set t_AF=^[[38;5;%dm
Any ideas? I tried both in a normal gnome-terminal and guake, with the same results: plain monochromatic text. Not even a trace of the colorscheme either.
Thanks in advance.
EDIT:
Seems I messed up with the config files (that or a broken install). I reinstalled, and just with guicolorscheme and set to 256 on the vimrc seems to be working just fine.
I need to use a symbol font called Moon Fonts TTF in the PDF output from GNUplot. GNUplot finds it with no problem in the Aqua terminal.
I've tried:
set fontpath "/Users/house/Library/Fonts/MoonPhases.ttf"
and other add font suggestions from the gnuplot help pages with no luck.
I have also tried a series of .ttf, .otf, postscript and unicode-mapped fonts with some support from a typography expert, with no luck at all: pdfcairo, postscript or epscairo cannot seem to find it.
GNUplot's 'show fontpath' gives:
system fontpath is "/System/Library/Fonts" "/Library/Fonts" "/Users/house/Library/Fonts"
and the fonts are there in one of those paths. I also tried placing them directly in GN's working directory.
If anyone has suggestions about how to make this work it would be much appreciated.
OSX Snow Leopard
GNUplot 4.6.1
I have gnuplot installed via MacPorts. The folder /opt/local/etc/fonts contains the file fonts.conf. In there you'll find a section "Font directory list". However, even though ~/Library/Fonts is part of the gnuplot fontlist variable by default (and therefore aquaterm is able to use them), it is not listed in here (and therefore pdfcairo can't use them).
A quick fix is to create the following symbolic link:
cd ${HOME}
ln -s Library/Fonts .fonts
Then your pdfcairo output should pick up the fonts that are installed at the user level on your Mac.
I have tested this with gnuplot 4.6 on Mavericks (10.9.5), and it seems to work fine.
I'm trying to get colors to show up on my Windows 7 x64 machine when running rspec. I've tried console2 and ansicon but that makes Ruby crash. I've got ConEmu installed and Ruby runs again but I'm not getting any colors for rspec. Also in lines I expect to see color, they are preceded by text like [31m or [36m (this also occurs with cmd.exe).
Thanks for any help
Sharon
To enable ANSI X3.64 processing in ConEmu you must enable two options on "Features" page:
"Inject ConEmuHk"
"ANSI X3.64 / xterm 256 colors"
In fact, if you need ANSI processing in the root process only (cmd.exe for example) - there is no need in enabling "Inject ConEmuHk". But in most cases, when you run smth (which uses ANSI) from root shell - "Injects" are required.
ATM, latest alpha version recommended, there was some lags in the current stable build.