Bug#305642: I agree, it is very annoying!

0 views
Skip to first unread message

Aleksey Midenkov

unread,
Aug 31, 2006, 10:30:09 PM8/31/06
to
Package: mc
Version: 1:4.6.1-1
Severity: normal

I agree, it is very annoying for me too!

I didn't seem to notice this bug before. May be it appeared in recent
versions. Or is it may be misconfiguration?


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Michelle Konzack

unread,
Sep 7, 2006, 5:30:07 AM9/7/06
to
Weired,

since I am using MC all the day, I can not reproduce this bug
I use MC from Sarge:

GNU Midnight Commander 4.6.1-pre3
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs
With builtin Editor
Using included S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support

What do you do exactly to get this Bug?

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


Am 2006-09-01 09:57:01, schrieb Aleksey Midenkov:
> Package: mc
> Version: 1:4.6.1-1
> Severity: normal
>
> I agree, it is very annoying for me too!
>
> I didn't seem to notice this bug before. May be it appeared in recent
> versions. Or is it may be misconfiguration?

------------------------- END OF REPLIED MESSAGE -------------------------


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

Aleksey Midenkov

unread,
Sep 7, 2006, 8:40:13 AM9/7/06
to
I just enter in the directory in MC panel, for example /usr/src.

Then ^O, ^P. I get:

05:52:53 root@sip:usr# 05:53:01 root@sip:src# cd "`echo -e '\057usr\057src'`"

Note the old bash prompt. It have not disappeared. The new bash prompt have
appeared right after it. My bash prompt format is:

export PS1='\T \u@\h:\W\$ '

05:56:53 root@sip:src# mc --version
GNU Midnight Commander 4.6.1


Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs
With builtin Editor

Using system-installed S-Lang library with terminfo database


With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support

Package: libglib2.0-0
Version: 2.10.2-1

Package: libc6
Version: 2.3.6.ds1-4

Package: libgpmg1
Version: 1.19.6-22

Package: libslang2
Version: 2.0.6-2

05:56:58 root@sip:src# ldd `which mc`
linux-gate.so.1 => (0xffffe000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7f8b000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f87000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7eff000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7ef9000)
libslang.so.2 => /lib/libslang.so.2 (0xb7e37000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7e21000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7ce9000)
/lib/ld-linux.so.2 (0xb7fa2000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7cc3000)

Note that linux-gate.so.1 doesn't map to any file. Is it normal?


--

Michelle Konzack

unread,
Sep 8, 2006, 1:10:08 PM9/8/06
to
Am 2006-09-07 18:07:16, schrieb Aleksey Midenkov:
> I just enter in the directory in MC panel, for example /usr/src.
>
> Then ^O, ^P. I get:
>
> 05:52:53 root@sip:usr# 05:53:01 root@sip:src# cd "`echo -e '/usr/src'`"

Weired, I can not reproduce this.

> 05:56:53 root@sip:src# mc --version
> GNU Midnight Commander 4.6.1
> Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs
> With builtin Editor
> Using system-installed S-Lang library with terminfo database
> With subshell support as default
> With support for background operations
> With mouse support on xterm and Linux console
> With support for X11 events
> With internationalization support
> With multiple codepages support

> 05:56:58 root@sip:src# ldd `which mc`


> linux-gate.so.1 => (0xffffe000)
> libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7f8b000)
> libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f87000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7eff000)
> libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7ef9000)
> libslang.so.2 => /lib/libslang.so.2 (0xb7e37000)
> libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7e21000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb7ce9000)
> /lib/ld-linux.so.2 (0xb7fa2000)
> libm.so.6 => /lib/tls/libm.so.6 (0xb7cc3000)
>
> Note that linux-gate.so.1 doesn't map to any file. Is it normal?

I get:

libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x4001f000)
libdl.so.2 => /lib/libdl.so.2 (0x40023000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40026000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x400a7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400ad000)
libc.so.6 => /lib/libc.so.6 (0x400c2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libncurses.so.5 => /lib/libncurses.so.5 (0x401f5000)

As you can see, my version is compiled with ncurses support.
Maybe, it is a history of libslang?

I have the MC version from Sarge and Sid, and all two are compiled
with ncurses. Now I do not understand anything...


Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

--

Thomas Dickey

unread,
Sep 9, 2006, 10:00:18 AM9/9/06
to
On Fri, Sep 08, 2006 at 07:10:08PM +0200, Michelle Konzack wrote:
> As you can see, my version is compiled with ncurses support.
> Maybe, it is a history of libslang?

perhaps not. For quite a while gpm was built with a bogus linkage to
ncurses to appease some applications which abused the ncurses interface.
More recently, both gpm (package) and ncurses (upstream) have changes
to eliminate this linkage.

MC "could" be built with ncurses, but its maintainers have been not
much interested in maintaining that configuration(*). When built with
slang, mc has additional code (built-in - not based on slang) using
select() to allow using the mouse to drag/scroll.

Usually MC is built with a bundled (and separately maintained) copy
of slang, so it is not readily apparent that it is using slang.
But you can easily check this by doing a "strings" on the binary.
For instance, on my (testing), I see this:

SLsmg_printf
SLsmg_Display_Eight_Bit
SLutf8_enable
SLtt_beep
SLang_getkey
SLsmg_write_string
SLsmg_write_char

I don't recall seeing any comments (or package diffs) for MC that make
it use MC.

(*) equally, since MC for quite a while used gcc-specific code which would
not compile with an ANSI C compiler, I was uninterested in wasting much
time with it.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Reply all
Reply to author
Forward
0 new messages