Showing posts with label FreeBSD. Show all posts
Showing posts with label FreeBSD. Show all posts

15 November 2011

Installing Emacs 24 from source in FreeBSD

I have installed emacs 24 from bzr in FreeBSD. Here it is goes.
  1. Install bzr from portage.
    • %cd /usr/ports/devel/bzrtools && sudo make install clean
  2. Install depended software from default emacs portage.
    • %cd /usr/ports/editor/emacs && sudo make
  3. Create emacs checkout director for bzr checkout
    • %mkdir ~/gnmk_emacs
  4. Pull the updated branch from emacs source
    • %cd ~/gnmk_emacs
    • %bzr branch http://bzr.savannah.gnu.org/r/emacs/trunk emacs_trunk
  5. Configure
    • %cd ~/gnmk_emacs/emacs_trunk/
    • %./Configure --prefix=~/gnmk_emacs/bsd_emacs/
  6. Make bootstrap to generate all lisp
    • %gmake bootstrap
  7. Finally Install
    • %gmake install
  8. Run 
    • %~/gnmk_emacs/bsd_emacs/bin/emacs
   

13 September 2011

Hardware beep on/off in FreeBSD

To enable or disable hardware beep in FreeBSD operating systems use MIB hw.syscons.bell. Type the following command to disable for current session:
$sudo sysctl hw.syscons.bell=0
To keep the setting permanently use following in your sysctl.conf file
#echo "hw.syscons.bell=0" >> /etc/sysctl.conf

04 July 2011

FreeBSD 8.2

After reading this http://www.over-yonder.net/~fullermd/rants/bsd4linux/01 , I am planning to give a chance to FreeBSD.

Let see how it goes and how long i will stay with this.