Technical Briefs
ROHAN help Files
![]()
Mail is just that: mail a message to another user. Mail will both send and receive mail. Mail is most often used by professors to mail assignments, etc., to classes. Mail also can be used to send messages anywhere in the world.
- vi myfile
- edit the file called myfile
- vi +n myfile
- edit the file myfile at line n
- vi + myfile
- edit the file myfile at the end
- vi -r
- list saved files
- vi -r myfile
- recover file myfile that aborted during editing
- vi file1 file2 ...
- edit the specified files in sequence
- vi -t tag
- start editing at tag
Return to Top of document
- ^D
- back up over one level of indentation if autoindent set
- 0^D
- kill autoindent
- ^^D
- kill autoindent on this line, restore it on next
- ^H
- delete last input character
- ^T
- if in autoindent mode, insert one shiftwidth blank or tab
- ^W
- delete last input word
- ESC
- return to command mode from insertion mode (escape key)
- INT
- interrupt insertion, return to command mode (usually ^C)
- erase
- delete last character entered (usually delete key or ^H)
- kill
- delete input on this line (your kill key)
- ^Q
- quote non-printing character
- \
- escapes ^H, your erase and kill
Return to Top of document
- :w
- write changes to current file
- :w myfile
- save changes to myfile
- :w! file1
- overwrite existing file file1
- :wq
- write and quit
- :q
- quit if no changes were made
- :q!
- quit and don't save changes
- :e other
- edit another file called other
- :e!
- reedit, discard changes
- :e +n
- edit, starting at line n
- :e + file1
- edit file1 starting at the end
- :e #
- edit an alternate file
- :sh
- run shell, then return
- :!cmd
- run cmd, then return
- :n
- edit the next file in the argument list to vi
- :n args
- specify new argument list args
- :f
- show current file and line (same as ^G)
- :ta tag to tag
- file entry tag (same as ^])
Return to Top of document
![]()