In article <mailman.2128.1706832900.1791.tin-bugs@tin.org> you wrote:
Version: tin 2.6.3 release 20231224 ("Banff") Jan 22 2024 00:00:00 Platform: OS-Name = "linux-gnu" Compiler: CC = "gcc" CFLAGS = "-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" CPP = "gcc -E" CPPFLAGS = "-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED" Linker and Libraries: LD = "gcc" LDFLAGS = "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes" LIBS = "-lssl -lcrypto -lncursesw -ltinfo -lpcre2-8 -lgsasl -licuuc" Characteristics: +MIME_BREAK_LONG_LINES -MIME_STRICT_CHARSET +CHARSET_CONVERSION +MULTIBYTE_ABLE -NO_LOCALE +USE_LONG_ARTICLE_NUMBERS BOX1 : Linux 6.6.12-200.fc39.x86_64 (x86_64)
Please enter _detailed_ bug report, gripe or comment: I'm experiencing a weird issue on Fedora 39 Workstation (GNOME). It's as if the arrow keys and 'q' key send some extra codes not recognized by tin or its keyboard input library.
The issues I can reproduce are: 1. "Bad command. Type 'h' for help." is displayed almost all the time. 2. Using the left or right arrow key to enter/leave groups brings up "Do you want to abort this operation? (y/N)" message, but only if you pressed some other key earlier. Entering/leaving the same group works. 3. Trying to quit using 'q' key doesn't work. Repeated pressing of 'q' brings up "Save configuration before continuing? (Y/n)" message.
Originally reported downstream to me: https://bugzilla.redhat.com/show_bug.cgi?id=2251437
Any clues how to debug this?
Does it also show up in a previous Fedora release? (with packaged tin version from Fedora 38 and/or tin 2.6.3 build from Fedora 39 src-rpm). If not - what changed (besides the tin version)? Does it also show up with a previous tin release? If not, are the same (curses/termcap/... releated) configure options used? Does it show up in all terminals used? i.e. xterm vs. xfce4-terminal vs. ... If not, does the output from stty -a differ in the terminals?
From Fedoras tin.spec: | --enable-ncurses \ | --with-screen=ncursesw \ | --enable-locale \
From tins doc/INSTALL: | --enable-curses (default: off) [...] | This option is deprecated, use --with-screen=ncurses (see above) instead.
-> drop "--enable-ncurses". (same for --with-pcre2-config=/usr/bin/pcre2-config --without-pcre; if you give --with-pcre2-config you don't need --without-pcre. BTW. --enable-color and --enable-locale are the defaults and can be omitted).