SUMMARY: mouse (and color) support for vim in xterm

From: Yakov Lerner (yakov.lerner@kavado.com)
Date: Thu Apr 03 2003 - 05:57:43 EST


Thanks to all those who replied, and especially to
     Walter Heukles: Justin Stringfellow, Joe Fletcher, Michael Auria
, I figured it out with your help.

The editor in question is vim in xterm box.
I wanted color xterm + mouse support. /bin/vi is not
capable of mouse-in-xterm support. dtterm does not
seem to support mouse-in-vim. But xterm does have both
color and 'mouse reporting' with proper TERM setting.

The solution was to insert 'set mouse=vn' in .vimrc

To get color+mouse, the solution was to copy the
'xterm-xfree86' file (or 'xterm-vt220') from
/usr/local/share/terminfo/x/.
to /usr/share/lib/terminfo/x/.
and to set TERM to 'xterm-xfree86' (or 'xterm-vt220')
(Terminfo as shipped with solaris8 does not seem to have
entry with both color and mouse support).

Jacob L.
-----..............
       % echo 'scale=80; a(1)*4' | bc -l
.....---------------

sunmanagers-request@sunmanagers.org wrote:
> Send sunmanagers mailing list submissions to
> sunmanagers@sunmanagers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> or, via email, send a message with subject or body 'help' to
> sunmanagers-request@sunmanagers.org
>
> You can reach the person managing the list at
> sunmanagers-admin@sunmanagers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sunmanagers digest..."
>
>
> Today's Topics:
>
> 1. V480 serial connection (Hubert Chu)
> 2. Netscape Messaging 3.6 - Production Issue (Markham, Richard)
> 3. sun blade 150 (=?iso-8859-1?q?ur=20friend?=)
> 4. automatic starting of tomcat (Ramaswamy, Satish)
> 5. automatic starting of tomcat (Ramaswamy, Satish)
> 6. A5200 performance with a lot of small (2-8k) files (NetComrade)
> 7. summary of automatic starting of tomcat (Ramaswamy, Satish)
> 8. E6800 domain reboot problem (send_mondo_set) (Kerekes, Ed)
> 9. Smarter install script for patch clusters? (Lars Hecking)
> 10. summary of automatic starting of tomcat (Ramaswamy, Satish)
> 11. summary of automatic starting of tomcat (Ramaswamy, Satish)
>
> --__--__--
>
> Message: 1
> Date: Tue, 3 Dec 2002 12:01:38 -0500 (EST)
> From: Hubert Chu <hcchu@seventreasures.net>
> To: <sunmanagers@sunmanagers.org>
> Subject: V480 serial connection
>
> We're experiencing problems connecting to a new V480 through a serial
> connection. I'm connecting directly to the 480's serial port with a null
> modem RJ-45 cable. I can see the POST, boot sequence, and login prompt
> just fine, but I'm unable to transmit any commands. I'm also unable to
> send a break signal.
>
> I'm almost certain the cabling is correct, as we set up our other 480s in
> the same manner. Has anyone ever experienced this problem? Could it be a
> hardware problem with the serial port?
>
> TIA
>
> --__--__--
>
> Message: 2
> From: "Markham, Richard" <RMarkham@hafeleamericas.com>
> To: "Sunman (sunmanagers@sunmanagers.org)" <sunmanagers@sunmanagers.org>
> Subject: Netscape Messaging 3.6 - Production Issue
> Date: Tue, 3 Dec 2002 12:26:09 -0500
>
> I am getting thousands of similar occurences in my log file.
> Same error value 105.
>
> --log message--
> The mail system on xxx.xxx.com encountered the following error:
>
> The following module was unable to complete its task due to some
> problem. Please contact server@netscape.com with the following
> information:
>
>
> Module Name: SMTP-Deliver
> Message Name: 20021201071826.AAB23769@xxx.xxx.com-1-SMTP
> Process ID: 7972
> Exit Value: 105
> ---
> Can anyone please describe exit value 105 or point to me where I can
> find documentation for this particular release. It does not seem
> to be readily available. Thanks much in advance.
>
> --__--__--
>
> Message: 3
> Date: Tue, 3 Dec 2002 17:37:08 +0000 (GMT)
> From: =?iso-8859-1?q?ur=20friend?= <urizer@yahoo.co.in>
> Subject: sun blade 150
> To: sunmanagers@sunmanagers.org
>
> Hi sun managers,
>
> I have a sun blade 150 machines running with solaris 8
> 0202 with OBP 4.6.9 and with all latest patches. The
> CDE hangs just few seconds after booting up
>
> The CDE display gets released when the machine is
> disconnected from the network. M64 graphics card
> patch is also applied
>
> Can anybody provide solution to this problem
>
> In few of the other sun blade 100 machine cpu usage is
> very high even though there is no application running.
> These systems are installed with solaris 8 0401 with
> obp 4.6.5 with latest patches
>
> Any solution
>
> thanks
>
> UR Izer
>
>
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
> visit http://in.tv.yahoo.com
>
> --__--__--
>
> Message: 4
> Subject: automatic starting of tomcat
> Date: Tue, 3 Dec 2002 11:51:45 -0600
> From: "Ramaswamy, Satish" <Satish.Ramaswamy@uscellular.com>
> To: <sunmanagers@sunmanagers.org>
>
> hi, i have a solaris e-450 server and each time i'd like to find out
how to
> start tomcat automatically when the server reboots.
>
> i've written a wrapper script called autotomcat as follows
>
> #!/bin/sh
> #written by satish ramaswamy
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
>
PATH=/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:$TOMCAT_HOME/bi
> n:.
> export PATH #chang made 12/03/02
> cd $TOMCAT_HOME/bin
> pscount=`ps -ef |grep "[j]ava"| wc -l`
> #echo $pscount
> if [ $pscount -eq 0 ]; then
> cd $TOMCAT_HOME/bin
> #echo "inside if"
> tomcat.sh start
> fi
>
> i've tried couple of things.
> 1) renamed this script S98autotomcat and placed it in /etc/rc3.d/
directory
> but this doesn't seem to work when the server reboots.
> 2) in cron 10,20,30,40,50 * * * * /scripts/autotomcat > /dev/null
have the
> script called every 10 minutes. the reason i do this is because i have a
> backup script and don't know how long the backup takes and at the end i
> reboot the server.
>
> but this didn't work either. however, i changed my autotomcat
script and am
> now exporting the PATH but i don't see why i should since i'm not
using
> the variables in the script outside the script.
>
> thanks in advance.
>
>
>
> satish
> ph:630-875-8263
>
> --__--__--
>
> Message: 5
> Subject: automatic starting of tomcat
> Date: Tue, 3 Dec 2002 12:43:03 -0600
> From: "Ramaswamy, Satish" <Satish.Ramaswamy@uscellular.com>
> To: <sunmanagers@sunmanagers.org>
>
> i'm sending this again as i got a weird response that the header was
> suspicious.
>
>
> -----Original Message-----
> From: Ramaswamy, Satish
> Sent: Tuesday, December 03, 2002 12:33 PM
> To: 'sunmanagers@sunmanagers.org'
> Subject: RE: automatic starting of tomcat
> Importance: High
>
>
> yes. the script is executable and there are no errors in the cron
log file
> /var/cron/olog file.
>
> randy, i know grep something always returns something.
> but if you use
> grep "[1st letter in the grep expression] rest of pattern", you don't
have to
> use grep -v grep. you can test it out. i use it all the time.
>
> darren, my other scripts in the crontab work. i understand *not
working* is
> a generic term but there are no errors in the cron log file. that's
what is
> bothering me. and i feel surely someone out there is running tomcat
in a sun
> server and i've tried echo "started" /tmp/autotomcat and the file
does get
> created.
>
> also i tried, JAVA_HOME=/usr/bin/java (i did type java to find out
  where
> java is located)
> export JAVA_HOME
>
> but i get java exceptions. and i my tomcat startup script is named
> startup.sh.
>
>
> -----Original Message-----
> From: Bablak, Steve [mailto:Steve.Bablak@Marconi.com]
> Sent: Tuesday, December 03, 2002 12:15 PM
> To: Ramaswamy, Satish
> Subject: RE: automatic starting of tomcat
>
>
> is the script executable? i.e.) permissions 7xx
>
> -----Original Message-----
> From: Ramaswamy, Satish [mailto:Satish.Ramaswamy@uscellular.com]
> Sent: Tuesday, December 03, 2002 12:52 PM
> To: sunmanagers@sunmanagers.org
> Subject: automatic starting of tomcat
>
>
> hi, i have a solaris e-450 server and each time i'd like to find out
how to
> start tomcat automatically when the server reboots.
>
> i've written a wrapper script called autotomcat as follows
>
> #!/bin/sh
> #written by satish ramaswamy
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
>
PATH=/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:$TOMCAT_HOME/b
> i
> n:.
> export PATH #chang made 12/03/02
> cd $TOMCAT_HOME/bin
> pscount=`ps -ef |grep "[j]ava"| wc -l`
> #echo $pscount
> if [ $pscount -eq 0 ]; then
> cd $TOMCAT_HOME/bin
> #echo "inside if"
> tomcat.sh start
> fi
>
> i've tried couple of things.
> 1) renamed this script S98autotomcat and placed it in /etc/rc3.d/
> directory
> but this doesn't seem to work when the server reboots.
> 2) in cron 10,20,30,40,50 * * * * /scripts/autotomcat > /dev/null
have the
> script called every 10 minutes. the reason i do this is because i have a
> backup script and don't know how long the backup takes and at the end i
> reboot the server.
>
> but this didn't work either. however, i changed my autotomcat
script and
> am
> now exporting the PATH but i don't see why i should since i'm not
using
> the variables in the script outside the script.
>
> thanks in advance.
>
>
>
> satish
> ph:630-875-8263
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
> --__--__--
>
> Message: 6
> Date: Tue, 3 Dec 2002 14:07:24 -0500 (EST)
> From: NetComrade <netcomrade@russianuniverse.com>
> To: sunmanagers@sunmanagers.org
> Subject: A5200 performance with a lot of small (2-8k) files
>
> Dear Sun Gurus,
>
> We have an A5200 with VM 3.5 on top of it configured with a couple of
> RAID5 volumes (one is 500G), which house a lot of very small
> files. Customer has been complaining about how slow the setup is (file
> system is vxfs, block size is 4k, stripe size is 128k). Customer is happy
> about performance with large files. A5200 is connected to an E420r via
> fibre, arbitrated loop.
>
> I don't know where to start to try to optimize IO. Anything we can do at
> all?
>
> Any advice or pointers appreciated.
>
> Thanx.
>
> (will summarize)
>
> --__--__--
>
> Message: 7
> Subject: summary of automatic starting of tomcat
> Date: Tue, 3 Dec 2002 13:03:33 -0600
> From: "Ramaswamy, Satish" <Satish.Ramaswamy@uscellular.com>
> To: <sunmanagers@sunmanagers.org>
>
> i just exported the PATH variable today and i can't test it out until
the eve/
> late at night today when i can reboot the server.
>
> also i've set and exported the PATH variable in /etc/profile which
is read
> first for the korn/bourne shells hence didn't feel the need of
exporting the
> PATH again in my script but have done so now.
>
>
>
> -----Original Message-----
> From: Ryan.Bishop@exim.gov [mailto:Ryan.Bishop@exim.gov]
> Sent: Tuesday, December 03, 2002 12:49 PM
> To: Ramaswamy, Satish
> Subject: Re: automatic starting of tomcat
>
>
>
> You have to export the path since this is being run as a shell script,
> hence it is running within a shell. Anytime that you are writing a
"shell
> script" rather you are using sh, bash, tcsh or anything else, it is
always
> good practice to export your paths so that the shell will have the
correct
> envioronment variables that you expect it to have.
>
> When it runs in the shell, the user of the shell, in this case root (?)
> will use the default environment variables within /etc/skel/profile
for the
> path (which by the way is only /usr/bin and /usr/sbin i believe).
>
> Question: Did the script work correctly once you started exporting the
> PATH variable to the shell process? If so, then the proof is in the
> pudding, as they say.
>
> I hope that this helps.
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=
>
> Ryan Bishop
> Sr. Unix Administrator/Security Administrator
>
> "In three words I can sum up everything I've learned about life: It goes
> on." -- Robert Frost
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=
>
>
>
> "Ramaswamy, Satish"
> <Satish.Ramaswamy@uscel To:
> <sunmanagers@sunmanagers.org>
> lular.com> cc: (bcc: Ryan
> Bishop/IMT/EXIMBANK)
> Sent by: Subject: automatic
> starting of tomcat
> sunmanagers-admin@sunma
> nagers.org
>
>
> 12/03/2002 12:51 PM
>
>
>
>
>
>
> hi, i have a solaris e-450 server and each time i'd like to find out how
> to
> start tomcat automatically when the server reboots.
>
> i've written a wrapper script called autotomcat as follows
>
> #!/bin/sh
> #written by satish ramaswamy
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
>
PATH=/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:$TOMCAT_HOME/bi
>
> n:.
> export PATH #chang made 12/03/02
> cd $TOMCAT_HOME/bin
> pscount=`ps -ef |grep "[j]ava"| wc -l`
> #echo $pscount
> if [ $pscount -eq 0 ]; then
> cd $TOMCAT_HOME/bin
> #echo "inside if"
> tomcat.sh start
> fi
>
> i've tried couple of things.
> 1) renamed this script S98autotomcat and placed it in /etc/rc3.d/
> directory
> but this doesn't seem to work when the server reboots.
> 2) in cron 10,20,30,40,50 * * * * /scripts/autotomcat > /dev/null
have the
> script called every 10 minutes. the reason i do this is because i have a
> backup script and don't know how long the backup takes and at the end i
> reboot the server.
>
> but this didn't work either. however, i changed my autotomcat
script and
> am
> now exporting the PATH but i don't see why i should since i'm not
using
> the variables in the script outside the script.
>
> thanks in advance.
>
>
>
> satish
> ph:630-875-8263
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
> --__--__--
>
> Message: 8
> Subject: E6800 domain reboot problem (send_mondo_set)
> Date: Tue, 3 Dec 2002 14:37:21 -0500
> From: "Kerekes, Ed" <Ed_Kerekes@steris.com>
> To: <sunmanagers@sunmanagers.org>
>
> We are having an issue with some of our domains rebooting with messages
> similar to:
>
> Dec 3 13:17:34 SUNW,UltraSPARC-III+: [ID 563681 kern.notice] send
> mondo
> timeout [735294 NACK 0 BUSY]
> Dec 3 13:17:34 IDSR 0x1 aids:
> Dec 3 13:17:34 SUNW,UltraSPARC-III+: [ID 823475 kern.notice] c
> Dec 3 13:17:34 SUNW,UltraSPARC-III+: [ID 100000 kern.notice]
> Dec 3 13:17:34 unix: [ID 836849 kern.notice]
> Dec 3 13:17:34 ^Mpanic[cpu13]/thread=3000f676940:
> Dec 3 13:17:34 unix: [ID 152620 kern.notice] send_mondo_set: timeout
> Dec 3 13:17:34 unix: [ID 100000 kern.notice]
> Dec 3 13:17:34 genunix: [ID 723222 kern.notice] 000002a101a44600
> SUNW,U
> ltraSPARC-III+:send_mondo_set+238 (1, 1, 2a, 3, 5b35173bfd4,
> 5b35173bfe1)
> Many lines follow
>
> This has happened on 4 different domains on 2 different 6800s several
> times and we have replaced CPUs and per Sun's recommendation we have
> also turned off predictive branching on the cpus. This has us stumped.
> We are running oracle 9i on all domains. If anyone has any ideas or has
> seen this before it would be greatly appreciated.
>
> Ed Kerekes
> STERIS Corporation
>
> --__--__--
>
> Message: 9
> Date: Tue, 3 Dec 2002 20:07:20 +0000
> From: Lars Hecking <lhecking@nmrc.ucc.ie>
> To: sunmanagers@sunmanagers.org
> Subject: Smarter install script for patch clusters?
>
> Hopefully someone from Sun is reading this list :-)
>
> I was going to upgrade an old SS10 with a SUN1.05 (1GB) disk to
> Solaris 8 02/02. After End User plus OpenGL, I end up with
>
> Filesystem kbytes used avail capacity Mounted on
> /dev/dsk/c0t3d0s0 123231 28668 82240 63% /
> /dev/dsk/c0t3d0s6 593446 431580 102522 81% /usr
> (swap 256MB, no /export/home)
>
> Trying to install the current Recommended patch cluster, the installer
> told me I don't have enough disk space to save old files:
>
> Insufficient space in /var/sadm/patch to save old files.
> Space required in bytes: 125292
> Space available in bytes: 94562
>
> So I removed all patches from patch_order that are already installed,
> and also removed the corresponding patch directories. Still no joy:
>
> Insufficient space in /var/sadm/patch to save old files.
> Space required in bytes: 118153
> Space available in bytes: 94560
>
> However, after moving /var/sadm/patch (which was empty save .mu_applied)
> aside and linking it to a fs with enough free space, the patch cluster
> applied fine, and it turns out that /var/sadm/patch itself occupies less
> than 1MB of disk space, so I removed the link and copied the patch
directory
> back to /var/sadm.
>
> Filesystem kbytes used avail capacity Mounted on
> /dev/dsk/c0t3d0s0 123231 62543 48365 57% /
> /dev/dsk/c0t3d0s6 593446 452058 82044 85% /usr
>
> Doing the math, the patch install has taken 57353kB, a lot less than
> 118153kB as the install script suggested.
>
> Now, I was wondering where the cluster install script can be made more
> intelligent, as it is obviously possible to install the cluster within
> these disk space constraints. Currently, it simply uses the size of the
> patch cluster itself as an estimate, and compares it to the free space
> on the filesystem with holds /var/sadm/patch:
>
> BASESIZE=`du -sk $PATCHDIR | cut -f1`
> SUPPLEMENT_SIZE=`expr $BASESIZE / 2`
> bytes_avail=`df -b /var/sadm/patch | tail -1`
> bytes_avail=`echo $bytes_avail | sed 's/.*\ //'`
> if [ ${SUPPLEMENT_SIZE} -gt ${bytes_avail} ]; then
>
> Yes, I realise that this is a sufficiently obscure problem :-)
>
> --__--__--
>
> Message: 10
> Subject: summary of automatic starting of tomcat
> Date: Tue, 3 Dec 2002 14:10:22 -0600
> From: "Ramaswamy, Satish" <Satish.Ramaswamy@uscellular.com>
> To: <sunmanagers@sunmanagers.org>
>
> all: thanks for your input. i was given a script which i'm
enclosing after
> i've made changes to it according to my environment. this was
provided by
> david foster. i'll implement and test it later on tonight.
>
> so hopefully, the scottish chap who also has tomcat installed can
use this
> instead of manually starting it up.
>
> i've placed it in /etc/init.d/tomcat and made it executable. i'll
create a
> symbolic link in the /etc/rc3.d/ dir
>
> cd /etc/rc3.d
> ln -s S98autotomcat /etc/init.d/tomcat though david instructed me to
do this
> i the /etc/rc2.d dir but i think it shouldn't make a difference.
>
> i'm also sending it as a text attachement david's orginal script.
>
> satish
>
> #!/bin/sh
> # Make sure that /export/home/webmstr/ is mounted
> [ ! -d /export/home/webmstr/jakarta-tomcat-3.3 ] && exit 1
>
> case "$1" in
> 'start')
> if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh ];
> then
> echo "Starting tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
> /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh
> fi
> ;;
>
> 'stop')
> if [ -x
/export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh ];
> then
> echo "Stopping tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
> /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh
> fi
>
> ;;
>
> *)
> echo "Usage: $0 { start | stop }"
> exit 1
> ;;
> esac
> exit 0
> #!/sbin/sh
> # Make sure that /usr/local/ is mounted
> [ ! -d /usr/local/jakarta-tomcat-4.0.5 ] && exit 1
>
> case "$1" in
> 'start')
> if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh ]; then
> echo "Starting tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5
> export CATALINA_HOME
> /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh
> fi
> ;;
>
> 'stop')
> if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh ]; then
> echo "Stopping tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5
> export CATALINA_HOME
> /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh
> fi
> ;;
>
> *)
> echo "Usage: $0 { start | stop }"
> exit 1
> ;;
> esac
> exit 0
>
> --__--__--
>
> Message: 11
> Subject: summary of automatic starting of tomcat
> Date: Tue, 3 Dec 2002 14:18:24 -0600
> From: "Ramaswamy, Satish" <Satish.Ramaswamy@uscellular.com>
> To: <sunmanagers@sunmanagers.org>
>
> a correction the syntax of the link command should be ln -s
> /etc/init.d/tomcat S<number>tomcat ...
>
> sorry. i always get confused and hence check my unix in a nutshell.
>
> s
>
>
> -----Original Message-----
> From: Ramaswamy, Satish
> Sent: Tuesday, December 03, 2002 2:10 PM
> To: 'sunmanagers@sunmanagers.org'
> Subject: summary of automatic starting of tomcat
>
>
> all: thanks for your input. i was given a script which i'm
enclosing after
> i've made changes to it according to my environment. this was
provided by
> david foster. i'll implement and test it later on tonight.
>
> so hopefully, the scottish chap who also has tomcat installed can
use this
> instead of manually starting it up.
>
> i've placed it in /etc/init.d/tomcat and made it executable. i'll
create a
> symbolic link in the /etc/rc3.d/ dir
>
> cd /etc/rc3.d
> ln -s S98autotomcat /etc/init.d/tomcat though david instructed me to
do this
> i the /etc/rc2.d dir but i think it shouldn't make a difference.
>
> i'm also sending it as a text attachement david's orginal script.
>
> satish
>
> #!/bin/sh
> # Make sure that /export/home/webmstr/ is mounted
> [ ! -d /export/home/webmstr/jakarta-tomcat-3.3 ] && exit 1
>
> case "$1" in
> 'start')
> if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh ];
> then
> echo "Starting tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
> /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh
> fi
> ;;
>
> 'stop')
> if [ -x
/export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh ];
> then
> echo "Stopping tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3
> export TOMCAT_HOME
> /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh
> fi
>
> ;;
>
> *)
> echo "Usage: $0 { start | stop }"
> exit 1
> ;;
> esac
> exit 0
> #!/sbin/sh
> # Make sure that /usr/local/ is mounted
> [ ! -d /usr/local/jakarta-tomcat-4.0.5 ] && exit 1
>
> case "$1" in
> 'start')
> if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh ]; then
> echo "Starting tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5
> export CATALINA_HOME
> /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh
> fi
> ;;
>
> 'stop')
> if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh ]; then
> echo "Stopping tomcat server ..."
> JAVA_HOME=/usr/j2se; export JAVA_HOME
> CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5
> export CATALINA_HOME
> /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh
> fi
> ;;
>
> *)
> echo "Usage: $0 { start | stop }"
> exit 1
> ;;
> esac
> exit 0
>
>
> --__--__--
>
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
>
> End of sunmanagers Digest
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:07 EDT