vi displays garbage when editing a file, but cat shows the contents ok.
Page 1 / 1
vi displays garbage when editing a file, but cat shows the contents ok.
Hi, Kent. Do you have the environment variable _BPXK_AUTOCVT=ON set? If you are using Rocket’s open source tools (such as bash), they make use of IBM’s enhanced ASCII suport and are ASCII-mode programs. They require this setting.
If you haven’t used enhanced ASCII before this, it would be helpful to spend some time with the documentation. Besides the link above, I recommend looking at:
-
Unix System Services Command Reference:
-
ls -Tto show file tags -
chtagto alter file tags
-
- XL C/C++ Programming Guide: Using environment variables describes many of the environment variables related to enhanced ASCII.
– Jerry
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.