Console2 cygwin all green - cygwin

I just set up Console2 and cygwin. All defaul settings.
Then in Console2 settings I configured new tab to use cygwin (set Shell to C:\programs\cygwin\Cygwin.bat).
Now when I open cygwin console font is green. Part of prompt have different color, but when I type characters are green.
I used to use this configuration before and never have such problem.
PS: When I launch Cygwin.bat from explorer situation is same. But when I do it from FAR Manager all colors are OK.

Most probably you have this colors configured in Windows console defaults. Run cmd from Win-R and check result.

To fix that I runned bash.exe from explorer, opened Defaults menu and changed Screen Text property in Colors tab.
Thanks ti #Maximus for idea

Related

Emacs solarized theme looks weird in terminal and dark mode does not work

I tried installing this theme in emacs.
I downloaded the folder emacs-color-theme-solarized and put it into the .emacs.d/ directory.
I created a file init.el in the same directory and put the following into that file:
(add-to-list 'custom-theme-load-path "~/.emacs.d/emacs-color-theme-solarized/")
(load-theme 'solarized t)
When I did eval-buffer or restarting emacs it looked like this:
The font is not readable. When I start emacs in GUI it looks better.
I want to use the dark solarized theme so I followed the instructions on the website and did M-x customize-variable frame-background-mode and pressed on the button Value Menu and set it to dark and then saved by C-x C-s. I restarted but it still is the light theme. Here is the a screenshot from the menu.
How can I fix the problems in the terminal and activate the dark mode?
In order to resolve this issue you need to change your terminal settings. How you do this depends on which terminal you have. The problem is that solarized themes want a terminal running in 16 color mode where the colors are very specifically defined. You can set up your terminal to use these colors by finding it in the solarized github repository. Once your terminal is using the right colors everything will just work.

How to set up the apps key in conemu so it doesn't open the mintty menu

I use Conemu and Cygwin at home and at work, and I was trying to get the keyboard and highlighting to behave the same way in both places, so I imported my home Conemu settings file into my work Conemu, and now I've lost my ability to use Apps+PgDn/PgUp to scroll the backbuffer. Instead, when I press the Apps key, the mintty menu pops up.
How do I get that back?
I finally figured out that the problem is mintty.exe. I think they changed it in Windows 10 so the Apps/Menu key makes the context menu pop up, and there doesn't seem to be any way to disable that. I'm using Windows 8 at work and Windows 10 at home, hence the disparity.
If you just set your task to run bash.exe, everything seem to work fine.
Now that I figured it out, I can see why running mintty.exe in ConEmu doesn't make much sense, since they're kind of competing products, both designed to be better alternatives to cmd.exe.
There are only a couple of differences:
bash.exe has no way to specify an icon, but that easily fixed by putting /icon "C:\cygwin\Cygwin-Terminal.ico" (or whatever your cygwin icon path is) in ConEmu's task parameters.
The color scheme is also different, but appending -new_console:P:"<Standard VGA>" to the task command makes it the same as mintty.exe's (I want ConEmu to run Far Manager with the <Solarized> color scheme).

Can I change the default response color in Linux Terminal?

It would be nice to be able to easily see the conversations I have with my computer in 'call and response' style, so my input lines are in one color, and what is returned shows in a different one.
Add to your ~/.bashrc
export CLICOLOR=1
export PS1="\[$(tput setaf 1)\]\h:\W\\$ "
This will enable colour for your terminal and set your prompt to dark red. The CLICOLOR may not be required on some systems, but for some (such as Mac OS X) it is disabled by default.
A useful tool for building your own custom prompt can be found at https://www.kirsle.net/wizards/ps1.html
Right click on the terminal -> Profile ->profile preferences. Here you can play around with colour and visual settings.
EDIT
Sorry I did not quite get problem.
On this other forum is well explained

Changing emacs font (no "set default font" option in menu; .emacs scripts not working)

From the many posts on how to change emacs' default font, it seems as though emacs 24 should have an option called "set default font" under Menu --> Options. As you can see from the image below, I'm given no such option. (The only option related to fonts is "Set default font".) I've tried adding various scripts to my .emacs file which are intended to change the global font, yet the default persists.
I've downloaded and installed Inconsolata via sudo apt-get install fonts-inconsolata (ttf-inconsolata no longer works) and I've also run sudo fc-cache. Given the usual answers don't seem to be working, I'm lost on what to do next...
At this point, I'm suspecting if I need to make a shell-level (or possibly system-level) change in settings in order to enable font selection on emacs (i.e., similar to ensuring that my XTERM color settings were 256 color in order to get Zenburn to work; am a Linux newbie if it isn't obvious - just trying to brainstorm here).
Version info, if helpful: I'm running Ubuntu 14.04.1 (Xubuntu), emacs 24.3.1 and am launching via "emacs -nw" from the default Xubuntu shell.
Here's what I see when I go to the Menu and then select Options (i.e., pressing "F10", then "o"):
The simple answer is that Emacs can't change the font of the terminal. It can only set the colour (and possibly adding bold and underline properties). This is true for all console mode programs. You need to run Emacs in GUI mode to enable full font selection.

Terminal output is invisible

I've just installed Xmonad as my windows manager for Linux Mint 16. Its working fine except for one thing, there is no visible output when using terminal.
For example if I launch Firefox via terminal, the program loads up fine. However there is no output in terminal to show I have done this. Its as if the terminal output is being written in black rather than white.
Another example to more clearly illustrate my point, if I press the up arrow key, none of my previous executed input is shown.
I haven't touched any config files, its a clean install of Xmonad.
Any help would be appreciated. Again i've tried searching for the issue on Google but couldn't find anything.
SOLVED. Terminal was changing the output font to black due to the Xmonad settings. Solved by changing the terminal colour scheme to explicit white on black rather than system default.

Resources