nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] input: ignore any <Escape>s before a valid comm


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] input: ignore any <Escape>s before a valid command
Date: Sat, 14 Jul 2018 11:05:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 13-07-18 om 21:13 schreef David Ramsey:
> $ locate libtinfo | grep ^/lib
> /lib64/libtinfo.so.6
> /lib64/libtinfo.so.6.1

Hmm... even though the so's here are named 5.9, they come from
ncurses-6.1:

$ apt-cache show libtinfo5 | head -3
Package: libtinfo5
Architecture: amd64
Version: 6.1-1ubuntu1.18.04

$ apt-cache show libncursesw5 | head -3
Package: libncursesw5
Architecture: amd64
Version: 6.1-1ubuntu1.18.04

> As it is, everything I newly compile is linked against ncurses
> 6, including nano.

If it's not in ncurses, maybe our terminals use different settings?

$ cat ~/.config/xfce4/terminal/terminalrc
[Configuration]
FontName=DejaVu Sans Mono 11
MiscAlwaysShowTabs=FALSE
MiscBell=TRUE
MiscBellUrgent=FALSE
MiscBordersDefault=FALSE
MiscConfirmClose=TRUE
MiscCopyOnSelect=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscCycleTabs=TRUE
MiscDefaultGeometry=90x33
MiscDefaultWorkingDir=
MiscHighlightUrls=TRUE
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMiddleClickOpensUri=FALSE
MiscMouseAutohide=FALSE
MiscMouseWheelZoom=FALSE
MiscNewTabAdjacent=FALSE
MiscRewrapOnResize=TRUE
MiscShowRelaunchDialog=TRUE
MiscSlimTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=FALSE
MiscTabPosition=GTK_POS_TOP
MiscToolbarDefault=FALSE
MiscUseShiftArrowsToScroll=FALSE
ScrollingBar=TERMINAL_SCROLLBAR_NONE
ScrollingLines=9000
ScrollingOnOutput=FALSE
ShortcutsNoHelpkey=TRUE
ShortcutsNoMenukey=TRUE
ShortcutsNoMnemonics=TRUE
TabActivityColor=#0f4999
ColorBackground=#000000000000
ColorForeground=#b7b7b7
ColorPalette=#000000;#aa0000;#44aa44;#aa5500;#0039aa;#aa22aa;#1a92aa;#aaaaaa;#777777;#ff8787;#4ce64c;#ded82c;#295fcc;#cc58cc;#4ccce6;#ffffff
ColorSelection=#163b59
ColorSelectionUseDefault=FALSE
ColorSelectionBackground=#72729f9fcfcf
ColorBold=#ffffff
ColorCursor=#ededd4d40000
ColorCursorUseDefault=FALSE
ColorCursorForeground=#000000000000

> Comparing our xterm-256color entries, The only difference
> besides the order of some of the sequences is the value of kbs.]

The ordering seems to be the same, it's just that mine has two
extra things defined: meml=\El, memu=\Em" locking and unlocking
of memory above the cursor -- whatever that means.

> $ ldd `which nano`
>     linux-vdso.so.1 (0x00007ffc06da7000)
>     libz.so.1 => /lib64/libz.so.1 (0x00007f072e6cc000)
>     libmagic.so.1 => /usr/lib64/libmagic.so.1 (0x00007f072e4ad000)
>     libncursesw.so.6 => /lib64/libncursesw.so.6 (0x00007f072e271000)
>     libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f072e045000)
>     libc.so.6 => /lib64/libc.so.6 (0x00007f072dc7c000)
>     libdl.so.2 => /lib64/libdl.so.2 (0x00007f072da78000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f072e8e3000)

$ ldd `which nano`
        linux-vdso.so.1 (0x00007fff7e1c4000)
        libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 
(0x00007fdb7e4a5000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x00007fdb7e27b000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdb7de8a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdb7dc86000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdb7e90d000)

(I build with --disable-libmagic, to get a snappier nano.)

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]