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
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?
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.
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”.
You can rename it to end in “.txt”.
Never mind - here it is.
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
Never mind - here it is.
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
But it runs fine on USS. It’s only MC that doesn’t work.
The codepage is changed when I save it in USS via Topaz Workbench.
Never mind - here it is.
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
Not sure I explained my self that well.
I still can’t use Midnight Commander, still get the same error.
My .bashrc works for other stuff.
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?
Regarding the warnings you should set
export MC_DATADIR=/path_to_your_directory/share/mc
(path_to_your_directory means the directory where your mc is installed).
Regarding the permissions: could you please show a listing of your /dev/ directory?
Regarding the warnings you should set
export MC_DATADIR=/path_to_your_directory/share/mc
(path_to_your_directory means the directory where your mc is installed).
Regarding the permissions: could you please show a listing of your /dev/ directory?
This is the content of /dev:
bash-4.3:/dev:>dir
total 32
drwxrwxrwx 2 DS2TDIST SYS1 8192 Aug 3 09:24 .
drwxr-xr-x 11 G36320 D8781 8192 Oct 10 2013 …
c-w–w--w- 1 DS2TDIST SYS1 9, 0 Aug 2 21:10 console
crw-rw-rw- 1 DS2TDIST SYS1 5, 0 Aug 2 21:14 fd0
crw-rw-rw- 1 DS2TDIST SYS1 5, 1 Aug 2 21:14 fd1
crw-rw-rw- 1 DS2TDIST SYS1 5, 2 Aug 3 09:24 fd2
crw-rw-rw- 1 DS2TDIST SYS1 5, 4 Aug 2 21:13 fd4
crw-rw-rw- 1 DS2TDIST SYS1 5, 5 Aug 2 21:13 fd5
srw-rw-rw- 1 DS2TDIST SYS1 0 Aug 2 21:13 log
crwxrwxrwx 1 DS2TDIST SYS1 4, 0 Aug 2 21:10 null
c-w------- 1 DS2TDIST SYS1 9, 1 Aug 2 21:10 operlog
crw-rw-rw- 1 DS2TDIST SYS1 1, 0 Aug 8 14:42 ptyp0000
crw-rw-rw- 1 DS2TDIST SYS1 1, 1 Aug 8 14:42 ptyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 random
crw-rw-rw- 1 DS2TDIST SYS1 3, 0 Aug 2 21:10 tty
crw–w---- 1 G22392 DFSGRP 2, 0 Aug 8 14:42 ttyp0000
crw-rw-rw- 1 DS2TDIST SYS1 2, 1 Aug 8 13:23 ttyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 urandom
crw-rw-rw- 1 DS2TDIST SYS1 4, 1 Aug 2 21:10 zero
bash-4.3:/dev:>
After setting the MC_DATADIR I get these error messages:
Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)
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?
was targeted against:
Warning: file /usr/local/mc/share/mc/extfs/extfs.ini not found
Warning: file /usr/local/mc/share/mc/extfs/sfs.ini not found
This is the content of /dev:
bash-4.3:/dev:>dir
total 32
drwxrwxrwx 2 DS2TDIST SYS1 8192 Aug 3 09:24 .
drwxr-xr-x 11 G36320 D8781 8192 Oct 10 2013 …
c-w–w--w- 1 DS2TDIST SYS1 9, 0 Aug 2 21:10 console
crw-rw-rw- 1 DS2TDIST SYS1 5, 0 Aug 2 21:14 fd0
crw-rw-rw- 1 DS2TDIST SYS1 5, 1 Aug 2 21:14 fd1
crw-rw-rw- 1 DS2TDIST SYS1 5, 2 Aug 3 09:24 fd2
crw-rw-rw- 1 DS2TDIST SYS1 5, 4 Aug 2 21:13 fd4
crw-rw-rw- 1 DS2TDIST SYS1 5, 5 Aug 2 21:13 fd5
srw-rw-rw- 1 DS2TDIST SYS1 0 Aug 2 21:13 log
crwxrwxrwx 1 DS2TDIST SYS1 4, 0 Aug 2 21:10 null
c-w------- 1 DS2TDIST SYS1 9, 1 Aug 2 21:10 operlog
crw-rw-rw- 1 DS2TDIST SYS1 1, 0 Aug 8 14:42 ptyp0000
crw-rw-rw- 1 DS2TDIST SYS1 1, 1 Aug 8 14:42 ptyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 random
crw-rw-rw- 1 DS2TDIST SYS1 3, 0 Aug 2 21:10 tty
crw–w---- 1 G22392 DFSGRP 2, 0 Aug 8 14:42 ttyp0000
crw-rw-rw- 1 DS2TDIST SYS1 2, 1 Aug 8 13:23 ttyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 urandom
crw-rw-rw- 1 DS2TDIST SYS1 4, 1 Aug 2 21:10 zero
bash-4.3:/dev:>
After setting the MC_DATADIR I get these error messages:
Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)
Not sure about the listing of /dev. In my installation /dev/ttyp0000 has group TTY. Don’t know if that is required.
Could you check that your system has a group TTY and if yes, could you please assign
chgrp TTY /dev/ttyp0000
However, not sure if this is the cause of any evil.
This is the content of /dev:
bash-4.3:/dev:>dir
total 32
drwxrwxrwx 2 DS2TDIST SYS1 8192 Aug 3 09:24 .
drwxr-xr-x 11 G36320 D8781 8192 Oct 10 2013 …
c-w–w--w- 1 DS2TDIST SYS1 9, 0 Aug 2 21:10 console
crw-rw-rw- 1 DS2TDIST SYS1 5, 0 Aug 2 21:14 fd0
crw-rw-rw- 1 DS2TDIST SYS1 5, 1 Aug 2 21:14 fd1
crw-rw-rw- 1 DS2TDIST SYS1 5, 2 Aug 3 09:24 fd2
crw-rw-rw- 1 DS2TDIST SYS1 5, 4 Aug 2 21:13 fd4
crw-rw-rw- 1 DS2TDIST SYS1 5, 5 Aug 2 21:13 fd5
srw-rw-rw- 1 DS2TDIST SYS1 0 Aug 2 21:13 log
crwxrwxrwx 1 DS2TDIST SYS1 4, 0 Aug 2 21:10 null
c-w------- 1 DS2TDIST SYS1 9, 1 Aug 2 21:10 operlog
crw-rw-rw- 1 DS2TDIST SYS1 1, 0 Aug 8 14:42 ptyp0000
crw-rw-rw- 1 DS2TDIST SYS1 1, 1 Aug 8 14:42 ptyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 random
crw-rw-rw- 1 DS2TDIST SYS1 3, 0 Aug 2 21:10 tty
crw–w---- 1 G22392 DFSGRP 2, 0 Aug 8 14:42 ttyp0000
crw-rw-rw- 1 DS2TDIST SYS1 2, 1 Aug 8 13:23 ttyp0001
crw-rw-rw- 1 DS2TDIST SYS1 4, 2 Aug 2 21:10 urandom
crw-rw-rw- 1 DS2TDIST SYS1 4, 1 Aug 2 21:10 zero
bash-4.3:/dev:>
After setting the MC_DATADIR I get these error messages:
Cannot set pty terminal modes: EDC5139I Operation not permitted. (139)
read (subshell_pty…): EDC5137I Inappropriate I/O control operation. (137)
Did you use to start MC this way:
mc -u
Not sure about the listing of /dev. In my installation /dev/ttyp0000 has group TTY. Don’t know if that is required.
Could you check that your system has a group TTY and if yes, could you please assign
chgrp TTY /dev/ttyp0000
However, not sure if this is the cause of any evil.
I forgot to say if your system does not have a group TTY (which of course must have an omvs segment) then this is a problem for sure.
Did you use to start MC this way:
mc -u
Thanks Tatyana,
The mc -u did the trick. Works now.
So these two solutions worked for me:
export MC_DATADIR=/path_to_your_directory/share/mc
mc -u