[comp.sys.apollo] DIALOG and DM ?'s

ashley@cheops.eecs.unsw.oz (Ashley M. Aitken) (02/27/89)

G'Day,
Could someone please give me some solutions or tips on the following problems 

DIALOG:	Is there anyway to perform standard output to a dialog window ie is
	there some way of changing or dressing a GRAPHICS_AREA into a type of
	pad? I wish to write text to the dialog window and at present am
	painfully using the dp_$msg_set_value routine ( setting up the string
	array is quite painful ).

DM:	Is it possible to include the icons in the next-window cycle (perhaps
	some key assignment to shift-next-window) ? I find it depressing to
	have to search for a mouse under all my paper(less office), and using
	the cursor keys takes forever.

Any assistance either mailed to me or to the group would be most gratefully
accepted.
Adv-Thanks-ance,
Ashley Aitken.

E-MAIL  ashley@cheops.unsw.oz					   ACSnet
	ashley%cheops.unsw.oz@uunet.uu.net			   ARPAnet
	ashley@cheops.unsw.oz.au				   ARPAnet
	{uunet,ukc,ubc-vision,mcvax}!munnari!cheops.unsw.oz!ashley UUCP	
	ashley%cheops.unsw.oz@australia				   CSnet
	ashley%cheops.unsw.oz@uk.ac.ukc				   JAnet

POSTAL	Academic Address:			Residential Address:
	Computer Science Department, EECS,	c/o Basser College,
	University of New South Wales,		The Kensington Colleges,
	Box 1,PO KENSINGTON,N.S.W.,2033,	Box 24,PO KENSINGTON,3033.
	AUSTRALIA.				AUSTRALIA.
	Ph. Aust (02) 697-4055			Ph. Aust (02) 663-8117

derstad@CIM-VAX.HONEYWELL.COM ("DAVE ERSTAD") (03/02/89)

DIALOG:  This doesn't answer your question, but may answer your need.
What we typically do is to run DIALOG in the top 80% or so of the 
screen, and run a standard transcript pad in the rest.  This is
easily done with the pad_$create call.  Then, user messages
can be put onto the transcript, and you don't have to futz with
changing text in the interface (unless you want to).

DM:  Assign shift next window to TNI.  TNI is the "Next Icon"
command.

conliffe@caen.engin.umich.edu (Darryl C. Conliffe) (03/02/89)

DIALOG: I have run into the same problem, and you beat
me to the net with the question.  So far, I use Dave's
method of a split window and also make calls to the
DM to "cv" the file.  I explicitly place the
window, so that the file to be read appears in the same
place each time.  I would still prefer, however, to have
the analog to the GPR window for an edit pad (with
scrollbars, too).

DM: I redefine three keys for moving around between pads:
KD LB TI;TR KE
#       - Move to next input window
KD LBS TN KE
#       - Move to next window
KD '^ TNI KE
#       - Move to the next icon

These may be of interest to you.
-- 
___________________

 Darryl C. Conliffe  conliffe@caen.engin.umich.edu  (313) 721-6069
-------------------

conliffe@caen.engin.umich.edu (Darryl C. Conliffe) (03/02/89)

In article <41c5247e.b11a@falcon.engin.umich.edu>, conliffe@caen.engin.umich.edu (Darryl C. Conliffe) writes:
> KD '^ TNI KE
> #       - Move to the next icon
> 

This definition is in error - the special characters got
stripped.  I'll try again:

KD '^\~' TNI KE
#  Making <CTRL>-tilda a move to the next icon
-- 
___________________

 Darryl C. Conliffe  conliffe@caen.engin.umich.edu  (313) 721-6069
-------------------

thompson@cpsc.ucalgary.ca (Bruce Thompson) (03/03/89)

In article <1086@cheops.eecs.unsw.oz>, ashley@cheops.eecs.unsw.oz (Ashley M. Aitken) writes:
> 
> DIALOG:	Is there anyway to perform standard output to a dialog window
>	ie is there some way of changing or dressing a GRAPHICS_AREA into a
>	type of pad? I wish to write text to the dialog window and at present
>       am painfully using the dp_$msg_set_value routine ( setting up the
>	string array is quite painfu

Refer to the System Call Reference under Pad, and create a transcript pad
attached to stdout. Use the new pad for Dialog, and use stdout as normal. The
text which you send out stdout will still be present when the new pad is
closed.

> DM:	Is it possible to include the icons in the next-window cycle (perhaps
>	some key assignment to shift-next-window) ? I find it depressing to
>	have to search for a mouse under all my paper(less office), and using
>	the cursor keys takes forever.

Refer to the DM command TNI (to next icon). It performs a similar function to
Next-Window. You should be able to make the key-binding you suggested.

	Hope this helps,
	Bruce

------------------------------------------------------------------------------
Bruce Thompson				| "Never get into an argument with a
University of Calgary,			| fool. People may not be able to
Computer Science Department		| tell the difference" - ????
(403)220-3538 or (403)220-5017 (office)	| 
					| "Don't look at me, I only say
...!alberta!calgary!cpsc!thompson	| them."