PWB provides a rich variety of editing, searching, and project-management capabilites in the form of functions. Most of PWB's menus and dialogs call these functions (or macros that use these functions) to perform their actions. You can write your own macros that use these capabilities in ways that precisely suit your needs. You can also execute every function directly, either by pressing a key or by using the Execute function.
Table 7.10 summarizes PWB functions. Most functions can be executed in different ways to perform related actions. Complete details are given in the A-to-Z reference that follows the table.
Table 7.10 PWB Functions
Function | Description | Keys |
Arg | Begin a function argument | ALT+A |
Arrangewindow | Arrange windows or icons | Unassigned |
Assign | Define a macro or assign a key | ALT+= |
Backtab | Move to previous tab stop | SHIFT+TAB |
Begfile | Move to beginning of file | CTRL+HOME |
Begline | Move to beginning of line | HOME |
Cancel | Cancel arguments or current operation | ESC |
Cancelsearch | Cancel background search | Unassigned |
Cdelete | Delete character | CTRL+G |
Clearmsg | Clear Build Results | Unassigned |
Clearsearch | Clear Search Results | Unassigned |
Closefile | Close current file | Unassigned |
Compile | Compile and build | CTRL+F3 |
Copy | Copy selection to the clipboard | CTRL+INS, SHIFT+NUM* |
Curdate | Today's date (dd-Mmm-yyyy) | Unassigned |
Curday | Day of week (Tue) | Unassigned |
Curtime | Current time (hour:minute:second) | Unassigned |
Delete | Delete selection | SHIFT+DEL, SHIFT+NUM- |
Down | Move down one line | CTRL+X, DOWN |
Emacscdel | Delete character | BKSP, SHIFT+BKSP |
Emacsnewl | Start a new line | ENTER, NUMENTER |
Endfile | Move to end of file | CTRL+END |
Endline | Move to end of line | END |
Environment | Set or insert environment variable | Unassigned |
Execute | Execute macros and functions by name | F7 |
Exit | Advance to next file or leave PWB | F8 |
Graphic | Type character | (many) |
Home | Move to window corner | GOTO |
Information | (Obsolete) | ––– |
Initialize | Reinitialize | SHIFT+F8 |
Insert | Insert spaces or lines | Unassigned |
Insertmode | Toggle insert/overtype mode | CTRL+V, INS |
Lastselect | Recover last selection | CTRL+U |
Lasttext | Recover last text argument | CTRL+O |
Ldelete | Delete lines | CTRL+Y |
Left | Move left | CTRL+S, LEFT |
Linsert | Insert lines or indent line | CTRL+N |
Logsearch | Toggle search logging | Unassigned |
Mark | Set, clear, or go to a mark or line number | CTRL+M |
Maximize | Enlarge window to full size | Unassigned |
Menukey | Activate menu | ALT |
Message | Display a message or refresh the screen | Unassigned |
Meta | Modify the action of a function | F9 |
Mgrep | Search across files for text or pattern | Unassigned |
Minimize | Shrink window to an icon | Unassigned |
Mlines | Scroll down by lines | CTRL+UP, CTRL+W |
Movewindow | Move window | Unassigned |
Mpage | Move up one page | CTRL+R, PGUP |
Mpara | Move up one paragraph | Unassigned |
Mreplace | Multifile replace with confirmation | Unassigned |
Mreplaceall | Multifile replace | Unassigned |
Msearch | Search backward for pattern or text | F4 |
Mword | Move back one word | CTRL+A, CTRL+LEFT |
Newfile | Create a new pseudofile | Unassigned |
Newline | Move to the next line | SHIFT+ENTER, SHIFT+NUMENTER |
Nextmsg | Go to build message location | Unassigned |
Nextsearch | Go to search match location | Unassigned |
Noedit | Toggle the no-edit restriction | Unassigned |
Openfile | Open a new file | F10 |
Paste | Insert file or text from clipboard | SHIFT+INS, SHIFT+NUM+ |
Pbal | Balance paired characters | CTRL+[ |
Plines | Scroll up by lines | CTRL+DOWN, CTRL+Z |
Ppage | Move down one page | CTRL+C, PGDN |
Ppara | Move down one paragraph | Unassigned |
Print file or selection | Unassigned | |
Project | Set or clear project | Unassigned |
Prompt | Request text argument | Unassigned |
Psearch | Search forward for pattern or text | F3 |
Pwbhelp | Help topic lookup | Unassigned |
Pwbhelpnext | Relative help topic lookup | CTRL+F1 |
Pwbhelpsearch | Global full-text help search | Unassigned |
Pwbrowse1stdef | Go to first definition | Unassigned |
Pwbrowse1stref | Go to first reference | Unassigned |
Pwbrowsecalltree | Browse Call Tree (Fwd/Rev) | Unassigned |
Pwbrowseclhier | Browse Class Hierarchy | Unassigned |
Pwbrowsecltree | Browse Class Tree (Fwd/Rev) | Unassigned |
Pwbrowsefuhier | Browse Function Hierarchy | Unassigned |
Pwbrowsegotodef | Browse Goto Definition | Unassigned |
Pwbrowsegotoref | Browse Goto Reference | Unassigned |
Pwbrowselistref | Browse List References | Unassigned |
Pwbrowsenext | Browse Next | CTRL+NUM+ |
Pwbrowseoutline | Browse Module Outline | Unassigned |
Pwbrowsepop | Go to previously browsed location | Unassigned |
Pwbrowseprev | Browse Previous | CTRL+NUM- |
Pwbrowseviewrel | Browse View Relationship | Unassigned |
Pwbrowsewhref | Browse Which Reference? | Unassigned |
Pwbwindow | Open a PWB window | Unassigned |
Pword | Move forward one word | CTRL+F, CTRL+RIGHT |
Qreplace | Replace with confirmation | CTRL+\ |
Quote | Insert literal key | CTRL+P |
Record | Toggle macro recording | SHIFT+CTRL+R |
Refresh | Reread or discard file | SHIFT+F7 |
Repeat | Repeat the last editing operation | Unassigned |
Replace | Replace pattern or text | CTRL+L |
Resize | Resize window | Unassigned |
Restcur | Restore saved position | Unassigned |
Right | Move right | CTRL+D, RIGHT |
Saveall | Save all modified files | Unassigned |
Savecur | Save cursor position | Unassigned |
Sdelete | Delete streams | Unassigned |
Searchall | Highlight occurrences of pattern or text | Unassigned |
Selcur | Select to saved position | Unassigned |
Select | Select text | SHIFT+PGUP, SHIFT+CTRL+PGUP, SHIFT+PGDN, SHIFT+CTRL+PGDN, SHIFT+END, SHIFT+CTRL+END, SHIFT+HOME, SHIFT+CTRL+HOME, SHIFT+LEFT, SHIFT+CTRL+LEFT, SHIFT+UP, SHIFT+RIGHT, SHIFT+CTRL+RIGHT, SHIFT+DOWN |
Selmode | Change selection mode: box | Unassigned |
Selwindow | Move to window | F6 |
Setfile | Open or change files | F2 |
Sethelp | Opens, closes, and lists help files | SHIFT+CTRL+S |
Setwindow | Adjust file in window | CTRL+] |
Shell | Start a shell or run a system command | SHIFT+F9 |
Sinsert | Insert a stream of blanks or break line | CTRL+J |
Tab | Move to the next tab stop | TAB |
Tell | Show key assignment or macro definition | CTRL+T |
Unassigned | Remove a function assignment from a key | (All unassigned keys) |
Undo | Undo and redo editing operations | ALT+BKSP, SHIFT+CTRL+BKSP |
Up | Move up | CTRL+E, UP |
Usercmd | Execute a custom Run menu command | Unassigned |
Window | Move to next or previous window | Unassigned |
Winstyle | Add or remove scroll bars | CTRL+F6 |