Those amber and green terminals are still available today in a modern terminal emulator found here:
As mentioned above, it is the color of the terminal emulator that nano relies upon for it's background color. However, many elements of the nano interface can be colored to change it from the default. The configuration alterations can be made by copying the file: /etc/nanorc, to the user's home directory:The prompt is green, anything I type is white, and the background is black. I'd like to change the white to green as well.
## Paint the interface elements of nano. These are examples; there are
## no colors by default, except for errorcolor and spotlightcolor.
# set titlecolor bold,white,blue
# set promptcolor lightwhite,grey
# set statuscolor bold,white,green
# set errorcolor bold,white,red
# set spotlightcolor black,lightyellow
# set selectedcolor lightwhite,#804
# set stripecolor ,#444
# set scrollercolor slate,#222
# set numbercolor cyan
# set keycolor cyan
# set functioncolor green
Thank you very much for this, it's 6:30 AM here but I'll play with this as soon as I'm done with my obligations today.nanorc
The prompt is green, anything I type is white, and the background is black. I'd like to change the white to green as well.
Can one change the colour and then I comment it? I’d like to change the title colour to green. I.e. change “# set titlecolor bold,white,blue” to “# set titlecolor bold,green,blue”?As mentioned above, it is the color of the terminal emulator that nano relies upon for it's background color. However, many elements of the nano interface can be colored to change it from the default. The configuration alterations can be made by copying the file: /etc/nanorc, to the user's home directory:
/home/$USER, as a dotfile. That means copying the nanorc file that is in the /etc directory, to the /home/$USER directory as a file with the same name but preceded by a dot, so it appears as:
/home/$USER/.nanorc
Then one can open that file with a text editor and see what can be colorised. Some color configurations in that
/home/$USER/.nanorc file are as follows:
For example, if one wished to change the colors of the keys that appear at the bottom of a file opened by nano, they could uncomment the "keycolor" line, that is, remove the # sign, save the file, and then the keys like "^G" etc. would appear in the color cyan the next time nano was used to open a file.Code:## Paint the interface elements of nano. These are examples; there are ## no colors by default, except for errorcolor and spotlightcolor. # set titlecolor bold,white,blue # set promptcolor lightwhite,grey # set statuscolor bold,white,green # set errorcolor bold,white,red # set spotlightcolor black,lightyellow # set selectedcolor lightwhite,#804 # set stripecolor ,#444 # set scrollercolor slate,#222 # set numbercolor cyan # set keycolor cyan # set functioncolor green
For changing the colors of a terminal emulator, to alter the color of nano's background, one needs to use the configurations provided for the particular terminal emulator being used. They differ between emulators so one would need to research the particular choices made by the emulator and how it effects the configuration change.
You can play around with the configuration file trying out different colors, commenting and uncommenting as much as you like. The nano command reads the .nanorc file each time nano opens a file so once you change a config you can check its effect by opening a file with nano.Can one change the colour and then I comment it? I’d like to change the title colour to green. I.e. change “# set titlecolor bold,white,blue” to “# set titlecolor bold,green,blue”?
man nanorc and under the option color, it lists the available colors. There's bold and italic options too.I've used Nano a bit, but it's visually very stark. I've heard of emacs and another one I can't remember the name of right now. But what text editor do other here use?
Hey, that one it's not bad actually I used it many times as I liked to use bold text exclusively when I was younger to pretend I was working on an office (cuz for some reason that's the type of job I thought all adults had, including my own parents).Microsoft Word
Hey, that one it's not bad actually
It was a sarcastic replyA suggestion made with your tongue firmly in your cheek@f33dm3bits.
I've used Nano a bit, but it's visually very stark. I've heard of emacs and another one I can't remember the name of right now. But what text editor do other here use?
...almost!?Emacs is also popular, but it’s almost a separate operating system
...almost!?Emacs is also popular, but it’s almost a separate operating system
re. "chording" - I'd never heard it called that before, but it makes sense.