Mail Archives: djgpp/1997/08/12/16:01:46
Hi Eli:
> > P.S. Last minute: I added support for the Loose clipboard. Is limited to the
> > size of the transfer buffer but you can copy & paste with it.
>
> You could easily overcome the size limitation by allocating your own
> buffer, which can then be as large as 500K. That's what Emacs does.
Thanks for you sugestion. I knew that because your comments in the list.
> If you do that, you need to be aware of 2 caveats:
>
> 1) You should deallocate the buffer after the data is moved, or
> else child processes might not have enough DOS memory to run.
>
> 2) Do NOT use the DPMI services to allocate and deallocate the
> buffer; use the DOS functions via `__dpmi_int'. That's because
> the DPMI server built into Windows/NT will crash your program if
> it tries to call `__dpmi_free_dos_memory' (seems like a bug in
> NT).
Thanks for this info, I didn't know the workaround for NT. That was the main
reason to avoid allocating the block.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -