Summary: | konsole will not run midnight Commander | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Andrew Lyall <andrew.lyall> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | adaptee |
Priority: | NOR | ||
Version: | 2.6.4 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Andrew Lyall
2011-12-04 12:57:22 UTC
Well, I guess your $TERM environment variable is not correctly setup. The easy way to reproduce that error message is "export TERM=dumb; mc " By default konsole set $TERM to "xterm". Could you check your $TERM ? Thanks very much for that. I am something of a novice as you may have guessed. I am not sure what "setting xterm" involves. I think, now you mention it, that I must have deleted the text in a dialogue box. To get rid of the error do i then type"TERM=xterm; mc" ? or TERM=dumb;mc" Thanks again, Andrew On 12/04/2011 01:09 PM, Jekyll Wu wrote: > https://bugs.kde.org/show_bug.cgi?id=288192 > > > > > > --- Comment #1 from Jekyll Wu<adaptee gmail com> 2011-12-04 13:09:41 --- > Well, I guess your $TERM environment variable is not correctly setup. The easy > way to reproduce that error message is "export TERM=dumb; mc " > > By default konsole set $TERM to "xterm". Could you check your $TERM ? > Getting somewhere: I ran konsole, then at the bash promt typed TERM=xterm [enter] then mc and mc ran ok. All I need now is to know how to save those commands in Setting, but it is not very helpful. There is a line that says "bin/bash". Do I add t to there somehow? any help appreciated. On 04/12/11 13:09, Jekyll Wu wrote: > https://bugs.kde.org/show_bug.cgi?id=288192 > > > > > > --- Comment #1 from Jekyll Wu<adaptee gmail com> 2011-12-04 13:09:41 --- > Well, I guess your $TERM environment variable is not correctly setup. The easy > way to reproduce that error message is "export TERM=dumb; mc " > > By default konsole set $TERM to "xterm". Could you check your $TERM ? > Please run "echo $TERM" in the bash, and tell me the result. By default, that value should be "xterm" and mc should start up correctly. If not, open the "Config Current Profile" dialog, then open the "Environment" editor under the "General" tab, put one line "TERM=xterm" into it. Thanks. I had just got to that, i.e. start konsole, go to settings at the top then to profile, General then environment and type in TERM=xterm. Is there any way I can get mc to start automatically? On 04/12/11 14:08, Jekyll Wu wrote: > https://bugs.kde.org/show_bug.cgi?id=288192 > > > Jekyll Wu<adaptee@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |adaptee@gmail.com > > > > > --- Comment #4 from Jekyll Wu<adaptee gmail com> 2011-12-04 14:08:45 --- > Please run "echo $TERM" in the bash, and tell me the result. > > By default, that value should be "xterm" and mc should start up correctly. If > not, open the "Config Current Profile" dialog, then open the "Environment" > editor under the "General" tab, put one line "TERM=xterm" into it. > (In reply to comment #5) You can create a new profile and change its command to 'mc'. Then that profile should be marked as favorite and appear under "File -> New Tab". Now you can create new tab running 'mc' directly. Just play around with Konsole for some time :) Thanks yet again. Jekyll, I tried your suggestion, but no luck. I have a Shell profile set to my home directory with the command"TER=xterm" set as the default and which goes to the directory and puts up the prompt. I also have a new profile which is the same except the command is "mc", but when i select it, it open a new tab at a new prompt but doesn't type or implement "mc". On 04/12/11 14:24, Jekyll Wu wrote: > https://bugs.kde.org/show_bug.cgi?id=288192 > > > Jekyll Wu<adaptee@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |LATER > > > > > --- Comment #6 from Jekyll Wu<adaptee gmail com> 2011-12-04 14:24:15 --- > (In reply to comment #5) > > You can create a new profile and change its command to 'mc'. Then that profile > should be marked as favorite and appear under "File -> New Tab". Now you can > create new tab running 'mc' directly. > > Just play around with Konsole for some time :) > (In reply to comment #8) Did you open new tab using the profile dedicated for the 'mc' command? That new tab should run 'mc' direcly. Or, maybe your $PATH has some problem. Try to specify the absolute path of 'mc' comannd(should be /usr/bin/mc or something silimar) in the profile. OK. will try it. On 05/12/11 15:49, Jekyll Wu wrote: > https://bugs.kde.org/show_bug.cgi?id=288192 > > > > > > --- Comment #9 from Jekyll Wu<adaptee gmail com> 2011-12-05 15:49:47 --- > (In reply to comment #8) > > Did you open new tab using the profile dedicated for the 'mc' command? That new > tab should run 'mc' direcly. > > Or, maybe your $PATH has some problem. Try to specify the absolute path of 'mc' > comannd(should be /usr/bin/mc or something silimar) in the profile. > |