🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #328

xboard/gnuchess problem

#328
From: Michael G. Katzmann
Date: Wed, 12 Aug 1992 15:58
69 lines
2764 bytes
I have been trying to get 'xboard', the gnuchess frontend for X
working on my HP9000/380 HPUX 8.0 (X11R4) machine.

It works fine up to the point of getting input from the user for a file
name.  It uses a "pop-up" widget. When the popup appears, the following
is output to stderr....


Warning: Actions not found: beginning-of-line, backward-character, 
delete-next-character, end-of-line, forward-character, multiply,
delete-previous-character, newline-and-indent, kill-to-end-of-line,
redraw-display, newline, next-line, newline-and-backup, previous-line,
search, transpose-characters, next-page, kill-selection, insert-selection,
scroll-one-line-up, backward-word, forward-word, insert-file,
kill-to-end-of-paragraph, form-paragraph, previous-page, scroll-one-line-down,
delete-next-word, kill-word, delete-previous-word, backward-kill-word,
beginning-of-file, end-of-file, forward-paragraph, backward-paragraph,
insert-char, focus-in, focus-out, select-start, extend-adjust, extend-end,
extend-start

The code that produces this is:


void
FileNamePopUp(label, proc)
	char *label;
	void (*proc) P((char *name));
{
	Arg args[2];
	Widget popup, dialog;
	Position x, y;
	Dimension bw_width, pw_width;

	fileProc = (XtCallbackProc) proc;

	XtSetArg(args[0], XtNwidth, &bw_width);
	XtGetValues(boardWidget, args, 1);

	XtSetArg(args[0], XtNresizable, True);
	XtSetArg(args[1], XtNwidth, DIALOG_SIZE);

	popup = XtCreatePopupShell("File Name Prompt",
		transientShellWidgetClass, commandsWidget, args, 2);

	XtSetArg(args[0], XtNlabel, label);
	XtSetArg(args[1], XtNvalue, "");

	dialog = XtCreateManagedWidget("dialog", dialogWidgetClass,
		popup, args, 2);

	XawDialogAddButton(dialog, "ok", FileNameCallback, (XtPointer) dialog);
	XawDialogAddButton(dialog, "cancel", FileNameCallback, (XtPointer) dialog);

	XtRealizeWidget(popup);   <========The "error" is reported here


I am a complete novice, when it comes to X windows and widgets, so if
anyone can point me in the right direction I'd be grateful.

Is it a problem in the Xaw/Xmu/Xt libraries?

Please e-mail me your ideas. (To the address below (the reply address is
invariably wrong))

-- 
Michael Katzmann	  >	Broadcast Sports Technology Inc.
~~~~~~~~~~~~~~~~	 <	Crofton, Maryland. U.S.A
Amateur Radio Stations:   >
NV3Z / VK2BEA / G4NYV	 <	opel!vk2bea!michael@uunet.uu.net
Technical Details
Message-ID: <1002@vk2bea.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!opel!slc1!vk2bea!michael

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!opel!slc1!vk2bea!michael
From: michael@vk2bea.UUCP (Michael G. Katzmann)
Newsgroups: comp.sources.bugs,comp.sources.d
Subject: xboard/gnuchess problem
Keywords: gnuchess xboard chess
Message-ID: <1002@vk2bea.UUCP>
Date: 12 Aug 92 15:58:43 GMT
Followup-To: poster
Organization: Broadcast Sports Technology., Crofton, MD
Lines: 69