CVS: theedge/var/lib/lunar/functions install.lunar, 1.23, 1.24 messages.lunar, 1.12, 1.13

Steven Michaelske hardkrash at lunar-linux.org
Sun Nov 16 00:19:50 GMT 2003


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv6002

Modified Files:
	install.lunar messages.lunar 
Log Message:
added xterm status messages


Index: install.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/install.lunar,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- install.lunar	11 Nov 2003 18:39:18 -0000	1.23
+++ install.lunar	16 Nov 2003 00:19:48 -0000	1.24
@@ -354,6 +354,7 @@
 lin_module()  {
 (
   debug_msg "lin_module ($@)"
+  xterm_msg "lin: Processing $1"
   # make sure we got all the info
   if ! run_details $1 ; then
     return 1

Index: messages.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/messages.lunar,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- messages.lunar	4 Aug 2003 23:19:42 -0000	1.12
+++ messages.lunar	16 Nov 2003 00:19:48 -0000	1.13
@@ -58,6 +58,17 @@
   fi
 }
 
+# function : xterm_msg
+# usage : xterm_msg MESSAGE
+# purpose : To display a short message in the title bar of a X terminal
+xterm_msg() {
+  debug_msg "xterm_bar ($@)"
+  case $TERM in
+    xterm*|gnome*|konsole*|rxvt*)
+      echo "]0; $* "
+      ;;
+  esac
+}
 
 # function : report FILE [description] MODULE VERSION
 report() {




More information about the Lunar-commits mailing list