mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
21 lines
761 B
Text
21 lines
761 B
Text
Edit a file with RCS
|
|
|
|
This archive contains vic which is a simple wrapper around the editor of your
|
|
choice to first check the file out of RCS, edit the file, and then checks the
|
|
file back into RCS.
|
|
|
|
There are safeguards to protect the user if the file is edited outside of RCS,
|
|
and allows the user to get the RCS archive back up to date.
|
|
|
|
You can edit multiple programs at a time with something like:
|
|
vic *.wc
|
|
|
|
The editor name is drawn from the environment variables $VISUAL, $EDITOR, or
|
|
(if all else fails) "vi".
|
|
|
|
Also included is a simple program, show.locks, which shows all of the files
|
|
from the current directory which are currently locked.
|
|
|
|
If you have files locked, but not currently being edited, you may want to do:
|
|
ci -u FILE
|
|
chmod a-w FILE
|