Article 63237 of comp.os.vms:
Newsgroups: comp.os.vms
Path: jac.zko.dec.com!alfabx.lkg.dec.com!pa.dec.com!decuac.dec.com!haven.umd.edu!ames!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!cars3.uchicago.edu!RARBACK
From: rarback@cars3.uchicago.edu (Harvey Rarback (312)702-9931)
Subject: RE: Delete key works "backwards" in DECwindows Mail
X-Nntp-Posting-Host: cars3.uchicago.edu
Message-ID: <DAAB0I.2Fp@midway.uchicago.edu>
Sender: news@midway.uchicago.edu (News Administrator)
Reply-To: rarback@cars3.uchicago.edu
Organization: CARS, U. of Chicago, Chicago IL 60637
References: <D9xJFz.Guv@midway.uchicago.edu> <DA7xu2.2vr@midway.uchicago.edu>,<16JUN95.10482579@swdev.si.com>
Date: Fri, 16 Jun 1995 21:14:41 GMT
Lines: 39

      Folks,

I *finally* got my X-terminal to give the "right" behavior so that the delete
key deletes to the left in DECwindows Mail.  The solution was to add the
following virtual key bindings to DECW$SMB_KEYBOARD.DAT:

*defaultVirtualBindings:\
 osfCancel      :               <Key>F11        \n\
 osfLeft        :               <Key>Left       \n\
 osfUp          :               <Key>Up         \n\
 osfRight       :               <Key>Right      \n\
 osfDown        :               <Key>Down       \n\
 osfEndLine     :Alt            <Key>Right      \n\
 osfBeginLine   :Alt            <Key>Left       \n\
 osfPageUp      :               <Key>Prior      \n\
 osfPageDown    :               <Key>Next       \n\
 osfDelete      :Shift          <Key>Delete     \n\
 osfUndo        :Alt            <Key>Delete     \n\
 osfBackSpace   :               <Key>Delete     \n\
 osfAddMode     :Shift          <Key>F8         \n\
 osfHelp        :               <Key>Help       \n\
 osfMenu        :               <Key>F4         \n\
 osfMenuBar     :               <Key>F10        \n\
 osfSelect      :               <Key>Select     \n\
 osfActivate    :               <Key>KP_Enter   \n\
 osfCopy        :Shift          <Key>DRemove    \n\
 osfCut         :               <Key>DRemove    \n\
 osfPaste       :               <Key>Insert

My thanks to Brian Tillman (tillman@swdev.si.com) for this answer.  Also thanks
to Warner Losh (imp@village.org) who told me to "hack the virtual bindings".

                                  --Harvey
   ----
Harvey Rarback                phone:       (312)702-9931
CARS                          fax:         (312)702-5454
University of Chicago         Internet:    rarback@cars3.uchicago.edu
5640 South Ellis Avenue       HEPnet/SPAN: 47583::RARBACK
Chicago, IL 60637             "My husband is a very friendly guy."


