RSICC Home Page VIM_NC

RSICC CODE PACKAGE CCC-794

1.         NAME AND TITLE

VIM_NC - VIM Color Syntax for Nuclear Codes: NJOY, DRAGON, PARTISN, TORT, MONK, and MCNP.

 

RELATED AND AUXILIARY PROGRAMS

VIM editor in any Linux distribution.

2.         CONTRIBUTORS

      Alberto Talamo, Illinois, USA.

3.         CODING LANGUAGE AND COMPUTER

Linux-based PC and Mac (C00794PCX8600).

4.         NATURE OF PROBLEM SOLVED

These scripts enable the VIM color syntax for the nuclear codes: NJOY, DRAGON, PARTISN, TORT, MONK, and MCNP. The colors are optimized for white background terminal and no ‘bold in different color’ option in the ssh client.

5.         METHOD OF SOLUTION

The scripts are based on Linux regular expressions.

 

6.         RESTRICTIONS OR LIMITATIONS

                        No limit in the nuclear codes input length.

7.         TYPICAL RUNNING TIME

Color highlighting is instantaneous.

8.         COMPUTER HARDWARE REQUIREMENTS

Any computer running a Linux operating system.

9.         COMPUTER SOFTWARE REQUIREMENTS

Any computer running a Linux operating system.

10.       REFERENCES

                        http://en.wikipedia.org/wiki/Regular_expression

Advanced Bash Scripting Guide, http://tldp.org/LDP/abs/html/

/usr/bin/vimtutor in any Linux distribution.

11.       CONTENTS OF CODE PACKAGE

The package includes the ASCII files: njoy.vim, dragon.vim, partisn.vim, tort.vim, monk.vim, mcnp.vim, filetype.vim, lexcol.vim, and vimrc. To use the files one has to copy the vimrc file into $HOME/.vimrc and then appropriately change the path into .vimrc and lexcol.vim files.

12.       DATE OF ABSTRACT

March 2012.

KEYWORDS:     DATA PREPARATION