From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 6-JUL-1994 14:17:19.29 To: EVERHART CC: Subj: SUMMARY for "Delete" KeySYM Ignored by DECWindows (Calendar,DECterm,etc..) From: flower@SDVAX2.etdesg.trw.com (Richard E. Flower) X-Newsgroups: comp.os.vms,comp.windows.x.motif,comp.windows.x Subject: SUMMARY for "Delete" KeySYM Ignored by DECWindows (Calendar,DECterm,etc..) Date: 06 Jul 1994 09:56:55 GMT Organization: TRW Inc., Redondo Beach, Ca. 90278 Lines: 60 Distribution: world Message-ID: NNTP-Posting-Host: 129.193.75.95 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET Well, the problem that I was having with the DECwindows Keysym was solved by Fred Kleinsorge (kleinsorge@star.enet.dec.com) and was related to what Motif was doing with Virtual Keybindings.. (Fred was having problems with his NNTP server and wanted me to post this info!). For those of you that don't recall what the problem was, I was unable to use the DELETE key in the Calendar, DECterm's Dialog boxes (ie. the Options/Window pulldown), and just about any other DEC specific program that has string entry boxes within a window while running on a NON-VMS workstation (ie. a Mac running an X-Server, etc). Anyway, here is the fix : If you put the following into your DECW$XDEFAULTS.DAT file (you may not currently have one, so just create one) ----------------> CUT HERE >------------------------------------------------- *defaultVirtualBindings:\ osfCancel : F11 \n\ osfLeft : Left \n\ osfUp : Up \n\ osfRight : Right \n\ osfDown : Down \n\ osfEndLine :Alt Right \n\ osfBeginLine :Alt Left \n\ osfPageUp : Prior \n\ osfPageDown : Next \n\ osfDelete :Shift Delete \n\ osfUndo :Alt Delete \n\ osfBackSpace : Delete \n\ osfAddMode :Shift F8 \n\ osfHelp : Help \n\ osfMenu : F4 \n\ osfMenuBar : F10 \n\ osfSelect : Select \n\ osfActivate : KP_Enter \n\ osfCopy :Shift DRemove \n\ osfCut : DRemove \n\ osfPaste : Insert ----------------> CUT HERE >------------------------------------------------- in your DECW$USER_DEFAULTS directory and then use the following two commands to get the new keybindings merged into your existing X-database (in LOGIN.COM): $ xrdb :== $decw$utils:xrdb.exe $ xrdb -nocpp -merge decw$user_defaults:decw$xdefaults.dat If you get any kind of warning messages from XRDB (like I do since I've got all kinds of crap in there), then you can go and put the following two lines *BEFORE* the xrdb lines above and that will keep things quiet.. : $ define/user sys$output nla0: $ define/user sys$error nla0: -- Rick -- +----------------------------------------------+------------------------------+ |I Live in Los Angeles California, home of the | flower@donald.sp.TRW.COM | |Earthquakes, Fires, Riots, Gangs, Traffic, | or | |Smog, Pollution, etc.. I just LOVE LA!! | flower@sdvax2.sp.TRW.COM | +----------------------------------------------+------------------------------+