Skip to content
Snippets Groups Projects
Commit 58495ba67900 authored by Jean-Francois Pieronne's avatar Jean-Francois Pieronne
Browse files

Add fatdef/_init__.py

parent 844ac8a4167c
Branches
No related tags found
No related merge requests found
'vms Extension Series for Python'
__version__ = '0.3'
"""vms Extension Series for Python
Copyright (c) 2002-2020, Jean-Francois Pieronne jf.pieronne@laposte.net
See the documentation for further information on copyrights,
or contact the author. All Rights Reserved.
"""
# vms Extension Series version number
# (note that subpackages have their own version number)
__version__ = '0.3'
# Copyright notice string
__copyright__ = """
Copyright (c) 2002-2020, Jean-Francois Pieronne jf.pieronne@laposte.net
See the documentation for further information on copyrights,
or contact the author. All Rights Reserved.
"""
#*** MODULE $FATDEF ***
# +
#
# Record attributes area as used by FCS and RMS.
#
# -
# undefined record type
FAT_C_UNDEFINED = 0
# fixed record type
FAT_C_FIXED = 1
# variable length
FAT_C_VARIABLE = 2
# variable + fixed control
FAT_C_VFC = 3
# RMS-11 (DEC traditional) stream format
FAT_C_STREAM = 4
# LF-terminated stream format
FAT_C_STREAMLF = 5
# CR-terminated stream format
FAT_C_STREAMCR = 6
# sequential organization
FAT_C_SEQUENTIAL = 0
# relative organization
FAT_C_RELATIVE = 1
# indexed organization
FAT_C_INDEXED = 2
# direct organization
FAT_C_DIRECT = 3
# Special file organization
FAT_C_SPECIAL = 4
#
FAT_M_FORTRANCC = 0x1
#
FAT_M_IMPLIEDCC = 0x2
#
FAT_M_PRINTCC = 0x4
#
FAT_M_NOSPAN = 0x8
#
FAT_M_MSBRCW = 0x10
# FIFO special file
FAT_C_FIFO = 1
# character special file
FAT_C_CHAR_SPECIAL = 2
# block special file
FAT_C_BLOCK_SPECIAL = 3
# symbolic link special file for pre-V8.2
FAT_C_SYMLINK = 4
# symbolic link special file for V8.2 and beyond
FAT_C_SYMBOLIC_LINK = 5
#
FAT_M_GBC_PERCENT = 0x1
#
FAT_M_GBC_DEFAULT = 0x2
#
FAT_K_LENGTH = 32
#
FAT_C_LENGTH = 32
# Old size name - synonym
FAT_S_FATDEF = 32
#
FAT_S_FAT = 32
# record type subfield
FAT_S_RTYPE = 4
# file organization
FAT_S_FILEORG = 4
# (record attributes are
# meaningless for special files)
# any values in GBC16 or GBC32
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment