MicroBSD Handbook

Prev Next

4.7 Compile Third-party Software

In this Example we will install tcsh shell. First thing you have to do is to download the source code from http://www.tcsh.org/Home to be more easy i will list some mirrors to the latest sources:

next go to $HOME and type:

	# gunzip -d tcsh-x.xx.xx.tar.gz - (x.xx.xx is your version )
	# tar xf tcsh-x.xx.xx.tar
	# cd tcsh-x.xx.xx/
	# ./configure --host=CPU-unknown-openbsd --prefix=/ - (CPU is yout CPU type like i386 ,i686 ...) 
	

Because at this time MicroBSD is not recognized by the scripts we use OpenBSD as default.

# make # make install

To set the tcsh shell to be default for you type:

	# user mod -s /bin/tcsh root - ( if you are root )

To make it default for the new users go to /etc and edit adduser.conf, change the line:

defaultshell = "csh" to defaultshell="tcsh"

in /etc edit shells and add the line:

/bin/tcsh

The file /usr/usermgmt.conf contains information for new users, edit it with your taste.

If you want some futures like autocomplete or autocorrect get: tcsh config scripts from :http://tcshrc.sourceforge.net/ and do :

	# gunzip -d tcshrc-x.x.x.tar.gz - (x.x.x is your version)
	# tar xf tcshrc-x.x.x.tar 
	# cd tcshrc-x.x.x/
	# make install - ( this is for the curent user)
	# vi .tcshrc.set

change lines:

	
	set autocorrect to #set autocorrect
	set correct=all to #set correct=all

The ``set correct'' options some time have problems with compileing new programs. For addition to make default tcsh environment for all users add the .tcshrc files in /etc/skel directory to make it default for the new users.


Prev Home Next
Post-installation activities System Administration

This, and other documents, can be downloaded from MicroBSD.

For questions about MicroBSD, read the documentation before contacting <MicroBSD Support>.
Copyright © 1995-2003 by The FreeBSD Documentation Project, OpenBSD FAQ Copyright © 1998-2003 OpenBSD, Modified for MicroBSD