It looks like le is a rare application that believes kbs from terminfo
which in TERM=screen is ^H but in tmux (and in screen) the actual key
defaults to ^?.
We could probably fix our terminfo entry (it looks like some Linuxes
have done this):
Index: share/termtypes//termtypes.master
===================================================================
RCS file: /cvs/src/share/termtypes/termtypes.master,v
retrieving revision 1.49
diff -u -p -r1.49 termtypes.master
--- share/termtypes//termtypes.master 7 Apr 2014 09:58:25 -0000 1.49
+++ share/termtypes//termtypes.master 25 Aug 2014 08:35:31 -0000
@@ -5734,7 +5734,7 @@ screen|VT 100/ANSI X3.64 virtual termina
cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
- il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z,
+ il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=\177, kcbt=\E[Z,
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
On Sat, Aug 23, 2014 at 02:31:20AM -0400, Ivan "Rambius" Ivanov wrote:
> Hello,
>
> On Fri, Aug 22, 2014 at 11:15 AM, Brian Callahan <[email protected]> wrote:
> >
> > On 08/22/14 10:25, Vadim Zhukov wrote:
> >>
> >> 2014-08-22 18:05 GMT+04:00 Brian Callahan <[email protected]>:
> >>>
> >>> On 08/22/14 10:00, Vadim Zhukov wrote:
> >>>> 1. For MAINTAINER line, please, get rid of quotes. "Ivan Ivanov
> >>>> <[email protected]>" is enough.
> >>>> (Trying to not joke about name. Trying hard, ever)
>
> I changed the MAINTAINER line.
>
> >>>>
> >>>> 2. "Backspace" key doesn't work for me correctly: in editing mode, it
> >>>> acts like "Delete" key, and in calculator it does nothing.
> >>>
> >>>
> >>> Hmm... backspace key works in both editing mode and calculator mode just
> >>> fine (amd64). I don't have a i386 to test (that's what you're using,
> >>> right
> >>> Vadim?)
> >>
> >> Yes. I've did more tests, it looks like the problem arises under tmux
> >> only (thus adding nicm@ to a conversation). Not sure what should be
> >> blamed then. Probably worths a note in DESCR or README, though. But I
> >> don't insist.
> >>
> >
> > Not sure either, but I was able to reproduce backspace not working in tmux
> > on amd64 as well.
> >
>
> I was able to reproduce the issue about backspace in tmux as well. I
> will contact le's developer about it.
>
>
> Regards
> Rambius
>
> --
> Tangra Mega Rock: http://www.radiotangra.com
> le> >
> COMMENT = text editor inspired by Norton Commander
> DISTNAME = le-1.15.0
> CATEGORIES = editors
>
> HOMEPAGE = http://lav.yar.ru/programs.html
> MAINTAINER = Ivan Ivanov <[email protected]>
>
> # GPLv3+
> PERMIT_PACKAGE_CDROM = Yes
>
> WANTLIB += c m ncursesw stdc++
>
> MASTER_SITES = http://lav.yar.ru/download/le/
>
> MODULES = converters/libiconv
>
> CONFIGURE_STYLE = gnu
>
> .include <bsd.port.mk>
> > SIZE (le-1.15.0.tar.gz) = 844748
> > 44> its features: various operations with stream and rectangular blocks,
> search and replace with full regular expressions, text formatting,
> undelete/uninsert, hex editing, tunable key sequences, tunable colors,
> tunable syntax highlighting, mouse support via ncurses. Can use mmap to
> edit very large files or even devices.
> > @bin bin/le
> @comment lib/charset.alias
> @man man/man1/le.1
> share/le/
> share/le/colors-black
> share/le/colors-blue
> share/le/colors-defbg
> share/le/colors-green
> share/le/colors-white
> share/le/help
> share/le/keymap-emacs
> share/le/le.hlp
> share/le/mainmenu
> share/le/mainmenu-ru
> share/le/syntax
> share/le/syntax.d/
> share/le/syntax.d/ada
> share/le/syntax.d/as
> share/le/syntax.d/awk
> share/le/syntax.d/c++-comment
> share/le/syntax.d/c-comment
> share/le/syntax.d/c-literal
> share/le/syntax.d/cpp
> share/le/syntax.d/eiffel
> share/le/syntax.d/fvwm2
> share/le/syntax.d/gema
> share/le/syntax.d/golang
> share/le/syntax.d/haskell
> share/le/syntax.d/html
> share/le/syntax.d/java
> share/le/syntax.d/javascript
> share/le/syntax.d/logrotate-conf
> share/le/syntax.d/lout
> share/le/syntax.d/make-file
> share/le/syntax.d/metafont
> share/le/syntax.d/named-conf
> share/le/syntax.d/ocaml
> share/le/syntax.d/pascal
> share/le/syntax.d/perl
> share/le/syntax.d/php
> share/le/syntax.d/python
> share/le/syntax.d/sather
> share/le/syntax.d/shell
> share/le/syntax.d/snmp-mib
> share/le/syntax.d/sql
> share/le/syntax.d/tcl
> share/le/syntax.d/tex
> share/le/syntax.d/texinfo
> share/le/syntax.d/txt2tags
> share/le/syntax.d/verilog
> > > > >