[8540] in Athena Bugs
Xaw Text: no quote-character function
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Wed Nov 6 13:27:54 1991
Date: Wed, 6 Nov 91 13:27:45 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: xbugs@expo.lcs.mit.edu
Cc: bugs@Athena.MIT.EDU
VERSION:
R5, public-patch-0
CLIENT MACHINE and OPERATING SYSTEM:
NA
DISPLAY TYPE:
NA
WINDOW MANAGER:
NA
COMPILER:
NA
AREA:
Xaw Text widget
SYNOPSIS:
There is no way to insert a character that is bound to a command
when editing with the Text widget.
DESCRIPTION:
It is sometimes necessary to insert into a text widget a character
that is bound to a command in the widget. This came up here in
the context of inserting a ^L into a USENET article being posted
with xrn.
There is no action for quoting a character, like ^Q in emacs, so
the only way to do this is either to (a) muck with the resources
of the program (either before starting it or with editres) so that
it has a binding for a command to insert-char on the particular
character desired, or (b) put the character into a file and then
load that file into the widget.
Either of these solutions is obviously sub-optimal.
REPEAT BY:
Try to put a ^L into a text widget.
SAMPLE FIX:
Unknown.
Jonathan Kamens jik@MIT.Edu
MIT Information Systems/Athena Moderator, news.answers
(Send news.answers-related correspondence
to news-answers-request@MIT.Edu.)