Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-12 Thread Ismet Kursunoglu, MD
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.

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-12 Thread Kevin Toppenberg
No problem. Glad it works for you. In the process of doing this, I learned about the joe editor and pico editor. Although joe does not have many features (although it is a fun nostalgic trip back to my days of turbo pascal's editor), I think it is the one I will offer for my staff to use. I

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-11 Thread Nancy Anthracite
Sleep? What is that? On Saturday 11 June 2005 01:01 am, Kevin Toppenberg 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]

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-11 Thread Chris Richardson
-members@lists.sourceforge.net Sent: Saturday, June 11, 2005 5:52 AM Subject: Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email Sleep? What is that? On Saturday 11 June 2005 01:01 am, Kevin Toppenberg wrote: I just played with this some more, and data from one edit

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-11 Thread Kevin Toppenberg
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.

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-10 Thread Kevin Toppenberg
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

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-10 Thread Kevin Toppenberg
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

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Gregory Woodhouse
You should be able to use the same technique that is used to install EDT/TPU as an alternate editor under VMS. === Gregory Woodhouse [EMAIL PROTECTED] Before one gets the right answer, one must ask the right question. -- S. Barry Cooper On Jun 5, 2005, at 2:51 PM, Ismet Kursunoglu, MD

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread K.S. Bhaskar
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 GTMZEDIT XYZ I am not sure,

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Gregory Woodhouse
There is an ALTERNATE EDITOR file (I think I got the name right) that provides a platform independent mechanism for invoking editors (much as the DEVICE file provides a platform independent mechanism for working with devices. VistA on GT.M may or may not invoke ZEDIT under the hood.

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Ismet Kursunoglu, MD
Is there a document that you could point me to that outlines the technique? You should be able to use the same technique that is used to install EDT/TPU as an alternate editor under VMS. === Gregory Woodhouse [EMAIL PROTECTED] Before one gets the right answer, one must ask the right

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Kevin Toppenberg
I have done this, and it works for ZEDIT. But as far as I can tell, VistA still uses its internal editor for most things. Kevin --- K.S. Bhaskar [EMAIL PROTECTED] wrote: Ismet -- Set the EDITOR environment variable before starting GT.M to point to any editor. When ZEDIT function is

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Greg Woodhouse
Sorry about being so terse: Look in the ALTERNATE EDITOR file to see what code is invoked, and then look at the routine as a model. --- Ismet Kursunoglu, MD [EMAIL PROTECTED] wrote: Is there a document that you could point me to that outlines the technique? You should be able to use the

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Ismet Kursunoglu, MD
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.

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Greg Woodhouse
For example, under VMSEDT, you should see something like this CHOOSE 1-2: 1 VMSEDT ANOTHER ONE: STANDARD CAPTIONED OUTPUT? Yes// (Yes) Include COMPUTED fields: (N/Y/R/B): NO// - No record number (IEN), no Computed Fields NAME: VMSEDTACTIVATION CODE FROM DIWE:

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Kevin Toppenberg
I would like to an alternate editor as well. When in look in the ALTERNATE EDITOR file, I see the entries that Ismet posted earlier. Here is the data for these files: ACTIVATION CODE FROM DIWE: - XTENSIBLE EDITOR: D ENTRY^RGED(DIG,$G(DIWETXT),$G(DIWESUB)) SCREEN EDITOR:

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Ismet Kursunoglu, MD
Sorry about being so terse: Look in the ALTERNATE EDITOR file to see what code is invoked, and then look at the routine as a model. Oh, no - not terse at all! It is just that I am not even in the third violin section in this orchestra - at this point I am still sitting in audience and

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Greg Woodhouse
Look in the Fileman manual under ^DIWE. Basically, WP fields are expected to be stored in globals, but to use an external editor, you will probably need to copy the contests to a scatch (host) file, edit it, and then load it into a global again. Kernel provides utilities to do this, but th enaming

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Nancy Anthracite
Below is from the VA Demo, however, there is no field 31.3 in the NEW PERSON file in the VA Demo. I was hoping to find an example. Select ALTERNATE EDITOR: KerMIT LOAD ANOTHER ONE: STANDARD CAPTIONED OUTPUT? Yes// (Yes) Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Kevin Toppenberg
Ok, in the fileman API, I find the function EN^DIWE. And it lists the input variables to that function. Is it safe to assume that all these same variables would be available to a custom editor call? I.e. to the pre-execute code etc.? If so, then the pseudocode would be something like this --

Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Greg Woodhouse
That's the basic idea. In my own code, I've stored XML documents in WP fields and then used EN^DIWE to offer the user the opportunity to edit a document loaded from disk. Of course, the problem is that if the user makes a mistake, the document may even cease to be valid XML! In the future, I

RE: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-06 Thread Bhaskar, KS
- From: [EMAIL PROTECTED] on behalf of Kevin Toppenberg Sent: Mon 6/6/2005 8:02 PM To: hardhats-members@lists.sourceforge.net Cc: Subject:Re: [Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email Ok, in the fileman API, I find the function EN^DIWE. And it lists

[Hardhats-members] Default Editor for Vista and MailMan OpenFORUM email

2005-06-05 Thread Ismet Kursunoglu, MD
Is there a way to include/select Vim as the default editor under FOIA Vista, Debian/Linux and GT.M ? During the Boston meeting I recall that David Whitten mentioned that this was possible, but I can't remember what the procedure was. Also I am just creating my preferences for OpenFORUM and