| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 881.1 |  | VESTA::BAILEY | Mind Set Transfer In Progress | Mon Jun 05 1989 09:27 | 30 | 
|  | $ !This the the command procedure that you should use to run MESSAGE
$ !in a detached process  (edit the node name )
$ !
$ !
$ set ver
$ !
$ !if this is being executed by the detached process then...
$ !
$ if  "''f$mode()'"   .nes. "INTERACTIVE" then goto do
$ !
$ run/auth/uic=['f$getjpi("","UserName")']  -
sys$system:loginout.exe/input='f$en("Procedure")'/-
out=NL:/proc=MESSAGE
$ exit
$ !
$ do:
$ ! Executed by the detached process created above
$ !
$ set disp/create/node=VANITY     	! <<<<<<<<<< EDIT HERE 
$ !
$ ! create a decterm controller
$ !
$ spa/nowait  mc  decw$terminal
$ !
$ ! wait for the controller
$ !
$ wait 00:00:30
$ !
$ run Sys$Login:Message
 | 
| 881.2 |  | VESTA::BAILEY | Mind Set Transfer In Progress | Mon Jun 05 1989 09:29 | 8 | 
|  | How to link the source
$ mac  Message  
$ link Message,sys$input:/opt
sys$share:decw$terminalshr/share
sys$share:decw$dwtlibshr/share
 | 
| 881.3 | how is this different from DECwindows BANNER? | CADJR::CERNESE | Dan Cernese, CAD Systems Engineering | Mon Jun 05 1989 09:45 | 1 | 
|  | 
 | 
| 881.4 |  | VESTA::BAILEY | Mind Set Transfer In Progress | Mon Jun 05 1989 10:20 | 16 | 
|  | >>   -< how is this different from DECwindows BANNER? >-
MESSAGE will run as a detached process...
you dont have a message box up if there are no messages
messages are allways 'new' (ie a message stays up for 5 mins... then goes away)
you get one message per box
I'am not trying to play down DECbanner or promote Message..
like it says... it a quick 'n' dirty hack that does
what I want it to
thats it
 | 
| 881.5 |  | BOOTIS::BAILEY | Mind Set Transfer In Progress | Mon Jun 05 1989 14:47 | 20 | 
|  | If you want to run Message as a subprocess..  do
SPAWN/NOWAIT/NOTI/OUT=NL:   RUN MESSAGE
You'll still get to see  broadcast messages on the terminal
you spawned from  (I dont think there's a way to turn these 
off)
Dont do any
Set Broadcast=nnnn
or
SEt Term/NoBroadcast
type things, cos what the terminal (you spawned from)  'sees'
is what gets put up the messages boxes
Ps..  this requires no privs at all to do
 | 
| 881.6 |  | VWSENG::KLEINSORGE | Toys 'R' Us | Mon Jun 05 1989 15:23 | 8 | 
|  |     
    Actually, this isn't like "banner", but instead it's a variant of
    DISPMSG (Burns Fisher circa 1986) for UIS now called VWS Message
    and included on the demo disk.  It did allow VWSBANNER to be used as
    the destination for the output instead of creating a pop-up window.
    
    _Fred
 | 
| 881.7 | name clash advisory | MU::PORTER | we have seen the enemy and it is us | Mon Jun 05 1989 21:40 | 8 | 
|  |     re .0
    
    How is this different from VMS's MESSAGE utility?	:-)
    
    (In other words, maybe you want to change the name of your program --
     VMS already ships a program called MESSAGE)
    
 | 
| 881.8 | pointer to the source...? | FORTY2::AMOS_NET | Rich Amos @REO - DTN: 830 4770 | Tue Jun 06 1989 04:43 | 8 | 
|  | Hi,
Could you provide a pointer to the source please,
Many thanks,
Rich.
 | 
| 881.9 |  | BOOTIS::BAILEY | Mind Set Transfer In Progress | Wed Jun 07 1989 04:12 | 5 | 
|  | > Could you provide a pointer to the source please,
JUNO""::MESSAGE.MAR
 | 
| 881.10 |  | VESTA::BAILEY | Mind Set Transfer In Progress | Thu Jun 08 1989 11:46 | 69 | 
|  | What am I doing wrong  ??? (Clean answers only please)
cannot get LOAD_QUERY_FONT to work... any ideas???
failing example follows  (Macro... Sorry!)
(The returned pointer to the created font structure is Zero)
; open the default display
        pushaq  null
        calls   #1,g^X$Open_Display
        movl    R0,Display
; load font
	pushal	x_font_list		; returned pointer to font structure
	pushaq	font_name		; font name
	pushal	display			; display
	calls	#3,g^x$load_query_font
	cmpl	r0,#x$c_success		; check for error
	beql	41$
; tell us the returned pointer to font structure & the display
	movl	#100,out
	$fao_s	ctrstr=ctraaa,outbuf=out,outlen=out,-
		p1=x_font_list,-
		p2=display
	pushaq	out
	calls	#1,g^lib$put_output
	ret		; exit our program !!
41$:	nop
error:	nop
	ret
font_name:	.ascid	/-*-Courier-BOLD-R-Normal--*-*-*-*-M-*-*-*/
x_font_list:	.long	struc			; point to structure 
struc:		.Blkl	100			; font structure <Returned>
out:	.long	100
	.long	out+8
	.blkb	100
ctraaa:	.ASCID	/x_font_list !XL  display !XL/
;x_font_list:	.blkl	100
display:	.blkl	1
null:           .ascid  //
f_err:	.ascid	/------------- error in x$load_query_font-------------/
	.end	start
 | 
| 881.11 |  | PSW::WINALSKI | Careful with that VAX, Eugene | Thu Jun 08 1989 17:58 | 15 | 
|  | I wish you were using something higher level than MACRO.  It would make
troubleshooting the code easier.
I think you problem may be here:
>       font_name:	.ascid	/-*-Courier-BOLD-R-Normal--*-*-*-*-M-*-*-*/
All of the Courier fonts listed in Appendix D of the DECwindows Programmer's
Guide have the word "Bold" spelled capital-B-o-l-d, not all caps the way you
have it.  An awful lot of X is case-sensitive.  I'd try:
	font_name:	.ascid	/-*-Courier-Bold-R-Normal--*-*-*-*-M-*-*-*/
--PSW
 | 
| 881.12 | ] | VESTA::BAILEY | Mind Set Transfer In Progress | Fri Jun 09 1989 03:47 | 18 | 
|  | Thanks for the try...
> I wish you were using something higher level than MACRO.  It would make
> troubleshooting the code easier.
I know... one day I _must_ upgrade
> I'd try:
>	font_name:	.ascid	/-*-Courier-Bold-R-Normal--*-*-*-*-M-*-*-*/
Tried that... but no go
I even ran one of the 'list all loaded font' programs and
used _exactly_ one of the font it listed... even with this no go
rats
 | 
| 881.13 |  | VESTA::BAILEY | Mind Set Transfer In Progress | Fri Jun 09 1989 08:02 | 7 | 
|  | found my problem, I was passing by reference and not passing
by value... !Sigh! my brain must be leaking...  fortunately
I'am off now for a weeks hols!!
Thanks for the all help
 | 
| 881.14 |  | BOOTIS::BAILEY | Eight or bust....... | Thu Jun 22 1989 14:05 | 14 | 
|  | There is a new version of message at juno""::message.exe 
This uses 12 point test in the pop up message box (thus making them
a bit smaller)
re .-1
> fortunately I'am off now for a weeks hols!!
And now I'am back !sigh!..still it was nice while it lasted
 | 
| 881.15 | Where is message its not at juno"":: ? Thanks | DSTEG2::HOSSFELD | I'm so confused! | Thu Nov 30 1989 08:56 | 0 | 
| 881.16 |  | VANISH::BAILEY | I have a cunning plan.. | Thu Nov 30 1989 09:24 | 5 | 
|  | Sorry about that
its at VANITY""::
(I've moved)
 | 
| 881.17 | Source? | FEATHR::BLUEJAY | Remember when people put thier names here? | Fri Dec 01 1989 13:08 | 4 | 
|  | How about the source?
%COPY-E-OPENIN, error opening VANITY""::SYS$SYSDEVICE:[DECNET]MESSAGE.MAR; as input
-RMS-E-FNF, file not found
 | 
| 881.18 | SOURCE .???? | SUBURB::MILLSONM |  | Tue Dec 19 1989 08:13 | 4 | 
|  | Has anyone got the source to message ????
			MARTIN :-)
 | 
| 881.19 |  | VANISH::BAILEY | Too fast to live................ | Tue Dec 19 1989 11:54 | 10 | 
|  | >Has anyone got the source to message ????
$ dir  vanity""::message.mar
Directory VANITY""::SYS$SYSDEVICE:[DECNET]
MESSAGE.MAR;1
Total of 1 file.
 |