289
I Use This!
High Activity

News

Analyzed 1 day ago. based on code collected 2 days ago.
Posted over 4 years ago by howaboutsynergy
What steps will reproduce the problem? start 'mc' within an xfce4-terminal window run this command in 'mc': read -rp "press enter after resizing xfce4-terminal window" resize the window by making it larger in both X and Y directions press ... [More] Enter to the prompt in 2. press Enter if prompted by 'mc' to "Press any key to continue..." to return to 'mc' panels What is the expected output? the panels are resized to the new window size What do you see instead? the panels are the same size as before the command in 2. got executed, but the lower bar (with the F1-F10 keys info) is resized correctly in the X direction. (screenshots will be attached) $ LC_MESSAGES=C mc -V GNU Midnight Commander 4.8.23-75-g0ef1737aa Built with GLib 2.62.0 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; $ LC_MESSAGES=C mc -F Home directory: /home/user Profile root directory: /home/user [System data] Config directory: /etc/mc/ Data directory: /usr/share/mc/ File extension handlers: /usr/lib/mc/ext.d/ VFS plugins and scripts: /usr/lib/mc/ extfs.d: /usr/lib/mc/extfs.d/ fish: /usr/lib/mc/fish/ [User data] Config directory: /home/user/.config/mc/ Data directory: /home/user/.local/share/mc/ skins: /home/user/.local/share/mc/skins/ extfs.d: /home/user/.local/share/mc/extfs.d/ fish: /home/user/.local/share/mc/fish/ mcedit macros: /home/user/.local/share/mc/mc.macros mcedit external macros: /home/user/.local/share/mc/mcedit/macros.d/macro.* Cache directory: /home/user/.cache/mc/ $ mc --configure-options '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--enable-background' '--enable-network' '--enable-netcode' '--enable-charset' '--enable-nls' '--with-vfs' '--with-edit' '--with-screen=slang' '--without-x' '--without-samba' '--without-gpm-mouse' '--without-gnome' '--without-debug' '--without-included-gettext' '--disable-dependency-tracking' '--enable-tests' [Less]
Posted over 4 years ago by gszymaszek
Posted over 4 years ago by gszymaszek
APT, the Debian package manager, is able to use HTTPS repositories in addition to the ones that are listed in the ​debian-sources-list.syntax file.
Posted over 4 years ago by ossi
to clarify, that would be an option to *not* follow symlinks. and that would be very useful, indeed - for example, searching all of /etc for settings related to a particular feature always turns up lots of garbage from /etc/alternatives/, /etc/rc?.d/, etc.
Posted over 4 years ago by andrew_b
Owner, Branch state changed Branch: 3629_external_gettext Initial changeset:6f6c1ca36e13e205302ae2ae1f1db842a52b84f7
Posted over 4 years ago by andrew_b
Indeed, AC_CHECK_FUNCS([setlocale]) fixes the cyrillic in the TUI and libmc_la_LIBADD += $(PCRE_LIBS) fixes the linkage error. The patch on top on your one is following: configure.ac diff --git ... [More] a/configure.ac b/configure.ac index 79b63b39f..bd1f06b26 100644 a b dnl ############################################################################  272 272 dnl Internationalization  273 273 dnl ############################################################################  274 274     275 AC_CHECK_FUNCS([setlocale])    276   275 277 AM_GNU_GETTEXT([external], [need-ngettext])  276 278 AM_GNU_GETTEXT_VERSION([0.18.1])  277 279   lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index 69c47601f..455f9ddf7 100644 a b else  74 74     libmc_la_LIBADD += $(GLIB_LIBS)  75 75 endif  76 76   77   libmc_la_LIBADD += $(PCRE_LIBS) $(LIBICONV)    77 libmc_la_LIBADD += $(PCRE_LIBS)  It feels like mc does not really use any iconv_* symbols directly Yes. mc uses g_iconv_* from GLib only. [Less]
Posted over 4 years ago by slyfox
Replying to andrew_b: CCLD mc /usr/bin/ld: cannot find -liconv collect2: error: ld returned 1 exit status Can you share your config.log? It does not happen for me. It feels like mc does not really use any iconv_* symbols directly and ... [More] gettext.m4 should sort all out itself. I wonder if the -liconv flag comes from $(LIBICONV) at lib/Makefile.am:libmc_la_LIBADD += $(PCRE_LIBS) $(LIBICONV) and should just be removed. [Less]
Posted over 4 years ago by slyfox
Replying to andrew_b: But anyway, i18n is broken. There no cyrillic in the TUI: question marks are shown instead of cyrillic letters. It's not clear which ./configure options you are using thus I'm not sure how to reproduce. It's probably due ... [More] to src/main.c's conditional: #ifdef HAVE_SETLOCALE (void) setlocale (LC_ALL, ""); #endif and HAVE_SETLOCALE is not set. The fix would be to add a AC_CHECK_FUNCS([setlocale]) in configure.ac. Before mc implicitly relied on intl.m4 to detect the same. [Less]
Posted over 4 years ago by andrew_b
Posted over 4 years ago by andrew_b
#4016 (diff)