Because I've mentioned it elsewhere, and people have asked:
I use sysutils/tmux for building the system:
# svn up /usr/src
# tmux
# cd /usr/src
# make -j8 buildworld
Then ctrl-b d detaches the tmux session. It won't be killed if I lose the connection to that machine. tmux attach reattaches...
Tonight, I wanted to make x11/rxvt-unicode and sysutils/tmux to work with 256 colors.
It took me around 2 hours to get this working.
So how to get that working?
Step 1
uninstall devel/ncurses
install devel/ncurses-devel
Step 2
Reinstall all ports that used to depend on...
Using 9.0 release, I have a entry to load the vesa module in /boot/loader.cfg.
I have an entry in /etc/rc.conf allscreens_flags="MODE_357"
For some reason the vesa module is not being loaded during boot, and then allscreens option to change the virtual terminal modes fails.
I had this working...
A simple little hack (for tcsh) that allows ease of use when adding/removing/changing file colors based on file extension. Enjoy.
# ~/.colors v0.99 for FreeBSD tcsh - [c]2012 Michael S. Sanders
# SYNOPSIS: an enhancement of the tcsh builtin 'LS_COLORS' providing a
# method of...
I'm truly enjoying FreeBSD 8.2. I work in the console, but I can't get vidcontrol to accept a 1680x1050 resolution. How to get the console to run in 1680x1050? I would really appreciate anyone to share how to do it.
Thanks.
I'm administering a FreeBSD server and added an account I will use for testing scripts. I chose the Bourne shell as the default shell to use, and I login using ssh from a macOSX terminal window.
When I login, there usually are some default shell script files that get executed by the system...
I decieded to start this thread after reading the thread 'Which shell do you use?'.
I'll start, mine is below.
# .cshrc - csh resource script, read at beginning of execution by each shell
#
#
# -- Set up command aliases
alias searchports 'find /usr/ports -type f -name pkg-descr | xargs...
Hi list,
Is there a way to set the command prompt $PS1 with shell scrypt? I can't use .profile because we are few users on one account and each user prefers different PS1.
I tried with file.sh:
PS1=`uname -n`:'$PWD'# ; export PS1
but after the execution of file.sh, PS1 remains the same...
Hi,
I have a .profile document BASH previously when I use FreeBSD 6.4 "ls" any extension of the file when I was making color the way I want.
I'm using FreeBSD 8.0 as my computer now, "ls" does not work when I already set the colors how I can fix
# /etc/profile: This file contains system-wide...
Hi All:
I'm a novice of FreeBSD.
I'd like to set my prompt like this:
[user]@[hostname]:[current path]>
What should I do?
Also, is there any documents about the .cshrc?
Thanks
Hi All:
I am not familiar with the shell script.
But I would like to have the command prompt in the following
"look":
[username]@[hostname][current path]>
What should I do in the .login file (or other file)??
Thanks.
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.