xedit

Alf Schlichting <[email protected]>
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Hello!

On OpenBSD 3.7 -current its impossible to enter the 'p' character in
Ctrl-x Ctrl-f (find-file) mode. It allways starts the print dialog box.

I fixed it bei setting 

<Key>P:	        print-file()\n\

to 
c<Key>P:	        print-file()\n\

in line 249 of /usr/X11R6/lib/X11/app-defaults/Xedit.
This will bind Ctrl-p to the print-dialog instead of p.

The following patch should take care of this in the sourcetree (untested!).


Alf

leopold@werkel:84$ uname -a
OpenBSD werkel.rechners.hier 3.7 GENERIC#50 i386
leopold@werkel:85$ 



--- xc/programs/xedit/Xedit-xprint.ad.orig	Thu Mar 31 15:38:52 2005
+++ xc/programs/xedit/Xedit-xprint.ad	Thu Mar 31 15:39:55 2005
@@ -246,7 +246,7 @@
 m<Key>I:	no-op(r)\n\
 c<Key>G:	cancel-find-file()\n\
 <Key>Return:	load-file()\n\
-<Key>P:	        print-file()\n\
+c<Key>P:	        print-file()\n\
 <Key>Tab:	file-completion(h)\n\
 <Key>Escape:	cancel-find-file()\n\
 <Enter>:	no-op()\n\
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.