On other terminal emulators, I can use xprop together with grep to get their WM_CLASS. From that, I can add this value to .Xresources or .Xdefaults for adjusting fonts and other terminal properties. .xrdb .Xresources; xrdb -merge .Xresources (or .Xdefaults) would reset it.
Nothing shows for...
Share your .shrc and/or .kshrc configuration file(s) or samples. .profile can also be used to set common configurations of Bourne and Korn shells. Samples from this file intended for Bourne and Korn can be shared too.
There's not as many posts about use of Bourne shells and variant Korn shells...
Colorize your Csh or Bourne shell. Bourne shells include sh, ksh variants (Korn shells), and zsh. csh is a different kind of shell which uses a different syntax for commands.
Environment
Environment values can be added to your shell configuration file(s). These variables for Bourne shells can...
Hello everyone,
Wondering how I can "printf" or "cout" different combinations of colors and fonts using C/C++.
Basically want make a real time price list and parameters being displayed to terminal. It would be useless if it did not have some color scheme.
Since it's 2022, ANSI color codes is...
I am running the FreeBSD-13.0-RELEASE-amd64.vhd VM image in VirtualBox (on a non-FreeBSD host). However, the console is small:
Is there a way to increase the console's dimensions when using vt in the VHD VirtualBox image distributed by FreeBSD?
I have read this thread: Increase VT size on...
As A root I forced to use sh shell and evry time export the EDITOR variable. I've read that I should edit the .profile file in orderd to override the default EDITOR variable, I wonder where I can actully set it as originally it was set somewhere.
here is my .profile, but it doesn't work at...
What is NO_COLOR?
NO_COLOR is a hint to the software running in the terminal to suppress addition of color.
More about NO_COLOR at:
no-color.org
Background:
quote #1 from no-color.org
quote #2 from no-color.org
Hello!
I have been a long-time sysutils/screen user, now trying to switch to sysutils/tmux. In general, I am pleased, but there is a little annoyance I cannot solve:
When using less <file> under scren the displayed content remains on the terminal after less exits;
with tmux when less exits the...
I am trying to modify the colors of the kernel and terminal messages, with the options specified in the VT driver manual.
options TERMINAL_NORM_ATTR
options TERMINAL_KERN_ATTR
With the valid options of sys/terminal.h I compiled a new kernel with the VT options, to no avail.
Also with the...
Hi! I am using csh and I notice that I cannot see the command history. That is, I open a terminal, write a command, close it, and when I reopen it, it is clean. No history. How can I have the history there to speed up the writing?
Do you use something "specific" setting for colors in your shell , eg in fish or zsh
In .zshrc I have,
alias zz='gnuls --color '
export TERM=xterm-256color
export COLORTERM=yes
export COLORFGBG="default;default"
export LSCOLORS="cEgxcxdxbxegedabagacad"
export EXA_COLORS="di=35"
source...
I have a requirement, to display custom release version (need to change 12.2-Release with a custom version numbering), when a user logged in to the freebsd based custom operating system.
ssh -i xxxxxx.pem root@xx.xxx.xx.xxx
Last login: Mon Mar 8 07:03:16 2021 from xx.xx.xxx.xxx
FreeBSD...
Install FreeBSD 12.2 with Gnome, when installing the nvidia-driver all the tty (Control + alt + F (x) look like this
my rc.conf
kld_list="nvidia-modeset"
my loader.conf
linux_load="YES"
nvidia-modeset_load="YES"
nvidia_load="YES"
How do I increase the terminal font size by using the allscreens variable in rc.conf?
In my file, I have allscreens_flags="green" which sets the font to green. If this is put into /boot/loader.conf, will these settings occur sooner during boot up?
How would I change the text color in shells/ion shell?
The color for some texts is too similar to the background on my display.
From the directory, /usr/local/share/doc/ion/:
migrating.md
variables/07-namespaces.md has a lot of information on color schemes for Ion.
When I switch to a...
Where is the default path of system-wide zsh resources file? Under linux the system-wide zshrc and zshenv are usually at /etc/zsh directory. I tried /etc/zshrc, /etc/zsh/zshrc and /usr/local/etc/zsh/zshrc but it doesn't work.
Fellow FreeBSD users,
I'm using FreeBSD 12.1 RELEASE GENERIC. Under X when I type a command on the last line of a terminal, I often don't get any output. When I generate an event which triggers a refresh, the output finally appears, so I know it was there to start with. For example, if I...
Hello.
I make syntax highlighting in nginx.
I choose a yellow color.
After that, I look at the syntax highlight in nginx.conf and it appears more likely red / brown than yellow.
Who has the same problem?
cat /usr/local/share/nano/nginx.nanorc
syntax "nginx" "nginx.*\.conf$" "\.nginx$"
comment...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.