RE: [Hardhats-members] GTM XDialog interaction

2004-09-23 Thread Michael Zacharias
Kevin

Nope...my project isn't as complicated as that gtm-perl one.  It looks to me
like the gtm-perl project is actually compiling GTM and Perl together with some
glue code to come up with a gtm/perl hybrid!!!  Yikes!!

I am simply using the Inline.pm module to link the GTM shared library with my
Perl programs.  The shared library exposes 4 C functions (gtm_init, gtm_ci,
gtm_zstatus, and gtm_exit).  Through these function you can call into a GTM
LINETAG^ROUTINE.  This essentially lets me exchange data between GTM and Perl,
and use the two in a client server environment.

I'm looking forward to your xdialogue module.  Let us know when it is
available...

thanks...


Michael



 --- Kevin Toppenberg [EMAIL PROTECTED] wrote: 
 Michael,
 
 Great to hear from you.  Are you associated with the
 project at this site?:
 http://www.hello-penguin.com/gtm-perl/
 
 I debated whether to write my code inside or
 outside of GTM.  I ended up deciding to write on the
 inside.  I did know that if I wrote on the outside
 that I could still get access to the GTM database and
 still have all the goodies of the outside.  I guess I
 thought I would have an easier time working with the
 VistA system if I was on the inside.
 
 Thanks for your input.
 Kevin
 
  
  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
  
 
 
 
   
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - 100MB free storage!
 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
  

__ 
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


Re: [Hardhats-members] GTM XDialog interaction

2004-09-23 Thread Pat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I was able to pull up the page.
So it should be working for everyone.
~ Pat Evans
Michael Zacharias wrote:
| Kevin
|
| Nope...my project isn't as complicated as that gtm-perl one.  It looks
to me
| like the gtm-perl project is actually compiling GTM and Perl together
with some
| glue code to come up with a gtm/perl hybrid!!!  Yikes!!
|
| I am simply using the Inline.pm module to link the GTM shared library
with my
| Perl programs.  The shared library exposes 4 C functions (gtm_init,
gtm_ci,
| gtm_zstatus, and gtm_exit).  Through these function you can call into
a GTM
| LINETAG^ROUTINE.  This essentially lets me exchange data between GTM
and Perl,
| and use the two in a client server environment.
|
| I'm looking forward to your xdialogue module.  Let us know when it is
| available...
|
| thanks...
|
|
| Michael
|
|
|
|  --- Kevin Toppenberg [EMAIL PROTECTED] wrote:
|
|Michael,
|
|Great to hear from you.  Are you associated with the
|project at this site?:
|http://www.hello-penguin.com/gtm-perl/
|
|I debated whether to write my code inside or
|outside of GTM.  I ended up deciding to write on the
|inside.  I did know that if I wrote on the outside
|that I could still get access to the GTM database and
|still have all the goodies of the outside.  I guess I
|thought I would have an easier time working with the
|VistA system if I was on the inside.
|
|Thanks for your input.
|Kevin
|
|
|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
|
|
|
|   
|   
|__
|Do you Yahoo!?
|New and Improved Yahoo! Mail - 100MB free storage!
|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
|
|
|
| __
| 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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBUwcyEW4vf6x5hV8RArhAAJ9YPW0G2Lk7yMuB6GaFgQFbcGIsiwCgjjHI
HZ3gTRfxjlM0kzIPDTSAV0s=
=S4LD
-END PGP SIGNATURE-
---
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


RE: [Hardhats-members] GTM XDialog interaction

2004-09-22 Thread K.S. Bhaskar
You could use a TCP socket, or a UNIX named pipe to bring it in, but a
file is the simplest to program and understand.

-- Bhaskar

On Wed, 2004-09-22 at 13:36, Kevin Toppenberg 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


---
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


RE: [Hardhats-members] GTM XDialog interaction

2004-09-22 Thread Kevin Toppenberg
Simple is good.

Thanks
Kevin

--- K.S. Bhaskar [EMAIL PROTECTED] wrote:

 You could use a TCP socket, or a UNIX named pipe to
 bring it in, but a
 file is the simplest to program and understand.
 
 -- Bhaskar
 
 On Wed, 2004-09-22 at 13:36, Kevin Toppenberg 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
 
 

---
 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
 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
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


RE: [Hardhats-members] GTM XDialog interaction

2004-09-22 Thread Michael Zacharias
 --- 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