View Single Post
  #6   (View Single Post)  
Old 24th November 2013
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
It mentions another directory that might contain tmux.conf, /usr/share/tmux, but I have no such tmux directory. A "whereis tmux" shows only /usr/bin tmux.
One of the major differences between Linux and the BSD's is where files are placed. In general, user installed files in OpenBSD and FreeBSD are placed in /usr/local. Since Linux is just a kernel, everything else is essentially user installed in /usr.

OpenBSD places all configuration files in /etc irregardless of whether they are base applications or user applications. For example, the dhcp code is a core application and its configuration file is /etc/dhcpd.conf while mpd is user installed with its configuration file in /etc/mpd.conf.

Tmux is core package in OpenBSD which is why it is installed in /usr/bin. Prior to tmux being included as a core package, the executable binary, if you would have installed it, would have ended up in /usr/local/bin.

In OpenBSD, if it is likely that different users might tweak a configuration file to their own preferences, one can copy the /etc configuration file to one's home directory and modifiy it. The modification will overided the system conf files in /etc

Last edited by shep; 24th November 2013 at 03:00 AM.
Reply With Quote