Hmm. After reinstalling conda2.0 I'm a little confused. I'm using the public channel. Perhaps it's not what I thought it was. It has some tools but not vim. It has things like python in the bin directory but if you use the path setup by conda they are not accessible. For instance, If I do this procedure after installing the .run file
Set up .profile as
```
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
SHELL=/plexc1/u/users/hostbridge/hbjs/conda2_0/bin/bash
exec $SHELL
```
And upon login, execute the following command to get `conda` access:
```
$ . /plexc1/u/users/hostbridge/hbjs/conda2_0/etc/profile.d/conda.sh
```
Then create and activate a conda (virtual env?) environment:
```
$ conda create testy_env
$ conda activate testy_env
```
My resultant path will be modified as such:
```
$ echo $PATH
/plexc1/u/users/hostbridge/hbjs/conda2_0/envs/testy/bin:/z/JD895801/bin:/usr/lpp/IBM/zoautil/env/bin:/usr/lpp/IBM/zoautil/bin:/usr/lpp/IBM/cyp/v3r9/pyz/bin:./:/bin:/usr/sbin:/usr/lpp/NFS:/usr/lpp/Printsrv/bin:/C/Rocket/bin:/u/users/nfs/endevor
```
The `/plexc1/u/users/hostbridge/hbjs/conda2_0/bin` directory has various tools in it, but not a vim. Tools
of note are:
* anaconda
* bash
* bunzip2/bzip2/bzcat/bzdiff
* conda - this is different from the conda function?
* activate/deactivate
* jupyter (but not jupyter-notebook?)
* pip/pip3
* various pythons which are links to same python,python3
* sqlite
* xzless but not less?
What is odd, is that this path is not included if you use the setup procedure described by rocket. For instance
if you use `python` it uses the python in `/usr/lpp/IBM/zoautil/env/bin/python`, even if you are in a
`conda activate testy` session.
However, if you attempt to install `python` or even search for `python` via `conda install python` or `conda search *python*` you get no results with the public rocket conda channel. Lastly, the tools Jupyter is not the Jupyter-notebook I am familiar with. I guess it does not matter since it's not in the path. If I look to see what is in the dir added by the conda function, I see that it's not even there. Ie. .../bin is not there.
```
$ ls /plexc1/u/users/hostbridge/hbjs/conda2_0/envs/testy
conda-meta
````
Am I missing something?
------------------------------
John Davis
Developer
Broadcom Corporation
------------------------------
Original Message:
Sent: 01-05-2023 14:10
From: John Davis
Subject: VIM installed with miniconda on z/OS seems to be defect
Ok. I started the process over from official sources. This provides a different result. Here is my workflow:
Obtain the 2.0 version of conda. Download via this page the following:
- miniconda-zos-2.0-2022-01-17.run
- zOS Miniconda documentation.pdf
The pdf has install instructions which I will comment on since they seem to be out of date.
Install steps per documentation:
- chmod +x miniconda-zos-yadayada. This make sense. Its specifying to be executable so we can source the script.
- It says to chat -tc 819 a manifest.txt file. However, the 2.0 version does not have a corresponding manifest file. This appears that the documentation is in error.
- The next section about setting the environment mods to .profile are in error. The two explicit exports provided do persist in the bash shell. The implicit exports provided by sourcing the ..../profile.d/conda.sh script do not. For instance, with the .profile mods as specified, if I login, I get the bash prompt but `type condo` results in nothing. If I run in my current shell, the installation path to condo.sh then I can do 'type conda' and it results in the conda function. See screenshot.
- Moving on. During the setup I chose the public conda channels. However, I need to contact our system admins to see if we have access to a paid version. However, I create a conda environment and activate it. Subsequently I try to search/install vim and it's not available.
So rather than try to use our older - possibly broken installed rocket tool which has a non working vim, what do I need to do in order to install vim with my user install conda 2.0 version? Please advise.
------------------------------
John Davis
Developer
Broadcom Corporation
Original Message:
Sent: 01-05-2023 10:07
From: John Davis
Subject: VIM installed with miniconda on z/OS seems to be defect
I have the same error. I am using a miniconda/conda setup as provided by someone else. I have gotten terminal colors to work by building my own terminfo database. I've tried to run the condo.sh script as shown above but it seems the condo setup is incorrect I'm using. I'll investigate more and provide details as I can.
With that said, this is my setup and error:
------------------------------
John Davis
Developer
Rocket Forum Shared Account
Original Message:
Sent: 11-28-2021 12:49
From: Jurgen Hildebrandt
Subject: VIM installed with miniconda on z/OS seems to be defect
Hello Vladimir,
Thank you for your hint. With activated conda environment it works. But my intention is to run vim without conda.
I have tested something and found that entry
export ASCII_TERMINFO=/usr/lpp/rocket/share/terminfo
will fix my problem.
I will do some further tests to verify full functionality.
Kind Regards
Jürgen
------------------------------
Jurgen Hildebrandt
Systemprogrammer Mainframe Plattform Management
T-Systems International GmbH
Düsseldorf DE
Original Message:
Sent: 11-26-2021 20:34
From: Vladimir Kudriakov
Subject: VIM installed with miniconda on z/OS seems to be defect
Hello Juergen,
It seems you didn't activate conda environment. You should activate base conda environment at first by executing such commands (which can be placed in your ~/.bashrc file):
. {path_to_miniconda}/etc/profile.d/conda.shconda activate base
Then you can activate another environment (conda activate ...) if vim was installed not in the base environment. After that all necessary environment variables will be set by conda and vim should work correctly.
--
Regards,
Vladimir
------------------------------
Vladimir Kudriakov
Rocket Software
Original Message:
Sent: 11-26-2021 13:46
From: Jurgen Hildebrandt
Subject: VIM installed with miniconda on z/OS seems to be defect
Dear community,
I have installed vim via miniconda. When I call it, the Help information which is normally shown in the middle of the screen, is shown at the bottom.
In the version installed directly in the past, it looks like this:
I tried some hints which were given in the forum but nothing changed.
unset TERMINFO
export VIM=/usr/lpp/rocket/share/vim/vim80
add set t_RV= to .vimrc
Hints are very welcome!
Regards
Juergen
------------------------------
Jurgen Hildebrandt
Systemprogrammer Mainframe Plattform Management
T-Systems International GmbH
Düsseldorf DE
------------------------------