Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Kevin Toppenberg
On 3/2/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote:
> --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>
> > Oops.  Sorry.  I wasn't paying close enough attention.
> >
> > I guess I don't understand what you are after.  If it is a good
> > editor, then just configure your system to call an editor in the OS.
> > If you are on linux, I can help you make joe, vim etc to launch
> > instead of the clunky VistA editor.
> >
> > But from that last post, it looked like you wanted something that
> > would put boxes on the screen etc.  The ^XGF functions should do
> > that.
> >
> > So what is missing?
> >
> > Kevin
>
>
> The problem is that there's no obvious way to run a shell in a window
> managed by XGF (a cterm?) I suppose you could do it if you wanted to,
> but it would take some work. Basically, you'd have to collect input to
> the window, pass it on to Linux, run the command, and display the
> ouput. Running a curses based application like vim could be a real challenge.
>

I think we are talking past one another.  I didn't say anything about
running a shell in a window managed by XGF.  But regarding the
external editor, I have posted about this before (indeed I think my
code is on the wikki), about the taking the VistA data, saving it to a
temp file, calling the editor, then getting the changes back from the
file.  I have been using this for about a 6-12 months without a hitch.

Kevin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Kevin Toppenberg
On 3/2/06, Dan <[EMAIL PROTECTED]> wrote:
> I don't think doing anything with OS shells and non-VistA distributed
> solutions would fly for any type of releasable software.

I disagree.  The system is exactly designed to make use of external
editors.  In the NEW PERSON file, there is a PREFERRED EDITOR (31.3)
field that specifies if the user wants to use an editor other than the
usual one.  There is pre and post code hooks.  It is all set up to use
an external editor.


>
> I have about 70% of my custom editor code (using ^XGF calls) working.  I
> just didn't want to find out later that there was a VistA API floating
> around that would have done what I wanted.

That is impressive, and I appreciate what you have done.  But why
re-invent the wheel?

Kevin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Dan
I don't think doing anything with OS shells and non-VistA distributed 
solutions would fly for any type of releasable software.


I have about 70% of my custom editor code (using ^XGF calls) working.  I 
just didn't want to find out later that there was a VistA API floating 
around that would have done what I wanted.



At 05:57 PM 3/2/2006, Greg wrote:

The problem is that there's no obvious way to run a shell in a window
managed by XGF (a cterm?) I suppose you could do it if you wanted to,
but it would take some work. Basically, you'd have to collect input to
the window, pass it on to Linux, run the command, and display the
ouput. Running a curses based application like vim could be a real challenge.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Greg Woodhouse
--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:

> Oops.  Sorry.  I wasn't paying close enough attention.
> 
> I guess I don't understand what you are after.  If it is a good
> editor, then just configure your system to call an editor in the OS. 
> If you are on linux, I can help you make joe, vim etc to launch
> instead of the clunky VistA editor.
> 
> But from that last post, it looked like you wanted something that
> would put boxes on the screen etc.  The ^XGF functions should do
> that.
> 
> So what is missing?
> 
> Kevin


The problem is that there's no obvious way to run a shell in a window
managed by XGF (a cterm?) I suppose you could do it if you wanted to,
but it would take some work. Basically, you'd have to collect input to
the window, pass it on to Linux, run the command, and display the
ouput. Running a curses based application like vim could be a real challenge.

===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"All truth passes through three stages: First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as
being self-evident."
--Arthur Schopenhauer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Kevin Toppenberg
Oops.  Sorry.  I wasn't paying close enough attention.

I guess I don't understand what you are after.  If it is a good
editor, then just configure your system to call an editor in the OS. 
If you are on linux, I can help you make joe, vim etc to launch
instead of the clunky VistA editor.

But from that last post, it looked like you wanted something that
would put boxes on the screen etc.  The ^XGF functions should do that.

So what is missing?

Kevin


On 3/2/06, Dan <[EMAIL PROTECTED]> wrote:
> I've already examined those (that's why the original message included
> "similar to WIN^XGF but that functions like a text editor?").
>
> At 12:58 PM 3/2/2006, Kevin wrote:
> >Look in the Kernel programmer's manual at the XGF functions:
> >
> >XGF Function Library
> >
> >CHGA^XGF Screen Change Attributes
> >CLEAN^XGF Screen/Keyboard Exit and Cleanup
> >CLEAR^XGF Screen Clear Region
> >FRAME^XGF Screen Frame
> >INITKB^XGF Keyboard Setup Only
> >IOXY^XGF Screen Cursor Placement
> >PREP^XGF Screen/Keyboard Setup
> >$$READ^XGF Read Using Escape Processing
> >RESETKB^XGF Exit XGF Keyboard
> >RESTORE^XGF Screen Restore
> >SAVE^XGF Screen Save
> >SAY^XGF Screen String
> >SAYU^XGF Screen String with Attributes
> >SETA^XGF Screen Video Attributes
> >WIN^XGF Screen Text Window
> >
> >Kevin
>
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Dan
I've already examined those (that's why the original message included 
"similar to WIN^XGF but that functions like a text editor?").


At 12:58 PM 3/2/2006, Kevin wrote:

Look in the Kernel programmer's manual at the XGF functions:

XGF Function Library

CHGA^XGF Screen Change Attributes
CLEAN^XGF Screen/Keyboard Exit and Cleanup
CLEAR^XGF Screen Clear Region
FRAME^XGF Screen Frame
INITKB^XGF Keyboard Setup Only
IOXY^XGF Screen Cursor Placement
PREP^XGF Screen/Keyboard Setup
$$READ^XGF Read Using Escape Processing
RESETKB^XGF Exit XGF Keyboard
RESTORE^XGF Screen Restore
SAVE^XGF Screen Save
SAY^XGF Screen String
SAYU^XGF Screen String with Attributes
SETA^XGF Screen Video Attributes
WIN^XGF Screen Text Window

Kevin




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Kevin Toppenberg
I mean a method of programatically reusing elements of VPE in my own
programming.  For example, Windows provides an object that looks like
a text window.  You can add text on various lines, and then scroll it
up and down.

VPE seems to have a similar function.  When you show a global, for
example, it copies the global into a scrollable area.

I want to have a documented method of using that.

Kevin


On 2/28/06, Thurman Pedigo <[EMAIL PROTECTED]> wrote:
> I am not sure what you mean by "API for the functions in VPE". I have the
> VPE applications in the (tools) menu system using the ScreenMan editor. Is
> there something else you want? What kind of function should we expect from
> API? Agree the text editor is sort of clunky, though it will interface with
> spell check - which I am not using.
>
> Thanks,
>
> thurman
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:hardhats-
> > [EMAIL PROTECTED] On Behalf Of Kevin Toppenberg
> > Sent: Tuesday, February 28, 2006 5:27 PM
> > To: hardhats-members@lists.sourceforge.net
> > Subject: Re: [Hardhats-members] CHUI scrollable window API
> >
> > Isn't there a text editor built into vista (although it is clunk in my
> > opinion).
> >
> > I have wished we could develop an API for the functions in VPE.  From
> > what I could see, he wrote fairly modular code--so an interface should
> > be possible
> >
> > Kevin
> >
> >
> > On 2/28/06, Dan <[EMAIL PROTECTED]> wrote:
> > > Is there a VistA API that will create a CHUI scrollable window similar
> > to
> > > WIN^XGF but that functions like a text editor?
> > >
> > >
> > >
> > > ---
> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > > that extends applications into web and mobile media. Attend the live
> > webcast
> > > and join the prime developer group breaking into this new coding
> > territory!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > > ___
> > > Hardhats-members mailing list
> > > Hardhats-members@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > >
> >
> >
> > ---
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > that extends applications into web and mobile media. Attend the live
> > webcast
> > and join the prime developer group breaking into this new coding
> > territory!
> > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> > ___
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-02 Thread Kevin Toppenberg
Look in the Kernel programmer's manual at the XGF functions:

XGF Function Library

CHGA^XGF Screen Change Attributes
CLEAN^XGF Screen/Keyboard Exit and Cleanup
CLEAR^XGF Screen Clear Region
FRAME^XGF Screen Frame
INITKB^XGF Keyboard Setup Only
IOXY^XGF Screen Cursor Placement
PREP^XGF Screen/Keyboard Setup
$$READ^XGF Read Using Escape Processing
RESETKB^XGF Exit XGF Keyboard
RESTORE^XGF Screen Restore
SAVE^XGF Screen Save
SAY^XGF Screen String
SAYU^XGF Screen String with Attributes
SETA^XGF Screen Video Attributes
WIN^XGF Screen Text Window

Kevin


On 3/1/06, Dan <[EMAIL PROTECTED]> wrote:
> This is the behavior I want (copy and paste into notepad):
>
> MAIN WINDOW==
> |   |
> |   |
> |   |
> |   SECOND WINDOW== |
> |   | This is my text that I  | |
> |   | edit.   | |
> |   | | |
> |   | | |
> |   | | |
> |   | | |
> |   | | |
> |   | | |
> |   === |
> |   |
> |   |
> |   |
> =
>
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-01 Thread Dan

This is the behavior I want (copy and paste into notepad):

MAIN WINDOW==
|   |
|   |
|   |
|   SECOND WINDOW== |
|   | This is my text that I  | |
|   | edit.   | |
|   | | |
|   | | |
|   | | |
|   | | |
|   | | |
|   | | |
|   === |
|   |
|   |
|   |
=



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-01 Thread Mike Schrom
There is a line editor too: CLUNK * 1000! I worked for the VA for 5 
years before I found out it could be changed!


Dan wrote:

As far as I know that editor is full screen only.

At 06:26 PM 2/28/2006, you wrote:

Isn't there a text editor built into vista (although it is clunk in my 
opinion).





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live 
webcast

and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-03-01 Thread Dan

As far as I know that editor is full screen only.

At 06:26 PM 2/28/2006, you wrote:
Isn't there a text editor built into vista (although it is clunk in my 
opinion).




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] CHUI scrollable window API

2006-02-28 Thread Thurman Pedigo
I am not sure what you mean by "API for the functions in VPE". I have the
VPE applications in the (tools) menu system using the ScreenMan editor. Is
there something else you want? What kind of function should we expect from
API? Agree the text editor is sort of clunky, though it will interface with
spell check - which I am not using.

Thanks,

thurman 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:hardhats-
> [EMAIL PROTECTED] On Behalf Of Kevin Toppenberg
> Sent: Tuesday, February 28, 2006 5:27 PM
> To: hardhats-members@lists.sourceforge.net
> Subject: Re: [Hardhats-members] CHUI scrollable window API
> 
> Isn't there a text editor built into vista (although it is clunk in my
> opinion).
> 
> I have wished we could develop an API for the functions in VPE.  From
> what I could see, he wrote fairly modular code--so an interface should
> be possible
> 
> Kevin
> 
> 
> On 2/28/06, Dan <[EMAIL PROTECTED]> wrote:
> > Is there a VistA API that will create a CHUI scrollable window similar
> to
> > WIN^XGF but that functions like a text editor?
> >
> >
> >
> > ---
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> > that extends applications into web and mobile media. Attend the live
> webcast
> > and join the prime developer group breaking into this new coding
> territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > ___
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-02-28 Thread Kevin Toppenberg
Isn't there a text editor built into vista (although it is clunk in my opinion).

I have wished we could develop an API for the functions in VPE.  From
what I could see, he wrote fairly modular code--so an interface should
be possible

Kevin


On 2/28/06, Dan <[EMAIL PROTECTED]> wrote:
> Is there a VistA API that will create a CHUI scrollable window similar to
> WIN^XGF but that functions like a text editor?
>
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-02-28 Thread Dan
As far as I know browser only lets you view data not edit it.  Also I don't 
believe you can control the window size or placement (like you can with 
WIN^XGF).



At 11:00 AM 2/28/2006, Greg wrote:

--- Dan <[EMAIL PROTECTED]> wrote:

> Is there a VistA API that will create a CHUI scrollable window
> similar to
> WIN^XGF but that functions like a text editor?
>
>

There's always the Fileman browser, or do I misunderstand what you're
looking for?




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] CHUI scrollable window API

2006-02-28 Thread Greg Woodhouse
--- Dan <[EMAIL PROTECTED]> wrote:

> Is there a VistA API that will create a CHUI scrollable window
> similar to 
> WIN^XGF but that functions like a text editor?
> 
> 

There's always the Fileman browser, or do I misunderstand what you're
looking for?


===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"All truth passes through three stages: First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as
being self-evident."
--Arthur Schopenhauer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members