Kevin,

You made my whole weekend/month and perhaps year.

Seems to work so far. Amazing to see Vim come up when an editor is called. Thank you a million fold.

Kevin Toppenberg wrote:
I think it is working appropriately now.  I forgot to
"new" one of my variables.  It's fixed on the wikki
site.

Hope that works for you all.
Kevin


--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:


I just played with this some more, and data from one
edit is showing up in the data from next edit.  I'll
need to debug this some more after I get some
sleep...

Kevin


--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:


Ok.  I have gotten this working.

I created an ALTERNATE EDITOR entry that calls
custom
code.  This code gets the data from the database,
writes it to a file.  Then launches a linux editor
(e.g. joe) to edit the data.  When joe is done,

the

data is put back into the database.

I have documented this here:


http://openforum.worldvista.org/~forum/index.php?title=Using_a_linux_editor_inside_VistA

Hope it works for you.  I am glad to figure this
out,
because I found the VistA screen editor to be
difficult to use.

Kevin


--- "Ismet Kursunoglu, MD" <[EMAIL PROTECTED]>
wrote:


There is an ALTERNATE EDITOR file (I think I

got

the name right) that
provides a platform independent mechanism for

invoking editors (much as
This is what I found. I am running GT.M

V5.0-FT01

Linux x86 (under debian-pure64 sid with emulation) and VistA
FOIA20050227 from Bhaskar.

**********
OUTPUT FROM WHAT FILE: ALTERNATE EDITOR//

  -A- SEARCH FOR ALTERNATE EDITOR FIELD: ?
    Answer with FIELD NUMBER, or LABEL
   Choose from:
   .01          NAME
   1            ACTIVATION CODE FROM DIWE
   2            OK TO RUN TEST
   3            RETURN TO CALLING EDITOR
   7            DESCRIPTION   (word-processing)


  -A- SEARCH FOR ALTERNATE EDITOR FIELD:
**********

Would it be possible to evoke ZEDIT and have it
display for example with Mailman or for that matter anywhere else in

VistA?

I would think not.


On Jun 6, 2005, at 6:16 AM, K.S. Bhaskar

wrote:

Ismet --

Set the EDITOR environment variable before

starting GT.M to point to
any editor.  When ZEDIT "function" is invoked

from inside GT.M, it
will start the editor pointed to by $EDITOR,

e.g.:

source /usr/local/gtm/gtmprofile
export EDITOR=`which vim`
mumps -dir
GTM>ZEDIT "XYZ"

I am not sure, however, whether VistA invokes

an

editor with ZEDIT.
I don't know why it is presenting VMSEDT as a

choice for GT.M on
Linux. What happens if you take that choice?

That was from the OpenForum server - I am not

sure

what systems they are running under. When I use that it evokes an

editor

that looks like this

Select MailMan Menu Option: SML  Send a Message

Subject: testing
You may enter the text of the message...
  1>This is just a test to see what the VMSEDT
option sets for the editor.
  2>
EDIT Option: ?
     Choose, by first letter, a Word Processing
Command
     or type a Line Number to edit that line.
EDIT Option:
Send mail to: KURSUNOGLU,ISMET//

KURSUNOGLU,ISMET



--
Ismet B. Kursunoglu, MD, FCCP
Medical Director
Alaska Clinic, LLC
3750 Country Field Circle, UNIT B
Wasilla, Alaska 99654
[EMAIL PROTECTED]
(907)357-7240




-------------------------------------------------------

This SF.Net email is sponsored by: NEC IT Guy

Games.

How far can you shotput
a projector? How fast can you ride your desk

chair

down the office luge track?
If you want to score the big prize, get to know

the

little guy. Play to win an NEC 61" plasma display:
http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
[email protected]


https://lists.sourceforge.net/lists/listinfo/hardhats-members



                
__________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/




-------------------------------------------------------

This SF.Net email is sponsored by: NEC IT Guy

Games.

How far can you shotput
a projector? How fast can you ride your desk chair
down the office luge track?
If you want to score the big prize, get to know

the

little guy. Play to win an NEC 61" plasma display:
http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
[email protected]


https://lists.sourceforge.net/lists/listinfo/hardhats-members


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around http://mail.yahoo.com



-------------------------------------------------------

This SF.Net email is sponsored by: NEC IT Guy Games.
How far can you shotput
a projector? How fast can you ride your desk chair
down the office luge track?
If you want to score the big prize, get to know the
little guy. Play to win an NEC 61" plasma display:
http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
[email protected]


https://lists.sourceforge.net/lists/listinfo/hardhats-members

=== message truncated ===



                
__________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members


--
Ismet B. Kursunoglu, MD, FCCP
Medical Director
Alaska Clinic, LLC
3750 Country Field Circle, UNIT B
Wasilla, Alaska 99654
[EMAIL PROTECTED]
(907)357-7240


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to