
Installing UNIX Interactive Tools 4.1c:

  1.	There are two configuration file in UIT 4.1c:
	a.	.uitrc.su		super user configuration file
	b.	.uitrc			normal user configuration file

	When UIT is started, it search a file named .uitrc  in  the  user's
	home directory so, if you want to install UIT 4.1c for a super user,
	copy the  file  .uitrc.su  into  the  super  user's home directory,
	renaming it .uitrc. If you want  to  install  this  program  for  a
	normal user do the same thing with the file .uitrc.

  2.	Compile the sources. The Makefile is configured for Linux  but  you
	can very simply configure it for ULTRIX or other UNIX systems. Just
	read it.
	    a) compiling UIT 4.1c for Linux:
		- if you are not using SLACKWARE Linux 1.2.0  you  need to
		  comment out the  definition  of  the  function  yywrap()
		  in the file termcap.l. This is due to the fact that with
		  older versions of flex yywrap() was already defined.
		  Starting with SLACKWARE Linux 1.2.0 flex doesn't  define
		  yywrap() anymore so I had to do it myself  in  order  to
		  get UIT correctly compiled (linked). Not my fault :-)
		- if you want to use UIT at the console just do
			make clean
			make dep
			make
			make man
		  and then copy the .uitrc file in your home directory.  If
		  your monitor is  monochrome, in the  [Setup]  section  of
		  .uitrc set ColorMonitor to OFF.
		  
		- for those users running UIT with  a  b/w  tty,  copy  the
		  .uitrc file in their home directory seting in the [Setup]
		  section  LinuxConsole to OFF  (if  LinuxConsole  is  OFF,
		  ColorMonitor is ignored). If the tty is some  sort  of  a
		  vt100,  the cursor  keys  will  probably not work without
		  copying .uittermcap in the home  directory  (please  read
		  the BUGS sectioon of the manual page for more details).

	    b) compiling UIT 4.1c for other Unix systems:
		- if your C compiler supports the  'const'  keyword, define
		  HAVE_CONST.
		- if your system sopports the statfs() system  call  define
		  HAVE_STATFS (optional, UIT 4.1c works fine without it).
		  If UIT fails to compile, just  forget  about  HAVE_STATFS
		  (undefine it and try again).
		- an example: (this should be in the Makefile for a  system
		  with  a compiler  that  supports  the 'const' keyword but
		  does't have a statfs() system call)
			SYSCONFIG = -DHAVE_CONST
			CFLAGS    = -O $(SYSCONFIG)
		- if your system use terminfo instead of termcap  (System V
		  i.e.) you must copy the .uittermcap  file  in  your  home
		  directory,  modifying  it  to  suit  your  terminal  type
		  (.uittermcap is a termcap like database).
		- older versions of the lex utility may require  additional
		  configuration options: %a, %e, %n, %p, %k ... etc. If lex
		  fails to generate the termcap.c file  from  termcap.l try
		  to configure it consulting the lex manual page.
		- to compile just do
			make clean
			make dep
			make
			make man

  3.	Copy  uit,  uitcmp,  uitps  and   uitview  somewhere  in  the  path
	(/usr/bin or /usr/local/bin).

  4.	Copy the uit.1 file in /usr/man/man1 (compressing it if necessary).
	(uit.1 is the pre-formatted version of the manual page; the  manual
	page is available in un-formatted state and  its  name is uit.man).
	Do a make man if you want to re-format the manual page. You can  do
	that only if you have the nroff utility installed on your system.

  5.	Change the uit.1  (or uit.1.gz)  file mode to 644 (make it readable
	for all the users).

  6.	Replace    '/home'   in    the    ^wh    key    description    with 
	/home/user_home_directory_name. (This is not really  important, but
	users can reach very fast their home directory this way).

  7.	Read  the  .uitrc  file  to  find  out  how  to configure  UIT 4.1c
	colors, keys ...

  8.	Read the man page.

Good luck !
						Tudor & Andi
