--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote: 
> Thanks Bhaskar,
> 
> In the web examples that I found, one can bring the
> stderr directly into the shell.  I read in the GT.M
> programming manual about this, and had figured that we
> would have to use a file intermediate.  I'm glad to
> see that there isn't some much easier way to do it. 
> But hey, the code you are showing is only a few lines
> long.
> 
> Thanks.
> 
> P.S.  I am about half way done for a M code wrapper
> for the Xdialog interface.  I'll pass it on when I am
> done.
> I think it's going to be quite cool.
> 
> Kevin
> 
> 
> --- "Bhaskar, K.S." <[EMAIL PROTECTED]> wrote:
> 
> > Here is a simple example of GT.M use with Xdialog. 
> > Note that this is just a simple demo (and I have
> > ignored things like deleting the file after use). 
> > Note also that this involves spawning two processes
> > for each dialog box, so you wouldn't want to use
> > this technique for any heavy lifting (e.g., hundreds
> > of users on the system).  But it works for the
> > dialog box here 'n there.
> > 
> > Note that since the ZSYSTEM command is processed by
> > your shell of choice, so shell constructs, in this
> > example `dirname <filename>` are handled.  As others
> > have pointed out, you can use dialog rather than
> > Xdialog, but it lacks the eye candy of the latter.
> > 
> > -- Bhaskar
> > 
> > ------------------------------------
> > iodemo2     ; demonstrate IO
> >     S file="/tmp/file"_$J_".tmp"
> >     ZSYSTEM "Xdialog --title ""Select directory""
> > --dselect `dirname "_file_"` 0 0 2 2>"_file
> >     O file
> >     U file
> >     R x
> >     U $p
> >     W x,!
> >     q
> > ------------------------------------
> > 
> >
> ***************************************************************************
> > This electronic mail transmission contains
> > confidential and/or privileged information intended
> > only for the person(s) named.  
> > Any use, distribution, copying or disclosure by
> > another person is strictly prohibited.
> >
> ***************************************************************************
> > 
> > NOTE: Ce courriel est destine exclusivement au(x)
> > destinataire(s) mentionne(s) ci-dessus et peut
> > contenir de l'information privilegiee,
> > confidentielle et/ou dispensee de divulgation aux
> > termes des lois applicables. Si vous avez recu ce
> > message par erreur, ou s'il ne vous est pas destine,
> > veuillez le mentionner immediatement a l'expediteur
> > et effacer ce courriel.
> > 
> > 
> > 
> > 
> 
> > ATTACHMENT part 2 application/ms-tnef
> name=winmail.dat
> 
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>  

Not sure if this is relevant, but I've been working on a Perl interface to GTM
using the GTM shared library.  My idea is that you would be able to use
Perl/Tk, wxWindows, CGI, Mason or whaterver to access GTM.  Hypothetically
speaking, you could create an M wrapper for the Vista routines you want to
call, and use a Perl side script to call it.  On the Perl side, the gui could
be anything you want...

You could do the same with any C/C++ based app as well, I just like Perl alot
more...



=====
Michael ZachariasTechnical Consultantphone: (250) 920-2080cell:  (250) 920-8613email:  
[EMAIL PROTECTED]

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to