antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright ./README src/ACE


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright ./README src/ACE
Date: Sun, 19 Mar 2006 03:46:50 +0000

CVSROOT:        /sources/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 06/03/19 03:46:50

Modified files:
        .              : README 
        src            : ACE 

Log message:
        Updated README to indicate the necessity of GNU Make for building.
        Fixed a problem with misplaced parentheses in ACE.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/antiright/README.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/antiright/antiright/src/ACE.diff?tr1=1.62&tr2=1.63&r1=text&r2=text

Patches:
Index: antiright/README
diff -u antiright/README:1.9 antiright/README:1.10
--- antiright/README:1.9        Mon Sep 26 21:52:03 2005
+++ antiright/README    Sun Mar 19 03:46:50 2006
@@ -9,12 +9,12 @@
 
 To build you must have a functioning motif installation and a
 development system for C. You must have the motif header files
-installed. 
+installed.  Currently, GNU Make is required for building.  
 
 TO INSTALL:
 
 ./configure
-make
+gmake
 su
 make install
 exit
Index: antiright/src/ACE
diff -u antiright/src/ACE:1.62 antiright/src/ACE:1.63
--- antiright/src/ACE:1.62      Mon Mar 13 04:16:05 2006
+++ antiright/src/ACE   Sun Mar 19 03:46:50 2006
@@ -16,14 +16,16 @@
 #     AntiRight; if not, write to the Free Software Foundation, Inc.,
 #     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-# set -vx
+set -vx
 
 ARSHELL=arshell
 DEBUG="0"
+
 if [ "$DEBUG" = "1" ]; then
        COUNTER=$(($COUNTER+1))
        echo $COUNTER
 fi
+
 ACE_Verification()
 {
     $ARSHELL -W Verify -E -Al "$1"\
@@ -90,38 +92,40 @@
        'ACE -A Deb_Install'\
        'ACE -A Deb_Show'
 }
+
 ACE_Panel()
 {
-    $ARSHELL -Am\
-       -Amv 'ACE -A Administration_Panel'\
-       -Amv 'ACE -A Debian_Panel'\
-       -Amv 'ACE -A File_System_Panel'\
-       -Amv 'ACE -A Network_Panel'\
-       -r 6\
-       -AL\
-       -W 'ACE Panel'\
-       'ACE IRC'\
-       'ACE Calculator'\
-       'ACE CD_Player'\
-       'ACE File_Manager'\
-       'ACE -A Sticky_Note'\
-       'ACE Lock'\
-       'ACE -A Desktop'\
-       'ACE Editor'\
-       'ACE -A Alarm'\
-       'ACE Load_Meter'\
-       'ACE Terminal'\
-       'ACE Browser'\
-       'ACE Imager'\
-       'ACE Mail'\
-       'ACE -A Background_Editor'\
-       'ACE -A Settings'\
-       'ACE -A Command'
+    $ARSHELL -Am \
+       -Amv 'ACE -A Administration_Panel' \
+       -Amv 'ACE -A Debian_Panel' \
+       -Amv 'ACE -A File_System_Panel' \
+       -Amv 'ACE -A Network_Panel' \
+       -r 6 \
+       -AL \
+       -W 'ACE Panel' \
+       'ACE IRC' \
+       'ACE Calculator' \
+       'ACE CD_Player' \
+       'ACE File_Manager' \
+       'ACE -A Sticky_Note' \
+       'ACE Lock' \
+       'ACE -A Desktop' \
+       'ACE Editor' \
+       'ACE -A Alarm' \
+       'ACE Load_Meter' \
+       'ACE Terminal' \
+       'ACE Browser' \
+       'ACE Imager' \
+       'ACE Mail' \
+       'ACE -A Background_Editor' \
+       'ACE -A Settings' \
+       'ACE -A Command' 
 }
 Panel()
 {
-       ACE_Panel()
+       ACE_Panel
 }
+
 Command()
 {
        command="$(arshell -At Command:)"
@@ -140,10 +144,10 @@
 }
 return_pseudorandom_color()
 {
-    local colors="powderblue lavender pink wheat azure antiquewhite\
- lightsteelblue gainsboro thistle darkseagreen"
-    local ones=$(date +%S | cut -c 2)
-    echo $colors | awk '{print $'$(($ones+1))'}'
+       local colors="powderblue lavender pink wheat azure antiquewhite \
+               lightsteelblue gainsboro thistle darkseagreen"
+       local ones=$(date +%S | cut -c 2)
+       echo $colors | awk '{print $'$(($ones+1))'}'
 }
 Sticky_Note()
 {
@@ -162,11 +166,11 @@
 }
 Copy_File()
 {
-    cp $($ARSHELL -Al 'Select Source:' -ADf)\
+       cp $($ARSHELL -Al 'Select Source:' -ADf) \
        $($ARSHELL -Al 'Select Destination:' -ADf)
     # Start a new file manager to show the results and allow further
     # operations.
-    ACE -A File_Manager
+       ACE -A File_Manager
 }
 Cancel_File_Operation()
 {
@@ -181,11 +185,17 @@
 }
 File_Manager()
 {
-    file=$($ARSHELL -Am -ADf -E 'ACE -A Manage_Files')
+    local file=$($ARSHELL -Am -ADf -E 'ACE -A Manage_Files')
     if [ "$file" != "" ]; then
        ARO $file
     fi
 }
+Diff()
+{
+       local file_a="$(arshell -Al 'Select the first file.' -ADF)"
+       local file_b="$(arshell -Al 'Select the second file.' -ADF)"
+       diff file_a file_b | arshell -Aw -p &
+}
 Files()
 {
     File_Manager
@@ -250,7 +260,7 @@
 }
 Load_Meter()
 {
-    $ARSHELL -Am\
+    $ARSHELL -Uf 30000 -Am\
        -UP "ACE -A ACE_load_value 1"\
        -UP "ACE -A ACE_load_value 2"\
        -UP "ACE -A ACE_load_value 3"\
@@ -258,7 +268,7 @@
 }
 VMStat()
 {
-    $ARSHELL -Uf 3000 -UL 'vmstat' -xrm '*fontList: fixed'
+    $ARSHELL -Uf 5000 -UL 'vmstat' -xrm '*fontList: fixed'
 }
 CD_Player()
 {
@@ -308,18 +318,19 @@
        'ACE PPP_On' 'ACE PPP_Off'
 }
 
-
 Uptime()
 {
-    $ARSHELL -Am -UL uptime
+       arshell -ADm "$(uptime)"
 }
-print_value()
+
+IOStat()
 {
-    echo $(cat ~/.arcalc.var | tr -d ' ')
+       arshell -ADm "$(iostat)" -xrm '*fontList: fixed'
 }
+
 Administration_Panel()
 {
-    $ARSHELL -W Administration -Am -r 5\
+    $ARSHELL -W Administration -Am -r 5 \
        'ACE Fix_File_Permissions'\
        'ACE Root_Shell'\
        'ACE See_All_Processes'\
@@ -329,20 +340,24 @@
        'ACE See_Open_Ports'\
        'ACE See_User_Processes'\
        'ACE System_Monitor'\
-       "$ARSHELL\
- -W 'Memory' -Am -UL vmstat -xrm '*fontList: fixed' & # Memory_Statistics"\
-       "$ARSHELL -Am -UL uptime -xrm '*fontList: fixed' & # Uptime"\
-       "$ARSHELL\
- -W 'I/O Statistics' -Am -UL iostat -xrm '*fontList: fixed' & # 
I/O_Statistics"\
+       'ACE -A VMStat & # Memory_Statistics' \
+       'arshell -A Uptime' \
        'ACE -A Load_Meter'\
-           'ACE -A System_Accounting'\
-           "xload -bg red4 -fg yellow -hl yellow & # X_Load"
+       'ACE -A System_Accounting'\
+       'xload -bg red4 -fg yellow -hl yellow & # X_Load'
+}
+Run_SAR()
+{
+       sar | arshell -Aw -p -W System_Accounting \
+               -xrm '*XmText.fontList: fixed'
 }
 System_Accounting()
 {
-    sar | $ARSHELL\
-       -Am -Aw -p -W System_Accounting\
-       -xrm "*XmText.fontList: fixed"
+       if [ "$(which sar)" != "" ]; then
+               Run_SAR
+       else
+               $ARSHELL -ADm 'SAR must be installed.' &
+       fi
 }
 Fix_File_Permissions()
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]