vax_vms_user
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vax_vms_user [2026/05/25 01:30] – created admin | vax_vms_user [2026/08/02 21:26] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **# Show current DIR:** | + | ====== VMS User Guide ====== |
| + | ===== Getting Around ===== | ||
| + | |||
| + | **# Show current directory (like PWD):** | ||
| < | < | ||
| + | **# Change directory. [000000] is the root of the disk:** | ||
| + | < | ||
| + | |||
| + | **# Go up one directory level:** | ||
| + | < | ||
| + | |||
| + | **# Go back to your home directory: | ||
| + | < | ||
| + | |||
| + | **# List directory contents:** | ||
| + | < | ||
| + | With file sizes and dates: | ||
| + | < | ||
| + | |||
| + | **# Get help on any command:** | ||
| + | < | ||
| + | General help menu: | ||
| + | < | ||
| + | |||
| + | **# See who else is logged in:** | ||
| + | < | ||
| + | |||
| + | **# Log out:** | ||
| + | < | ||
| + | |||
| + | ===== File Management ===== | ||
| + | |||
| + | **# Create a directory** | ||
| + | < | ||
| + | Directory & subdirectory: | ||
| + | < | ||
| + | |||
| + | **# View a file's contents:** | ||
| + | < | ||
| + | Page through a long file: | ||
| + | < | ||
| + | |||
| + | **# Copy a file:** | ||
| + | < | ||
| + | |||
| + | **# Rename/move a file:** | ||
| + | < | ||
| + | |||
| + | **# Delete a file:** | ||
| + | < | ||
| + | Delete every version of it (VMS keeps old versions by default): | ||
| + | < | ||
| + | |||
| + | **# Clean up old versions of your files:** | ||
| + | < | ||
| + | Keep only the 2 most recent versions of everything: | ||
| + | < | ||
| + | |||
| + | **# Search inside a file for text:** | ||
| + | < | ||
| + | |||
| + | **# Print a file:** | ||
| + | < | ||
| + | |||
| + | **# Check your disk usage/ | ||
| + | < | ||
| + | |||
| + | ===== Editors ===== | ||
| + | |||
| + | **# EDT (classic line/screen editor):** | ||
| + | < | ||
| + | |||
| + | **# EVE (friendlier full-screen editor, part of TPU):** | ||
| + | < | ||
| + | or simply: | ||
| + | < | ||
| + | |||
| + | ===== Mail & Messaging ===== | ||
| + | |||
| + | **# Read/send mail:** | ||
| + | < | ||
| + | From inside MAIL, send a message: | ||
| + | < | ||
| + | Read your inbox: | ||
| + | < | ||
| + | Exit mail: | ||
| + | < | ||
| + | |||
| + | **# Send a quick real-time message to another logged-in user:** | ||
| + | < | ||
| + | or | ||
| + | < | ||
| + | |||
| + | ===== DCL Basics ===== | ||
| + | |||
| + | **# Set a symbol (like a variable): | ||
| + | < | ||
| + | < | ||
| + | |||
| + | **# Write a simple command procedure (script):** | ||
| + | < | ||
| + | < | ||
| + | $ WRITE SYS$OUTPUT " | ||
| + | $ EXIT | ||
| + | </ | ||
| + | Run it: | ||
| + | < | ||
| + | |||
| + | ===== Programming ===== | ||
| + | |||
| + | **# Run Basic:** | ||
| + | < | ||
| + | < | ||
| + | To save a program (from within the BASIC interpreter): | ||
| + | < | ||
| + | To load a program (from within the BASIC interpreter): | ||
| + | < | ||
| + | |||
| + | **# C programming** | ||
| + | Fix a file copied in from a modern computer (line-ending issue): \\ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | Enter a simple hello world: | ||
| + | < | ||
| + | CREATE HELLO.C | ||
| + | #include < | ||
| + | int main() { | ||
| + | printf(" | ||
| + | return 0; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | **# Fortran** | ||
| + | < | ||
| + | Link and run same as C above. | ||
| + | |||
| + | **# Pascal** | ||
| + | < | ||
| + | Link and run same as C above. | ||
| + | |||
| + | **# Check for compile errors in the listing file:** | ||
| + | < | ||
| + | |||
| + | ===== Games ===== | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | More to come.... | ||
vax_vms_user.1779672650.txt.gz · Last modified: by admin
