[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup
nihongo chinese europa usermap webmail forum gallery elearn irc tutorials software telnet ssh

Tutorial for Editing Tutorials

This tutorial has been introduced to help members to more easily contribute to the SDF Tutorials project.

The SDF Tutorials utilize simple RCS. The only downside is initially finding the folder location and reading the lengthy README.TXT.

By using this tutorial, you should be able to get started much quicker! Please note, this tutorial is not meant to replace the main README.TXT and reading the main README.TXT will provide a better understanding.

More in-depth instructions for editing SDF Tutorials can be found within the README.TXT (which can also be found on the shell at /sys/html/tutorials/README.TXT).


Creating a New Tutorial

  1. cd /sys/html/tutorials
  2. touch new_filename.html
  3. chmod a+r filename.html
  4. ci -u new_filename.html (and then follow "Editing or Modifying an Existing Tutorial")

Check to make sure file permissions are retained by RCS on check-out (co). If they are not, and the permissions only show user readable still, then chmod a+r RCS/filename.html,v directly so that the file can be read by readers of the webpage.

Next, edit the main index.html page to include the newly created file.


Editing or Modifying an Existing Tutorial

  1. cd /sys/html/tutorials
  2. co -l filename.html (checks out the file and locks it while you make your edits)
  3. nano (or vi or pico or whatever to make your edits) filename.html
  4. ci -u filename.html (checks the file back in and unlocks it so the next user may edit, make a log entry if desired as indicated)

Tips


Contributors

$Id: tutorial_editing.html,v 1.14 2010/07/28 05:02:13 nerfling Exp $

©1987-2010 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)