customize terminal

  1. amr

    Shell The bourne shell prompt color

    I am using bourne shell, and I wonder how to color the shell prompt.
  2. 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...
  3. 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...
  4. First_Law_of_Unix

    C/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...
  5. 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...
  6. 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...
  7. 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: no-color.org Background: quote #1 from no-color.org quote #2 from no-color.org
  8. 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...
  9. 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...
  10. 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?
  11. 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...
  12. 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.
  13. 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 root@xx.xxx.xx.xxx Last login: Mon Mar 8 07:03:16 2021 from xx.xx.xxx.xxx FreeBSD...
  14. 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"
  15. 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?
  16. 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/: migrating.md variables/07-namespaces.md has a lot of information on color schemes for Ion. When I switch to a...
  17. 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.
  18. 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...
  19. 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...
  20. NapoleonWils0n

    Solved st terminal convert terminfo to termcap

    I built the suckless st terminal from source, but the makefile use tic to add the st.info file to the terminfo.db which freebsd doesnt use Freebsd uses termcap.db which means the st terminal has odd behavior especially with ncurses apps like newsboat and ncmpc because the termcap.db doesnt...
Top