Loading ...
Sorry, an error occurred while loading the content.

1228Re: [jasspa] CUA support - update

Expand Messages
  • Jon Green
    Oct 16, 2004
    • 0 Attachment
      Bob Paddock wrote:
      > On Saturday 16 October 2004 07:36 am, Jon Green wrote:
      >
      > They one thing I would like to see is that in NE/ME that the key
      bindings that
      > are not already spoken for match those of FSF/GNU Emacs.
      >
      > IE:
      > Meta-% gets Quire-Replace
      > Ctrl-SPACE sets the mark
      >
      > Yes, it is easy enough to do myself in the config files but if their not
      > already used when not try to match FSF/GNU Emacs? Might get more converts
      > that way.

      Hi Bob,

      Thanks for the feedback.

      With respect to the bindings then we'll fix these
      up as suggested. Changes applied for these two
      follow.

      Regards
      Jon.


      Meta-% fixed as follows (make sure it is in the
      correct position or will not work):-

      cvs diff -c -w ebind.def

      Index: ebind.def
      ===================================================================
      RCS file: /usr/cvs/repme/me/src/ebind.def,v
      retrieving revision 2.9
      diff -c -w -r2.9 ebind.def
      *** ebind.def 13 Mar 2004 01:41:43 -0000 2.9
      --- ebind.def 16 Oct 2004 22:30:26 -0000
      ***************
      *** 139,144 ****
      --- 139,145 ----
      #if MEOPT_SPAWN
      DEFBIND (ME_PREFIX1|'!', 0, CK_PIPCMD)
      #endif
      + DEFBIND (ME_PREFIX1|'%', 0, CK_QREP)
      DEFBIND (ME_PREFIX1|'.', 0, CK_SETMRK)
      DEFBIND (ME_PREFIX1|'/', 0, CK_EXEFIL)
      DEFBIND (ME_PREFIX1|'<', 0, CK_GOBOF)

      *****CVS exited with code 1*****


      Ctrl-Space. The binding exists, however under Termcap
      you are not getting anything back becauset this is the
      NULL character. Here is a patch that gets you that binding,
      need to sort this out properly for the next release.

      cvs diff -c -w unixterm.c

      Index: unixterm.c
      ===================================================================
      RCS file: /usr/cvs/repme/me/src/unixterm.c,v
      retrieving revision 2.45
      diff -c -w -r2.45 unixterm.c
      *** unixterm.c 2 Oct 2004 10:39:39 -0000 2.45
      --- unixterm.c 16 Oct 2004 22:26:06 -0000
      ***************
      *** 3843,3850 ****
      --- 3843,3859 ----
      #endif /* _USEPOLL */
      /* There is some data present. Read it */
      if(read(meStdin,&cc,1) > 0)
      + {
      + /* C-Space is returned as "\x00" (or ^@) or nul. This is a
      + * horrible character to translate so we do it here
      before we
      + * enter the system. There is not an easy way to add this
      + * translation. */
      + if (cc == '\0')
      + addKeyToBuffer (ME_CONTROL|' ');
      + else
      addKeyToBuffer(cc) ;
      }
      + }

      if(alarmState & meALARM_WINSIZE)
      {

      *****CVS exited with code 1*****
    • Show all 19 messages in this topic