ralf@b.gp.cs.cmu.edu.UUCP (02/27/87)
Seeing all the discussion about DESQview a while back, I figured that there might be some people interested in running PC-WRITE in a window, rather than just in full-screen mode. I hacked together the following program today. To use it, uudecode it (it should be 447 bytes), download it, and change the invocation DV uses for PC-WRITE to d:path\DV-PCW.COM d:\pcw-path\ED.EXE Also turn off "writes directly to screen", and turn on "Allows TopView calls" and "Close on exit to DOS". You will probably not want to turn off "runs only in foreground". This program works because Bob Wallace of Quicksoft had the foresight to allow you to tell PC-WRITE all about the video memory, including its starting address. What the program does is get the address of the virtual screen used by DESQview, and set the environment variable ED to contain the &S:nnnn directive telling PC-WRITE where the screen starts. It then loads PC-WRITE. CAVEAT: I have only tested this program on my machine (AT-clone running under PC-DOS 3.10) Enjoy! --------------- Cut here if you want ---------------------------------- begin 644 dv-pcw.com MZ#(!NQT#B^-2@\,/T>O1Z]'KT>NT2LTAH2P 2([ )HL> P!#B1YO +1(S2&. MP(L.;P#1X='AT>'1X1Z.'BP ,_:+_O.D'XP&7 #H8@ FQP4F4R;&10(Z@\<# MH7$ _+H0)^BG +KH ^BA +ID .B; +H* .B5 0PJEJX $L>![M< ,TA<@JT M3<TAM$S-(<T@NIX!M G-(;@!3,TAS2!#;W5L9"!N;W0@;&]A9 T*)#/_BPYO M $G1X='AT>'1X?PF@3U%1'4')H!] CUT'C+ \JXF@#T =>@FQP5%1";&10(] M@\<#)L=%" PU=6B_<#\0/Y@\<)@^D"_1X&'_.D'UY?@\<#)L9%"%W#,\E! M*\)S^P/"28#!,":(#4?#3F\@;75L=&ET87-K97(@86-T:79E#0HD_+Z! (H. M@ R[>,4K$D\('3X/ ET]#PO=02L2>OL3D&+UJQ)/"!T$#P)= P\#70(/%MT M!#Q==>K&1/\ Q@9L #'!FT W'!EX ;0",#F QP9B &P C YD ,<&9@!L J (P.: &OP"PCL<S_[3^S1",QP>!_P"P= J#_P!T!8D^<0##NAT"Z=3^ end -------------- Cut here also if you want to --------------------- +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | ARPA: RALF@B.GP.CS.CMU.EDU "Teaching COBOL ought to be | | AT&T: (412) 268-3053 (school) regarded as a criminal act" | | Snail: Ralf Brown --- Edsger Dijkstra | | Computer Science Department | | Carnegie-Mellon University DISCLAIMER? Who ever said I claimed | | Pittsburgh, PA 15213 anything? | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ -- +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | ARPA: RALF@B.GP.CS.CMU.EDU "Teaching COBOL ought to be | | AT&T: (412) 268-3053 (school) regarded as a criminal act" | | Snail: Ralf Brown --- Edsger Dijkstra | | Computer Science Department | | Carnegie-Mellon University DISCLAIMER? Who ever said I claimed | | Pittsburgh, PA 15213 anything? | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+