Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vmspython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
vmspython
Commits
58495ba67900
Commit
58495ba67900
authored
1 year ago
by
Jean-Francois Pieronne
Browse files
Options
Downloads
Patches
Plain Diff
Add fatdef/_init__.py
parent
844ac8a4167c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/local/ovms_module/ovms/fatdef/__init__.py
+88
-0
88 additions, 0 deletions
python/local/ovms_module/ovms/fatdef/__init__.py
with
88 additions
and
0 deletions
python/local/ovms_module/ovms/fatdef/__init__.py
0 → 100644
+
88
−
0
View file @
58495ba6
'
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment