customize terminal

  1. sidetone

    jbxvt terminal emulator: adding WM_CLASS and increasing/changing font?

    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...
  2. amr

    Shell The bourne shell prompt color

    I am using bourne shell, and I wonder how to color the shell prompt.
  3. sidetone

    Shell Share your .shrc, .kshrc or .mkshrc file segments: Bourne or Korn shell

    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...
  4. sidetone

    Colorize your BSD shell

    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...
  5. First_Law_of_Unix

    C How to "printf" or "cout" custom RGB colors with different fonts?

    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...
  6. M

    Solved How to increase vt console size in VirtualBox image

    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...
  7. blind0ne

    Shell How to change EDITOR to default parameter

    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...
  8. A

    Solved NO_COLOR: output with ANSI colour by default, good or bad?

    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: Background: quote #1 from quote #2 from
  9. Argentum

    Solved tmux vs screen

    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...
  10. F

    No color (VT driver)

    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...
  11. Spity

    csh command history

    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?
  12. Alain De Vos

    Shell configuration, terminal-&command-line colors ?

    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...
  13. pavlar

    How change letters and background colors

    How to change .cshrc so that user has yellow letters on a black background. Otherwise, he has a white background behind the cursor.
  14. R

    How could I display a custom version at login prompt

    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 Last login: Mon Mar 8 07:03:16 2021 from FreeBSD...
  15. Spity

    Solved TTY & nVidia Error

    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"
  16. sidetone

    Increase terminal font with allscreens?

    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?
  17. sidetone

    Shell Change text colors in Ion shell?

    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/: variables/ has a lot of information on color schemes for Ion. When I switch to a...
  18. A

    Where is system wide zshrc and zshenv?

    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.
  19. K

    Terminal refresh problems

    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...
  20. bagas

    nano color yellow

    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...