Can anyone point me in the write direction to learn about screen
layout to do with MWAPI - I understand this is the best character
based way of setting screen layout.
Or could someone post a few commands to get me started.
Thanks
Matthew
> I understand this is the best character
> based way of setting screen layout.
I didn't say that or even anything like that.
> ...what MWAPI is please[?]
The M windowing API.
It is *not* a character-based API.
It requires a windowing client OS platform.
But if you mean line-drawing on a terminal, just write dashes (-)
for horizontal lines and pipes (|) for vertical lines.
Vigules (\,/) can be used for diagonal lines.
> Most of the Mumps application written by my company is
> all character-based.
So what tools are they using?
> Or could someone post a few commands to get me started.
I think you ought to have an old-timer at your company show you
the way they already do things.
You need to know.
Besides, I doubt that you are going to get to introduce anything
new before you understand the existing coding practices.
Migrating from character-based applications to windowing won't happen overnight.
I suppose it's possible that my newsfeed has skipped one or more messages,
but the only response I've seen to your original one was from Denver. It
didn't come over to me as sarcastic, but rather helpful.
Regarding MWAPI, I know of only one implementation of it, which was in
MSM-Workstation. When in 1998 the MSM product line was sold to InterSystems,
MSM-WS ceased development. It is still available, with peer support from
folk who either still use it or else recall enough about it to help out. You
could start at www.georgejames.com/ws/
But most of the UI "focus" nowadays centres on browsers. Depending on whose
MUMPS you're working with there may be off-the-shelf or built-in facilities,
or you might have to grow your own.
Tell us a little more and I'm sure you'll find helpful people on this NG,
including Denver.
John Murray
George James Software
www.georgejames.com
MSM-Workstation is a good place to start learning about
an implementation of MWAPI.
For the MWAPI itself, you might want to look at
http://207.192.157.194/mdc/example/ssvn/window.htm
Ed de Moel
Thanks
Domestos
"Matty Mumps" <matty...@aol.com> wrote in message
news:ab071e14.03101...@posting.google.com...
The reason for asking questions like these is that it is hard to give
general advice. Things depend on circumstances, on the task in hand,
resources available. For example: MSM-Workstation interfaces directly
to an MSM server but not (as far as I know) directly to anything else,
This doesnt make it useless for other situations but does make it more
attractive if you are running MSM anyway. People have built GUI
front-ends for all kinds of M implementations using tools like Tcl,
PHP, Delphi., VB If you look at the archives you will see a number of
discussions on the best tools for building GUI interfaces. If you are
using Cache you can find a lot on the intersystems newsgroup.
Incidentally, if you are using Datatree Mumps, there was an MWAPI
implementation (DT-Windows) but I dont think Intersystems
supports/sells it any longer and it isnt much fun to work with.
There is a book about MWAPI (I found it once on amazon).
M.R. Hoare
NAME: C-VT320 SELECTABLE AT SIGN-ON: YES
RIGHT MARGIN: 80 FORM FEED:
#,$C(27,91,50,74,27,91,72)
PAGE LENGTH: 48 BACK SPACE: $C(8)
*OLD XY CRT: W $C(27,91)_((DY+1))_$C(59)_((DX+1))_$C(72)
HOME CURSOR: $C(27,91,72) REVERSE VIDEO ON:
$C(27,91,55,109)
REVERSE VIDEO OFF: $C(27,91,50,55,109)
ERASE TO END OF LINE: $C(27,91,75) ERASE TO END OF PAGE:
$C(27,91,74)
BLINK ON: $C(27,91,53,109) BLINK OFF: $C(27,91,50,53,109)
RESET: $C(27)_"[!p" UNDERLINE ON: $C(27,91,52,109)
UNDERLINE OFF: $C(27,91,50,52,109) SGR ATTRIBUTES OFF:
$C(27,91,109)
HIGH INTENSITY (BOLD): $C(27,91,49,109)
LOW INTENSITY (UNBOLD): $C(27,91,50,50,109)
NORMAL INTENSITY (RESET): $C(27,91,50,50,109)
INSERT MODE: $C(27,91,52,104) REPLACE MODE: $C(27,91,52,108)
CURSOR UP: $C(27)_"[A" CURSOR DOWN: $C(27)_"[B"
CURSOR RIGHT: $C(27)_"[C" CURSOR LEFT: $C(27)_"[D"
ARROW KEY STRING LENGTH: 3 DELETE LINE: $C(27)_"[M"
INSERT LINE: $C(27)_"[L" DELETE CHAR.: $C(27)_"[P"
INSERT CHAR.: $C(27)_"[@" CURSOR ON: $C(27)_"[?25h"
CURSOR OFF: $C(27)_"[?25l"
OPEN PRINTER PORT: W $C(27)_"[?5i" CLOSE PRINTER PORT: W
$C(27)_"[?4i"
ERASE FROM BEG OF PAGE: $C(27,91,49,74)
ERASE ENTIRE PAGE: $C(27,91,50,74) ERASE FROM BEG OF LINE:
$C(27,91,49,75)
ERASE ENTIRE LINE: $C(27,91,50,75) ERASE CHARACTER: $C(27,91,88)
ERASE FIELD: $C(27)_"["_(+X)_"X" INDEX: $C(27)_"D"
REVERSE INDEX: $C(27)_"M" SAVE CURSOR: $C(27,55)
RESTORE CURSOR: $C(27,56) NEXT LINE: $C(27)_"E"
AUTO WRAP ON: $C(27,91,63,55,104) AUTO WRAP OFF:
$C(27,91,63,55,108)
AUTO REPEAT ON: $C(27,91,63,56,104) AUTO REPEAT OFF:
$C(27,91,63,56,108)
KEYPAD APPLICATION MODE: $C(27,61) KEYPAD NUMERIC MODE: $C(27,62)
TAB SET: $C(27,72) TAB CLEAR: $C(27,91,103)
CLEAR ALL TABS: $C(27,91,51,103)
SET TOP & BOTTOM MARGINS: $C(27,91)_(+IOTM)_$C(59)_(+IOBM)_$C(114)
DOUBLE HIGH DOUBLE WIDE TOP: $C(27,35,51)
DOUBLE HIGH DOUBLE WIDE BOTTOM: $C(27,35,52)
SINGLE HIGH DOUBLE WIDE: $C(27,35,54)
SINGLE HIGH SINGLE WIDE: $C(27,35,53)
KP0: $C(27)_"Op" KP1: $C(27)_"Oq"
KP2: $C(27)_"Or" KP3: $C(27)_"Os"
KP4: $C(27)_"Ot" KP5: $C(27)_"Ou"
KP6: $C(27)_"Ov" KP7: $C(27)_"Ow"
KP8: $C(27)_"Ox" KP9: $C(27)_"Oy"
PF1: $C(27)_"OP" PF2: $C(27)_"OQ"
PF3: $C(27)_"OR" PF4: $C(27)_"OS"
MINUS: $C(27)_"Om" COMMA: $C(27)_"Ol"
ENTER: $C(27)_"OM" PERIOD: $C(27)_"On"
FIND: $C(27)_"[1~" SELECT: $C(27)_"[4~"
INSERT HERE: $C(27)_"[2~" REMOVE: $C(27)_"[3~"
PREV SCREEN: $C(27)_"[5~" NEXT SCREEN: $C(27)_"[6~"
HELP: $C(27)_"[28~" DO: $C(27)_"[29~"
TOP LEFT CORNER: "l" BOTTOM LEFT CORNER: "m"
TOP RIGHT CORNER: "k" BOTTOM RIGHT CORNER: "j"
MIDDLE T: "n" TOP T: "w"
BOTTOM T: "v" LEFT T: "t"
RIGHT T: "u" VERTICAL LINE: "x"
HORIZONTAL LINE: "q" GRAPHICS OFF: $C(27)_"(B"
GRAPHICS ON: $C(27)_"(0" PRINT SCREEN: $C(27,91,105)
XY CRT: W $C(27,91)_((DY+1))_$C(59)_((DX+1))_$C(72)
www.hardhats.org has info on this MUMPS software suite.
--George Timson
To George and everyone else
Thanks for your advice so far. I should have said - I'm working with
MSM-Workstation 2.0.0, and my company also uses MSM. My investigations
are within the realms of MSM I have to say - for the time being.
Can anyone say if I am limited to say using the 'cup' or is it 'tcup'
command to move the cursor about the screen to design screen layouts
please.
Thanks again for all your input so far.
Matthew
MSM-WS has a built-in GUI (MWAPI) which lets you do real windows. But, if
you want to stick to character-based screens, then you should check out the
chapter in the MSM Reference Manual "Mnemonic Namespaces". It details the
two mnemonic namespaces that are built in to MSM, ANSI X3.64-1979 and
ZWINTERM. The latter allows you to do windows with character-based screens;
and line drawing is included too.