]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/run_tic.sh
ncurses 5.1
[ncurses.git] / misc / run_tic.sh
index 9ac65b4d77145ca0ac336b09b7df9e28dbe1ba31..cdb6a5ea24bcfad6746c07c236cb8025101c782f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 ##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
+# Copyright (c) 1998,2000 Free Software Foundation, Inc.                     #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -29,7 +29,7 @@
 #
 # Author: Thomas E. Dickey <dickey@clark.net> 1996
 #
-# $Id: run_tic.sh,v 1.9 1998/02/11 12:13:50 tom Exp $
+# $Id: run_tic.sh,v 1.12 2000/07/01 19:25:13 tom Exp $
 # This script is used to install terminfo.src using tic.  We use a script
 # because the path checking is too awkward to do in a makefile.
 #
@@ -84,6 +84,16 @@ case "$PATH" in
 *) PATH=../progs:$IP$bindir:$PATH ;;
 esac
 export PATH
+
+#
+# set another env var that doesn't get reset when `shlib' runs, so `shlib' uses
+# the PATH we just set.
+#
+NEWPATH=$PATH
+export NEWPATH
+PROG_BIN_DIR=$IP$bindir
+export PROG_BIN_DIR
+
 TERMINFO=$IP$ticdir ; export TERMINFO
 umask 022
 
@@ -108,6 +118,17 @@ if test "x$TABSET" != "x/usr/share/tabset" ; then
        SRC=$TMP
 fi
 
+cat <<EOF
+Running tic to install $TERMINFO ...
+
+       You may see messages regarding unknown capabilities, e.g., AX.
+       These are extended terminal capabilities which can be compiled
+       using
+               tic -x
+       Read the INSTALL document before doing this - it can cause
+       problems for older ncurses applications.
+
+EOF
 if ( $srcdir/shlib tic -s $SRC )
 then
        echo '** built new '$TERMINFO