Skip to main content
Aug 3, 2017 3:19 AM UTC

MC: Problem starting Midnight Commander

I’ve installed mc on USS from your package, but get this error when I try to run it:

Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

Do you have an idea about what is going wrong?

    20 replies

    Tatiana Balaburkina
    Rocketeer
    Aug 3, 2017 4:26 AM UTC

    I’ve installed mc on USS from your package, but get this error when I try to run it:

    Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
    Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

    Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
    read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

    Do you have an idea about what is going wrong?

    Hi,

    Could you try to add this line into a config file (e.g., ~/.profile, ~/.bashrc):

    export TERMINFO=/path_to_your_directory/share/mc

    Aug 3, 2017 4:46 AM UTC

    Hi,

    Could you try to add this line into a config file (e.g., ~/.profile, ~/.bashrc):

    export TERMINFO=/path_to_your_directory/share/mc

    Hi,

    Thanks for a fast reply.

    Unfortunately it didn’t change anything.

    Tatiana Balaburkina
    Rocketeer
    Aug 3, 2017 4:50 AM UTC

    I’ve installed mc on USS from your package, but get this error when I try to run it:

    Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
    Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

    Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
    read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

    Do you have an idea about what is going wrong?

    Which shell do you use? sh or bash (version)?
    Also try to add in config:

    export TERM=xterm

    Aug 4, 2017 7:38 AM UTC

    Which shell do you use? sh or bash (version)?
    Also try to add in config:

    export TERM=xterm

    I’m using bash 4.3. TERM is set to xterm.

    Tatiana Balaburkina
    Rocketeer
    Aug 4, 2017 8:01 AM UTC

    I’ve installed mc on USS from your package, but get this error when I try to run it:

    Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
    Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

    Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
    read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

    Do you have an idea about what is going wrong?

    Where did you set TERM and TERMINFO? Could you share content of this configuration file?

    Tatiana Balaburkina
    Rocketeer
    Aug 4, 2017 8:03 AM UTC

    I’ve installed mc on USS from your package, but get this error when I try to run it:

    Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
    Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

    Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
    read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

    Do you have an idea about what is going wrong?

    *** Rocket internal tracking reference: USSP-839 ***

    Aug 4, 2017 8:05 AM UTC

    *** Rocket internal tracking reference: USSP-839 ***

    Hi Tatyana,

    This is the content of my .bashrc file.

    export PS1=’\\s-\\v’:‘ÅPWD’:’>'
    Æ
    export CICS_HOME="/service/c520/u"
    export JAVA_HOME="/usr/lpp/java/J7.1_64/bin"
    Æ
    export GIT_SHELL=ÅHOME"/bin/bash"
    export GIT_EXEC_PATH=ÅHOME"/libexec/git-core"
    export GIT_TEMPLATE_DIR=ÅHOME"/share/git-core/templates"
    Æ Æ common the environment variables
    export PATH="/bin:“ÅHOME”/bin"
    export PATH=ÅPATH":/usr/lpp/java/J7.1_64/bin:.“
    export MANPATH=”/usr/man/%L:“ÅHOME”/man/%L"
    export LIBPATH="/lib:/usr/lib:“ÅHOME”/lib:.“
    export PERL5LIB=ÅHOME”/lib/perl5"
    Æ Æ ASCII support the environment variables
    export _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)“
    export _TAG_REDIR_ERR=txt
    export _TAG_REDIR_IN=txt
    export _TAG_REDIR_OUT=txt
    Æ
    export BASH_PREFIX=ÅHOME”/bin"
    export PERL_PREFIX=ÅHOME”/bin"
    Æ
    INSTALL=ÅHOME"/python"
    export RELEASE_NAME=python-2017-04-12
    Æ Æ export RELEASE_TYPE=py27 # or py36 or both, to match the download
    export RELEASE_TYPE=py36
    export RELEASE_DIR=ÅINSTALL/ÅRELEASE_NAME-ÅRELEASE_TYPE
    Æ Æ export PYTHON_ENV=python27 # pr python36 or both, to match your desired environment
    export PYTHON_ENV=python36
    export PKGS_BASE=ÅRELEASE_DIR/pkgs
    Æ
    export PYTHON_HOME=ÅRELEASE_DIR/ÅPYTHON_ENV
    export PATH=ÅPATH:ÅPYTHON_HOME/bin
    export LIBPATH=ÅLIBPATH:ÅPYTHON_HOME/lib
    export FFI_LIB=ÅPYTHON_HOME/lib/ffi
    export TERMINFO=/u/g22392/share/mc
    Æ export TERMINFO=ÅPYTHON_HOME/share/terminfo
    export PKG_CONFIG_PATH=ÅPYTHON_HOME/lib/pkgconfig:ÅPYTHON_HOME/share/pkgconfig

    Aug 4, 2017 8:22 AM UTC

    Hi Tatyana,

    This is the content of my .bashrc file.

    export PS1=’\\s-\\v’:‘ÅPWD’:’>'
    Æ
    export CICS_HOME="/service/c520/u"
    export JAVA_HOME="/usr/lpp/java/J7.1_64/bin"
    Æ
    export GIT_SHELL=ÅHOME"/bin/bash"
    export GIT_EXEC_PATH=ÅHOME"/libexec/git-core"
    export GIT_TEMPLATE_DIR=ÅHOME"/share/git-core/templates"
    Æ Æ common the environment variables
    export PATH="/bin:“ÅHOME”/bin"
    export PATH=ÅPATH":/usr/lpp/java/J7.1_64/bin:.“
    export MANPATH=”/usr/man/%L:“ÅHOME”/man/%L"
    export LIBPATH="/lib:/usr/lib:“ÅHOME”/lib:.“
    export PERL5LIB=ÅHOME”/lib/perl5"
    Æ Æ ASCII support the environment variables
    export _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)“
    export _TAG_REDIR_ERR=txt
    export _TAG_REDIR_IN=txt
    export _TAG_REDIR_OUT=txt
    Æ
    export BASH_PREFIX=ÅHOME”/bin"
    export PERL_PREFIX=ÅHOME”/bin"
    Æ
    INSTALL=ÅHOME"/python"
    export RELEASE_NAME=python-2017-04-12
    Æ Æ export RELEASE_TYPE=py27 # or py36 or both, to match the download
    export RELEASE_TYPE=py36
    export RELEASE_DIR=ÅINSTALL/ÅRELEASE_NAME-ÅRELEASE_TYPE
    Æ Æ export PYTHON_ENV=python27 # pr python36 or both, to match your desired environment
    export PYTHON_ENV=python36
    export PKGS_BASE=ÅRELEASE_DIR/pkgs
    Æ
    export PYTHON_HOME=ÅRELEASE_DIR/ÅPYTHON_ENV
    export PATH=ÅPATH:ÅPYTHON_HOME/bin
    export LIBPATH=ÅLIBPATH:ÅPYTHON_HOME/lib
    export FFI_LIB=ÅPYTHON_HOME/lib/ffi
    export TERMINFO=/u/g22392/share/mc
    Æ export TERMINFO=ÅPYTHON_HOME/share/terminfo
    export PKG_CONFIG_PATH=ÅPYTHON_HOME/lib/pkgconfig:ÅPYTHON_HOME/share/pkgconfig

    Something bad happened in the cut’n’paste. Can you please upload the file as an attachment?

    Aug 4, 2017 8:40 AM UTC

    I’ve installed mc on USS from your package, but get this error when I try to run it:

    Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
    Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found

    Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
    read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)

    Do you have an idea about what is going wrong?

    I’m not allowed to upload that kind of file

    If you think of the Æ (#) and Å ($) then it’s due to the Danish codepage.

    Aug 4, 2017 9:02 AM UTC

    I’m not allowed to upload that kind of file

    If you think of the Æ (#) and Å ($) then it’s due to the Danish codepage.

    You can rename it to end in “.txt”.