Skip to main content
Jul 6, 2017 9:30 AM UTC

Vim 8.0.22 for z/OS released

Rocket is pleased to announce the pre-release of Vim 8.0.22 for z/OS. This port has been in use for a couple of months internally at Rocket by our developers, however we have not had time to run a full QA suite. Thus this is not considered GA quality.

Please go to the Rocket Community Portal for download.

-Peter

    34 replies

    Aug 4, 2017 3:09 AM UTC

    Rocket is pleased to announce the pre-release of Vim 8.0.22 for z/OS. This port has been in use for a couple of months internally at Rocket by our developers, however we have not had time to run a full QA suite. Thus this is not considered GA quality.

    Please go to the Rocket Community Portal for download.

    -Peter

    I can’t seem to get syntax highlighting or any color at all. Are colors not supported in this port?

    Aug 4, 2017 7:46 AM UTC

    I can’t seem to get syntax highlighting or any color at all. Are colors not supported in this port?

    Please try this:

    Within VIM
    :echo $MYVIMRC
    :echo $VIMRUNTIME
    and check set up tag in directory $VIMRUNTIME and check set up environment variables _BPXK_AUTOCVT _CEE_RUNOPTS and check configure TERMINFO and XTERM

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

    Aug 25, 2017 2:59 AM UTC

    Please try this:

    Within VIM
    :echo $MYVIMRC
    :echo $VIMRUNTIME
    and check set up tag in directory $VIMRUNTIME and check set up environment variables _BPXK_AUTOCVT _CEE_RUNOPTS and check configure TERMINFO and XTERM

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

    My settings are all good. Syntax highlighting is kind of working but not in color. The syntax files are read ok and keywords are highlighted but only in black and white. I’ve been using git and node.js with colors no problem.

    Aug 25, 2017 8:31 AM UTC

    My settings are all good. Syntax highlighting is kind of working but not in color. The syntax files are read ok and keywords are highlighted but only in black and white. I’ve been using git and node.js with colors no problem.

    This is likely an issue with TERMCAP/TERMINFO (an area of Unix I’ve always found somewhat mysterious…). I will check with another developer her who knows more about this.

    Nov 20, 2017 7:52 AM UTC

    Rocket is pleased to announce the pre-release of Vim 8.0.22 for z/OS. This port has been in use for a couple of months internally at Rocket by our developers, however we have not had time to run a full QA suite. Thus this is not considered GA quality.

    Please go to the Rocket Community Portal for download.

    -Peter

    Did you ever get any feedback on this. I would love to have color using Vim on z/OS.

    Nov 20, 2017 10:12 AM UTC

    Rocket is pleased to announce the pre-release of Vim 8.0.22 for z/OS. This port has been in use for a couple of months internally at Rocket by our developers, however we have not had time to run a full QA suite. Thus this is not considered GA quality.

    Please go to the Rocket Community Portal for download.

    -Peter

    The vim on z/OS supports the color correctly.
    Need to configure TERMINFO system.

    To check the TERMINFO system, use the command

    printf “\\e[32m\\e[44mtest\\e[0m\\n”

    Nov 21, 2017 12:04 AM UTC

    The vim on z/OS supports the color correctly.
    Need to configure TERMINFO system.

    To check the TERMINFO system, use the command

    printf “\\e[32m\\e[44mtest\\e[0m\\n”

    Thanks Yaroslav. I tried the command you posted and it worked fine. But Vim doesn’t have colors.

    Nov 21, 2017 1:40 AM UTC

    Thanks Yaroslav. I tried the command you posted and it worked fine. But Vim doesn’t have colors.

    What color scheme and how do you install it in the vim?

    What the infocmp command displays ?

    Nov 21, 2017 2:31 AM UTC

    What color scheme and how do you install it in the vim?

    What the infocmp command displays ?

    I’m using the elflord colorscheme. All the colorschemes are already installed in /usr/local/share/vim/vim80/colors. VIMRUNTIME is set in my .profile export VIM=/usr/local/share/vim/vim80.

    DOC:/u/bamboo/txc/txcdemo1/conf: >infocmp
    #       Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm
    xterm|vs100|xterm terminal emulator,
            am, km, msgr, xenl,
            cols#80, it#8, lines#25,
            batt1=f1, batt2=f1md, bel=^G, blink=@, bold=\\E[1m,
            box1=lqkxjmwuvtn, box2=lqkxjmwuvtn, civis=\\E[?25l,
            clear=\\E[H\\E[2J, cnorm=\\E[?25h, cr=\\r,
            csr=\\E[%i%p1%d;%p2%dr, cub=\\E[%p1%dD, cub1=\\b,
            cud=\\E[%p1%dB, cud1=\\n, cuf=\\E[%p1%dC, cuf1=\\E[C,
            cup=\\E[%i%p1%d;%p2%dH, cuu=\\E[%p1%dA, cuu1=\\E[A,
            cvvis=\\E[?25h, dch=\\E[%p1%dP, dch1=\\E[P, dl=\\E[%p1%dM,
            dl1=\\E[M, ed=\\E[J, el=\\E[K, font0=\\E(B, font1=\\E(0,
            home=\\E[H, ht=\\t, hts=\\EH, ich=\\E[%p1%d@, ich1=\\E[@,
            il=\\E[%p1%dL, il1=\\E[L, ind=\\n, kbs=\\b, kcub1=\\E[D,
            kcud1=\\E[B, kcuf1=\\E[C, kcuu1=\\E[A, kf1=\\E[11~,
            kf2=\\E[12~, kf3=\\E[13~, kf4=\\E[14~, khome=\\E[H,
            kich1=\\E[2~, knl=\\r, ktab=\\t, mc4=\\E[4i, mc5=\\E[5i,
            rc=\\E8, rev=\\E[7m, ri=\\EM, rmcup=\\E[?7h, rmkx=\\E>,
            rmso=\\E[m,
            rs1=\\E>\\E[1;3;4;5;6l\\E[?7h\\E[m\\E[r\\E[2J\\E[H, rs2=@,
            sc=\\E7,
            sgr=\\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\\E(0%e\\E(B%;,
            sgr0=\\E[m, smcup=\\E[?7h\\E[?1l\\E(B\\E=, smkx=\\E=,
            smso=\\E[7m, tbc=\\E[3g,
    Nov 21, 2017 3:00 AM UTC

    I’m using the elflord colorscheme. All the colorschemes are already installed in /usr/local/share/vim/vim80/colors. VIMRUNTIME is set in my .profile export VIM=/usr/local/share/vim/vim80.

    DOC:/u/bamboo/txc/txcdemo1/conf: >infocmp
    #       Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm
    xterm|vs100|xterm terminal emulator,
            am, km, msgr, xenl,
            cols#80, it#8, lines#25,
            batt1=f1, batt2=f1md, bel=^G, blink=@, bold=\\E[1m,
            box1=lqkxjmwuvtn, box2=lqkxjmwuvtn, civis=\\E[?25l,
            clear=\\E[H\\E[2J, cnorm=\\E[?25h, cr=\\r,
            csr=\\E[%i%p1%d;%p2%dr, cub=\\E[%p1%dD, cub1=\\b,
            cud=\\E[%p1%dB, cud1=\\n, cuf=\\E[%p1%dC, cuf1=\\E[C,
            cup=\\E[%i%p1%d;%p2%dH, cuu=\\E[%p1%dA, cuu1=\\E[A,
            cvvis=\\E[?25h, dch=\\E[%p1%dP, dch1=\\E[P, dl=\\E[%p1%dM,
            dl1=\\E[M, ed=\\E[J, el=\\E[K, font0=\\E(B, font1=\\E(0,
            home=\\E[H, ht=\\t, hts=\\EH, ich=\\E[%p1%d@, ich1=\\E[@,
            il=\\E[%p1%dL, il1=\\E[L, ind=\\n, kbs=\\b, kcub1=\\E[D,
            kcud1=\\E[B, kcuf1=\\E[C, kcuu1=\\E[A, kf1=\\E[11~,
            kf2=\\E[12~, kf3=\\E[13~, kf4=\\E[14~, khome=\\E[H,
            kich1=\\E[2~, knl=\\r, ktab=\\t, mc4=\\E[4i, mc5=\\E[5i,
            rc=\\E8, rev=\\E[7m, ri=\\EM, rmcup=\\E[?7h, rmkx=\\E>,
            rmso=\\E[m,
            rs1=\\E>\\E[1;3;4;5;6l\\E[?7h\\E[m\\E[r\\E[2J\\E[H, rs2=@,
            sc=\\E7,
            sgr=\\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\\E(0%e\\E(B%;,
            sgr0=\\E[m, smcup=\\E[?7h\\E[?1l\\E(B\\E=, smkx=\\E=,
            smso=\\E[7m, tbc=\\E[3g,

    So , not a complete TERMINFO database
    Update the database using the xterm_zos.gz (1.2 KB)
    database file and the following commands

    export TERM=xterm_zos
    export TERMINFO=< your directory >
    gzip -d xterm_zos.gz
    tic xterm_zos

    Such a color scheme exists