cygwin version of xemacs-21.4.19 coredumps when trying to Page setup.../Print <buffer> to...

Stephen J. Turnbull stephen
Sat Nov 25 05:59:54 EST 2006


Dr. Volker Zell writes:

 > Can you send me a screen shot of what the File->Page Setup

There isn't one; any setup will be done via Customize.

 > and ->Print menu dialogs look like on a Unix system.

There isn't one.  Both the "Print Buffer" and "Pretty-Print" buffer
items just send the buffer contents to the printer without a dialog.

 > My understanding is:
 > 
 >  o The Windows variant (when running without DISPLAY env variable) of the
 >    cygwin version should use Windows facilities - which it DOES after
 >    the patch.
 > 
 >  o The Unix (X11) variant should use Unix facilities like lpr and
 >    friends.

Even without any dialog at all?  If you don't have an lpr program,
you'll get a message to that effect, but I imagine that if you do have
an lpr but it's not set up properly, the attempt to print will just
disappear into a black hole.

 > use a cygwin compiled version of LPRngTool. It's not an
 >    official cygwin package yet,

That would probably explain why we don't provide it.

 > So you're saying, there is not even a File->Page Setup menu item under Unix ?

That's right.

 > If so there shouldn't be one on the Unix (X11) variant of cygwin (even
 > if the version is compiled with native Windows support), or even better it
 > should be customizable.

I can probably do the former, but we'll need to find somebody who
actually has a Windows system to add customization.

 > The toolbar Print button is not the problem. It's bound to
 > toolbar-print and works like a charm with lpr.

I gather from "works like a charm" that your estimate is that that
would be acceptable to Cygwin users who use the X interface rather
than the MS Windows interface?  That sounds reasonable to me (but I
can't confirm from personal experience).

Unless you say "no", or somebody beats me to it, I'll assume that's
that sensible thing to do and get you a patch that checks for the type
of the frame when putting up menubar (you're right, I did confuse
menubar with toolbar, but C-h k does work on menu items, too).

 > For the Windows variant: The Print button (menu) should use the Windows
 > default Printer and not lpr.

That was surely just an oversight.

 > The X11 version should be user customizable. Either use the Windows
 > facilities or lpr and friends.

Well, we'll need to find somebody to connect Cygwin XEmacs/X11 to the
Windows facilities, but it sounds good to me.  Hm, maybe it will "just
work"?  I'll see what I can come up with.

Steve



More information about the XEmacs-Beta mailing list