7.6 PWB Switches

PWB provides the following switches to customize its behavior. You set switches by adding entries to the TOOLS.INI file or by using the Editor Settings, Key Assignments, and Colors commands on the Options menu.

Switch Description

Askexit Prompt before leaving PWB
Askrtn Prompt before returning from a shell
Autoload Load PWB extensions automatically
Autosave Save files when switching
Backup File backup mode
Beep Issue audible or visible alerts
Build Rules and definitions for the build process
Case Make letter case significant in searches
Color Color of interface elements
Cursormode Block or underline cursor state
Dblclick Double-click threshold
Deflang Default language
Defwinstyle Default window style
Editreadonly Allow editing of files marked read-only on disk
Enablealtgr Enable the ALTGR key on non-US keyboards
Entab Tab translation mode while editing
Enterinsmode Enter PWB in insert mode
Enterlogmode Enter PWB with search logging turned on
Enterselmode Enter PWB in specified selection mode
Envcursave Save environment variables for PWB sessions
Envprojsave Save environment variables for projects
Factor Auto-repeat factor
Fastfunc Functions for fast auto-repeat
Filetab Width of tab characters in the file
Friction Delay between repetitions of fast functions
Height Height of the display
Hike Window adjustment factor
Hscroll Horizontal scrolling factor
Infodialog Set of information dialogs displayed
Keepmem XMS/EMS memory kept during shell, build, and compile
Lastproject Set the last project on startup
Load PWB extension to load
Markfile Name of the current mark file
Mousemode Mouse configuration; disabled or swapped buttons
Msgdialog Display a dialog box for build results
Msgflush Keep only one set of build results
Newwindow Create a new window when opening a file
Noise Line counting interval
Printcmd Command for printing files
Readonly Command for saving disk read-only files
Realtabs Preserve tab characters in the file
Restorelayout Restore the window layout when a project is set
Rmargin Right margin for word wrap
Savescreen Preserve the operating-system screen
Searchdialog Display a dialog box for search results
Searchflush Keep only one set of search results
Searchwrap Make searches wrap around the end of the file
Shortnames Allow access to loaded files by base name
Softcr Perform automatic indenting
Tabalign Align the cursor in tab fields
Tabdisp Character for displaying tab characters
Tabstops Variable tab stops
Tilemode Window tiling style
Timersave Timer interval for saving files
Tmpsav Number of files kept in file history
Traildisp Character for displaying trailing spaces
Traillines Preserve trailing lines
Traillinesdisp Character for displaying trailing lines
Trailspace Preserve trailing spaces
Undelcount Maximum number of file backups
Undocount Maximum number of edits per file to undo
Unixre Use UNIX regular-expression syntax
User Custom Run menu item
Vscroll Vertical scrolling factor
Width Width of the display
Word Definition of a word
Wordwrap Wrap words as they are entered