.
Sorry about the confusion.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Toppenberg
Sent: Wednesday, December 22, 2004 11:59 AM
To: hardhats-members@lists.sourceforge.net
Subject: RE: [Hardhats-members] GTM question -- runing a program on
startup
Something like this should also work:
if [[ -z $1 ]] ; then $gtm_dist/mumps -dir ; else mumps -run $1 ; fi
There's more than one way to skin a cat! [Come to think of it, what a
horrible concept. I wonder where it came from...]
-- Bhaskar
On Thu, 2004-12-23 at 09:57, Marc Aylesworth wrote:
: Monday, December 20, 2004 9:32 AM
To: hardhats-members@lists.sourceforge.net
Subject: Re: [Hardhats-members] GTM question --
runing a program on
startup
OK, so here is my script after revisions. This
won't
run a specified routine on startup. I would need a
script that replaces
$gtm_dist
PROTECTED]
On Behalf Of Kevin
Toppenberg
Sent: Monday, December 20, 2004 9:32 AM
To: hardhats-members@lists.sourceforge.net
Subject: Re: [Hardhats-members] GTM question --
runing a program on
startup
OK, so here is my script after revisions. This
won't
run a specified
] GTM question --
runing a program on
startup
OK, so here is my script after revisions. This
won't
run a specified routine on startup. I would need a
script that replaces
$gtm_dist/mumps -dir
with
$gtm_dist/mumps -r MYFUNCT
I'll have to learn a bit more of the scripting
language to do
Kevin wrote:
Regarding editors, I really like kate that comes with RH9. It is not as
powerful as vim
or gvim, but the learning curve is not nearly as steep. :-)
Kate (included in the KDE desktop) seems to be quite a capable editor with lots
of
advanced features. On closer inspection, it
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Toppenberg
Sent: Monday, December 20, 2004 9:32 AM
To: hardhats-members@lists.sourceforge.net
Subject: Re: [Hardhats-members] GTM question -- runing a program on
startup
OK, so here is my script after revisions. This won't
run a specified routine
OK, so here is my script after revisions. This won't
run a specified routine on startup. I would need a
script that replaces
$gtm_dist/mumps -dir
with
$gtm_dist/mumps -r MYFUNCT
I'll have to learn a bit more of the scripting
language to do the following pseudocode:
if exists($1)
Kevin,
This is not exactly an answer to your question, but for starting mumps,
Bhaskar's vista
script essentially just sets the same variables that you have already set. It
would be
simpler and less confusing to bypass it. You appear to be exporting more
variables than
you need and having some
, a human right... in Russia.
-- Original Message ---
From: Kevin Toppenberg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Fri, 17 Dec 2004 16:34:41 -0800 (PST)
Subject: Re: [Hardhats-members] GTM question --
runing a program on startup
I think I figured it out. $3
I wasn't sure exactly what Bhaskar's script was
doing... hadn't looked at it closely yet. But
changing the script isn't working... see below:
I changed my script to this:
#start KT addition
#12-14-2004 --moved exports into runvista script
#-
export
Comments below.
-- Bhaskar
On Sun, 2004-12-19 at 09:35, Kevin Toppenberg wrote:
I wasn't sure exactly what Bhaskar's script was
doing... hadn't looked at it closely yet. But
changing the script isn't working... see below:
I changed my script to this:
#start KT addition
#12-14-2004
Thanks Bhasker,
Suggestions appreciated.
Comments below:
--- K.S. Bhaskar [EMAIL PROTECTED] wrote:
Comments below.
- snip -
export gtmgbldir=$gtm_vista_prod/g/mumps.gld
export vista_home=$gtm_vista
export gtmroutines=$gtm_vista/o($gtm_vista_prod/r
$gtm_vista/r $gtm_dist)
Kevin,
Bhaskar wrote:
echo Entering GT.M system now...
#-
export EDITOR=vim
$gtm_dist/mumps
[KSB] Try $gtm_dist/mumps -dir. Just $gtm_dist/mumps will run the
compiler and ask What file: (is to be compiled).
or to answer your original question - If you have a
Kevin wrote:
Thanks Bhasker,
Suggestions appreciated.
Comments below:
--- K.S. Bhaskar [EMAIL PROTECTED] wrote:
Comments below.
- snip -
export gtmgbldir=$gtm_vista_prod/g/mumps.gld
export vista_home=$gtm_vista
export gtmroutines=$gtm_vista/o($gtm_vista_prod/r
$gtm_vista/r
On Sun, 2004-12-19 at 22:36, Jim Self wrote:
Kevin wrote:
[KSB] ...snip...
export gtmroutines=$gtm_vista/o($gtm_vista_prod/r
$gtm_vista/r $gtm_dist) $gtm_dist()
[KSB] Consider following (1 line) instead:
export gtmroutines=gtm_vista/o($gtm_vista/r
$gtm_vista_prod/r)
$gtm_dist
Jim,
Thanks for the pointer r.e. running a routine.
Regarding editors, I really like kate that comes with RH9. It is not as powerful as vim or gvim, but the learning curve is not nearly as steep. :-)
Thanks
KevinJim Self [EMAIL PROTECTED] wrote:
Kevin,Bhaskar wrote: echo "Entering GT.M system
I have installed the VPE system on my installation.
I would like to automatically enter the VPE shell upon
starting GTM.
I am starting GTM in a round-about way: I have my own
mini script, that calls Bhaskar's script, that then
launches GTM.
Is there any way in the setup to automatically evoke
Thanks Bhaskar,
Is there any way to do this with your vista script?
I.e. do you have a way to pass this parameter?
I have tried looking at the script itself, but I
haven't learned the script syntax well enough yet to
tell. The best I can see, you command:
$gtm_dist/mumps -run $3
But I can't
I think I figured it out. $3 is the 3rd input
paramter. So I can use:
vista --run $HOME/OpenVista_UserData ^MyFunction
Thanks
Kevin
--- Kevin Toppenberg [EMAIL PROTECTED] wrote:
Thanks Bhaskar,
Is there any way to do this with your vista script?
I.e. do you have a way to pass this
20 matches
Mail list logo