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: David Ramsey
Subject: Re: [Nano-devel] [PATCH] input: ignore any <Escape>s before a valid command
Date: Tue, 17 Jul 2018 14:43:47 -0500

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

That is odd.

$ cat /var/log/packages/ncurses-6.1_20180324-x86_64-3 | egrep
\(ncursesw\?\|tinfo\)\.so
lib64/libncurses.so.6.1
lib64/libncursesw.so.6.1
lib64/libtinfo.so.6.1
usr/lib64/libncurses.so
usr/lib64/libncursesw.so

Maybe the difference is due to some patching in the Ubuntu version?
Your versions of 6.1-1ubuntu1.18.04 don't indicate which incremental
version they're based on, and, if I recall correctly, Slackware's
philosophy is to patch original sources as little as possible, whereas
Ubuntu is more liberal when it comes to patching.

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

Here's mine:

$ cat ~/.config/xfce4/terminal/terminalrc
[Configuration]
CommandLoginShell=TRUE
FontName=Terminus 10
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=TRUE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=TRUE
MiscMouseAutohide=FALSE
MiscToolbarDefault=FALSE
MiscConfirmClose=TRUE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscBellUrgent=FALSE
MiscMouseWheelZoom=TRUE
MiscMiddleClickOpensUri=FALSE
MiscCopyOnSelect=FALSE
MiscDefaultWorkingDir=
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
ColorForeground=#eeeeeeeeecec
ColorBackground=#000000000000
ColorPalette=#000000;#cd0000;#00cd00;#cdcd00;#0000cd;#cd00cd;#00cdcd;#e5e5e5;#7f7f7f;#ff0000;#00ff00;#ffff00;#5c5cff;#ff00ff;#00ffff;#ffffff
ColorCursorUseDefault=FALSE
ColorCursorForeground=#0000ffff0000
ColorCursor=#0000ffff0000

In yours, the ShortcutsNoHelpkey, ShortcutsNoMenukey, and
ShortcutsNoMnemonics options would affect key interpretation, but I
think they just keep certain keys from being intercepted by the terminal
instead of nano, so they wouldn't be causing this problem.  If they
correspond in the GUI to Edit -> Preferences... -> Advanced -> the three
toggles under Shortcuts, this should be the case.

(For the record, I also think it's a problem that you have to manually
edit xfce-terminal's configuration file to get a blinking cursor, and
that there's no GUI equivalent for it, but that's definitely off-topic.)

> 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.

I'm not sure either, but I don't think it affects key interpretation.

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

Good to know, but I don't think it affects key interpretation either.



reply via email to

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