[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

CUT/PASTE, ECCO solution



Jack:

 I have solved my problem. I'll tell you how so you can see if it will lead
you to solve yours.

 First a summary: One standard way windows programs cut/paste to the clipboard
is with Control C/V. XyWIN mimics this via the xwmenu.mnu file by using the
JM function call for keys 46 and 47 in the Control table in xw.kbd.

 I set ECCO to expect the control C/V keyboard shortcuts for cut and paste.
Shooting to XYWIN worked fine, Shooting from XyWIN gave an error message.

 One can avoid the extra step of going through the XyWIN menu file and assign
direct Window cut/paste actions to those keys. With a little trial and error,
I discovered how.

 In the control table ; out the existing 46 and 47 definitions (to make it
easier to go back if it causes problems). Substitute the following only
partially documented function calls.

 46=NI,MW,c,p
 47=NI,MW,p,a

 NI is undocumented in XyWIN materials, but it is the "No interrupt" call and
tell XyWIN to ignore all XyWrite code.
 MW is the call that invokes the windows function that follows. cp and pa are
obvious.

 With these loaded I first tested cutting and pasting text to and from the
Windows clipboard. It works fine, even for large blocks of text.

 Next I loaded ECCO and it's "shooter" works just as advertised.

 The only thing I don't know is if the old control C/V calls are used by
anything else in XYWIN, and whether something else will stop working later.
Will have to ask Nicole Lane on Compuserve when she returns.

 Let me know if this leads to a solution of the Random House problem and/or to
the end of your paste freeze ups.

 Allan (writing from Compuserve to the internet xywrite list).


 - Allan A. Needell, CServe: 71461,1115; Internet: aneedell@xxxxxxxx
  Written 09-Jun-1994 @ 22:57:29