Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2010 16:12:10 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libedit term.c term.h
Message-ID:  <201009051612.o85GCJjC000650@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-09-05 16:12:10 UTC

  FreeBSD src repository

  Modified files:
    lib/libedit          term.c term.h 
  Log:
  SVN rev 212235 on 2010-09-05 16:12:10Z by jilles
  
  libedit: Try to map <Delete> to ed-delete-next-char.
  
  This adds a new "arrow" key "delete" corresponding to the kD termcap value.
  It only works if that is a sequence such as "\033[3~"; if it is "\177", the
  em-delete-prev-char or ed-delete-prev-char from the single-character
  mappings remains. It turns out that most terminals (xterm and alikes,
  syscons in xterm mode) produce "\033[3~" by default so <Delete> has the
  expected effect.
  
  This also means that things need to be considerably misconfigured for
  <Backspace> to perform a <Delete> action.
  
  Revision  Changes    Path
  1.22      +8 -1      src/lib/libedit/term.c
  1.9       +2 -1      src/lib/libedit/term.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009051612.o85GCJjC000650>