LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   midnight commander in putty 64-bit xp and debian (https://www.linuxquestions.org/questions/linux-software-2/midnight-commander-in-putty-64-bit-xp-and-debian-622140/)

fakie_flip 02-18-2008 11:21 PM

midnight commander in putty 64-bit xp and debian
 
Midnight commander won't load. Each time I tried, I had to kill the putty session and begin a new one because the first session became unresponsive. Now I've noticed that when I right click, I get some weird output.

Code:

chris@debian:~$ su -
Password:
debian:~# apt-get --purge remove mc
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  mc*
0 upgraded, 0 newly installed, 1 to remove and 33 not upgraded.
Need to get 0B of archives.
After unpacking 5526kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 95307 files and directories currently installed.)
Removing mc ...
Purging configuration files for mc ...
debian:~# apt-get clean
debian:~# apt-get install mc
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  arj
The following NEW packages will be installed:
  mc
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 2137kB of archives.
After unpacking 5526kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org etch/main mc 1:4.6.1-6 [2137kB]
Fetched 2137kB in 8s (262kB/s)
Selecting previously deselected package mc.
(Reading database ... 95123 files and directories currently installed.)
Unpacking mc (from .../mc_1%3a4.6.1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

debian:~# logout
chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
^[
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

Do you want to continue [Y/n]?
y

Do you want to continue [Y/n]?
n

^[
^[
chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
^[
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

Do you want to continue [Y/n]?
y

Do you want to continue [Y/n]?
n

^[
^[

chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
^[
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

Do you want to continue [Y/n]?
y

Do you want to continue [Y/n]?
n

^[
^[

chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
^[
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

Do you want to continue [Y/n]?
y

Do you want to continue [Y/n]?
n

^[
^[

chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
^[
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...

Do you want to continue [Y/n]?
y

Do you want to continue [Y/n]?
n

^[
^[

chris@debian:~$ mc
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...
Setting up mc (4.6.1-6) ...
1-6_i386.deb) ...

I've googled this with no help. I've tried suggestions I found from other LQ threads, but it was a different situation. The problem doesn't seem to be happening because it is an ncurses program. Mutt uses ncurses, and it works just fine. I was going to try someone's suggestion for ncurses problems, but I found out I already had "use background colour to erase screen" enabled.

jlinkels 02-19-2008 09:52 AM

I understand the "seting up mc ...." message after install. I do NOT understand that same message when user Chris tries to start up mc.

This is what I got on my AMD64:

Code:

Unpacking mc (from .../mc_1%3a4.6.1-8_amd64.deb) ...
Setting up mc (1:4.6.1-8) ...
dagobert-pc:/home/jlinkels# exit
jlinkels@dagobert-pc:~$ mc

jlinkels@dagobert-pc:~$

Note that I installed 4.6.1-8 from Debian Testing. I did this on a remote ssh console session, and mc worked fine.

How exactly did you get this output:

Code:

chris@debian:~$ mc
1-6_i386.deb) ...

Why is the "1-6_i386.deb) ..." on the second line? You are not trying to run the .deb, are you?

jlinkels

fakie_flip 02-20-2008 03:59 AM

Quote:

Originally Posted by jlinkels (Post 3062545)
I understand the "seting up mc ...." message after install. I do NOT understand that same message when user Chris tries to start up mc.

This is what I got on my AMD64:

Code:

Unpacking mc (from .../mc_1%3a4.6.1-8_amd64.deb) ...
Setting up mc (1:4.6.1-8) ...
dagobert-pc:/home/jlinkels# exit
jlinkels@dagobert-pc:~$ mc

jlinkels@dagobert-pc:~$


Mine Debian 4.0 install is on encrypted lvm2, but this computer can only support 32 bit software which is what I need to get the wireless usb network adapter working.

Quote:

Note that I installed 4.6.1-8 from Debian Testing. I did this on a remote ssh console session, and mc worked fine.

How exactly did you get this output:
Maybe I should upgrade from Debian Stable to Testing to get a slightly newer Midnight Commander. In order to get the output, I hit enter on my keybaord. I also hit y and n later on for yes and no, and then I forgot what other keys I hit after that. I was probably trying control c to kill the process and get back to a shell.

Code:

chris@debian:~$ mc
1-6_i386.deb) ...

Quote:

Why is the "1-6_i386.deb) ..." on the second line? You are not trying to run the .deb, are you?
No, I am not. All I did was hit enter to run mc. Nothng happened, and I wasn't took back to a shell either, so I hit enter to see what would happen and that caused the output, weird, strange, I don't know what's going on. The only thing I can think of is to upgrade to Debian Testing.
Quote:

jlinkels


All times are GMT -5. The time now is 12:05 PM.