home *** CD-ROM | disk | FTP | other *** search
- From: shaw@stortek.stortek.com (Greg Shaw)
- Newsgroups: comp.sources.misc
- Subject: v44i007: rocat - Roman Catacombs BBS System v.0.75, Part07/09
- Date: 1 Aug 1994 12:09:15 -0500
- Organization: Sterling Software
- Sender: kent@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <31ja7r$b1j@sparky.sterling.com>
- X-Md4-Signature: 5ec94d35195da7c1924016bb331fc94d
-
- Submitted-by: shaw@stortek.stortek.com (Greg Shaw)
- Posting-number: Volume 44, Issue 7
- Archive-name: rocat/part07
- Environment: Linux, GNU C++/libg++
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # Contents: rocat-0.75/admin/.cshrc rocat-0.75/doc/errlogd.man
- # rocat-0.75/doc/fileutil.man rocat-0.75/examples/menus/appletop
- # rocat-0.75/examples/menus/arcade
- # rocat-0.75/examples/menus/art_studio
- # rocat-0.75/examples/menus/artprogs
- # rocat-0.75/examples/menus/helpgames
- # rocat-0.75/examples/menus/helptop rocat-0.75/examples/menus/main
- # rocat-0.75/examples/menus/utilities
- # rocat-0.75/examples/menus/wintop rocat-0.75/filehdr/bbs_files_hdr
- # rocat-0.75/menus/main rocat-0.75/src/Makefile
- # rocat-0.75/src/Makefile.dist rocat-0.75/src/bbs.h
- # rocat-0.75/src/bbsint.h rocat-0.75/src/bbsipc.h
- # rocat-0.75/src/dllist.h rocat-0.75/src/errlog.h
- # rocat-0.75/src/filelock.h rocat-0.75/src/files.h
- # rocat-0.75/src/fileutil.h rocat-0.75/src/moncon.h
- # rocat-0.75/src/monitor.C rocat-0.75/src/ports.h
- # rocat-0.75/src/sysexec.C rocat-0.75/src/sysexec.h
- # rocat-0.75/src/version.h rocat-0.75/text/helpTRC
- # rocat-0.75/text/helpdownload rocat-0.75/text/helpemail
- # rocat-0.75/text/helplinuxhow rocat-0.75/text/helplinuxwhat
- # rocat-0.75/text/helpnews rocat-0.75/text/reg.instr
- # rocat-0.75/text/system3.msg
- # Wrapped by kent@sparky on Mon Jul 11 22:22:53 1994
- PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin:$PATH ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 7 (of 9)."'
- if test -f 'rocat-0.75/admin/.cshrc' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/admin/.cshrc'\"
- else
- echo shar: Extracting \"'rocat-0.75/admin/.cshrc'\" \(1367 characters\)
- sed "s/^X//" >'rocat-0.75/admin/.cshrc' <<'END_OF_FILE'
- X# executable search path
- Xsetenv PATH $HOME/bin:/usr/ucb:/usr/local/bin:/bin:/usr/bin:/etc:/usr/lib/uucp:/usr/bin/X11:/usr/games:/usr/lib:/sbin:/usr/sbin:
- X
- X# bbs stuff
- Xsetenv BBSDIR /bbsdev
- Xsetenv SYSOP shaw
- X
- X# generic setup stuff (for X basically)
- Xsetenv TERMINFO /usr/lib/terminfo
- Xsetenv OPENWINHOME /usr/openwin
- Xsetenv LD_LIBRARY_PATH /usr/openwin/lib
- X
- X# setup manual paths
- Xsetenv MANPATH /usr/man:/usr/local/man:/usr/openwin/man:/usr/X386/man
- X
- X# set default prompt
- Xset prompt="`hostname`-bbs % "
- X
- X# tell me when background job status changes
- Xset notify
- X
- X# set mail directory and check time
- Xset mail=/usr/spool/mail/$LOGNAME
- X
- X# set default permissions mask
- Xset umask=066
- X
- X# set default time notification
- Xset time=15
- X
- X# set history file length
- Xset history=30
- Xset savehist=20
- X
- X#set timezone
- Xsetenv TZ MST7MDT
- X
- X# set default editor
- Xset VISUAL=vi
- X
- X# setup size of screen
- X#setenv LINES 24
- X#setenv COLUMNS 80
- X#eval `resize`
- X
- X# well, since this is tcsh, I can set the line editing key bindings
- Xbind vi
- X
- X# default time slice
- Xsetenv HZ 100
- X
- X# setup my aliases
- Xalias . logout
- Xalias mail elm
- Xalias ls 'ls -CF'
- Xalias compress 'gzip -v'
- Xalias uncompress gunzip
- Xalias more less
- Xalias mkae make
- X
- X# setup default terminal settings
- X stty erase "^H" kill "^U" intr "^C" eof "^D"
- X stty hupcl ixon ixoff
- X
- X# now give me my 'quote of the login'
- X echo Quote of the Login
- X fortune
- X
- END_OF_FILE
- if test 1367 -ne `wc -c <'rocat-0.75/admin/.cshrc'`; then
- echo shar: \"'rocat-0.75/admin/.cshrc'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/admin/.cshrc'
- # end of 'rocat-0.75/admin/.cshrc'
- fi
- if test -f 'rocat-0.75/doc/errlogd.man' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/doc/errlogd.man'\"
- else
- echo shar: Extracting \"'rocat-0.75/doc/errlogd.man'\" \(1300 characters\)
- sed "s/^X//" >'rocat-0.75/doc/errlogd.man' <<'END_OF_FILE'
- X.TH errlogd 1 "06 Jun 94" "shaw" "rocat manual"
- X.IX errlogd
- X.SH NAME
- Xerrlogd - error logging daemon for the rocat BBS System.
- X.SH SYNOPSIS
- X.B errlogd
- X.SH DESCRIPTION
- XCentralized error logger for the rocat BBS System.
- X
- X.I errlogd
- XActs as a centralized error logging system for the BBS System. It is
- Xexpected that the error logging daemon will run on the main BBS System as a
- Xdaemon (in the background).
- X
- XOutput of
- X.I errlogd
- Xis coded to go to $BBSDIR/admin/bbserr.
- X
- X.I errlogd
- Xouptuts error messages locally when it is unable to start up. Otherwise,
- Xno output will be generated.
- X
- X.SH CONFIGURATION
- X.I errlogd
- Xrequires no configuration other than the $BBSDIR environment
- Xvariable. However, configuration of the BBS configuration file
- X.I $BBSDIR/config/bbsinfo
- Xis necessary to point the BBS to the correct error logging machine.
- X
- X.I errlogd
- Xcan be used as a centralized logging daemon for a number of internetworked
- Xcomputer systems. The configuration option LOGHOST should point to the
- Xmachine that runs the error logging daemon.
- X
- X.SH BUGS
- X.I errlogd
- Xlogs all errors to a $BBSDIR/admin/bbserr. It should be able to accept a
- Xfilename as the output filename.
- X
- X.SH "SEE ALSO"
- Xrocat(1), rocat documentation
- X.SH AUTHOR
- X.I errlogd
- Xis Copyright (C) 1994 by Gregory Shaw, <shaw@manwe.fmsoft.com>.
- END_OF_FILE
- if test 1300 -ne `wc -c <'rocat-0.75/doc/errlogd.man'`; then
- echo shar: \"'rocat-0.75/doc/errlogd.man'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/doc/errlogd.man'
- fi
- if test -f 'rocat-0.75/doc/fileutil.man' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/doc/fileutil.man'\"
- else
- echo shar: Extracting \"'rocat-0.75/doc/fileutil.man'\" \(1693 characters\)
- sed "s/^X//" >'rocat-0.75/doc/fileutil.man' <<'END_OF_FILE'
- X.TH fileutil 1 "06 Jun 94" "shaw" "rocat manual"
- X.IX fileutil
- X.SH NAME
- Xfileutil - upload/download files area maintenance utility
- X.SH SYNOPSIS
- X.B fileutil
- X.RB [ -c section_name ]
- X.RB [ -n output_filename ]
- X.RB [ -m output_filename ]
- X.RB [ -u ]
- X.RB [ -d ]
- X.SH DESCRIPTION
- XAutomated file utility for files areas maintenance.
- X
- X.I fileutil
- Xwill create, update, clean and generate reports based on file section(s)
- Xused by the rocat BBS system.
- X
- X.I fileutil
- Xwill print a usage listing if used without options (or incorrect options)
- X
- X.SH OPTIONS
- X.TP
- X.B -c section_name
- XTells
- X.I fileutil
- Xto create the section
- X.B section_name
- XThe section information must already exist in the bbs_files_header file.
- XIt will read the directory associated with the files section and build a
- Xsection header file based on the files found there.
- X
- X.B Note:
- XThis command is for new section creation only. Any existing files section
- Xheader will be discarded, resulting in lost header information.
- X
- X.TP
- X.B -n output_filename
- XWill generate a report of the new files uploaded within the last 7 days.
- X
- X.TP
- X.B -m output_filename
- XWill generate a report of the top 20 files by number of downloads.
- X
- X.TP
- X.B -u
- XUpdate all files sections. This will add files found in each files section
- Xdirectory. This is a safer, global version of the '-c' option.
- X
- X.TP
- X.B -d
- XDelete files that exist in the files section header, but do not exist in
- Xthe files section directory.
- X
- X.SH BUGS
- X.I fileutil
- Xlogs all errors to the BBS errlogd logging daemon. Error messages don't
- Xshow up locally.
- X
- X.SH "SEE ALSO"
- Xerrlogd(1), rocat(1), rocat documentation
- X.SH AUTHOR
- X.I fileutil
- Xis Copyright (C) 1994 by Gregory Shaw, <shaw@manwe.fmsoft.com>.
- END_OF_FILE
- if test 1693 -ne `wc -c <'rocat-0.75/doc/fileutil.man'`; then
- echo shar: \"'rocat-0.75/doc/fileutil.man'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/doc/fileutil.man'
- fi
- if test -f 'rocat-0.75/examples/menus/appletop' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/appletop'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/appletop'\" \(1227 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/appletop' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Apple Files Area
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| ----------------------------
- X0||||||| 1> Applications
- X0||||||| 2> Games
- X0||||||| 3> Compression Programs
- X0||||||| 4> Sounds
- X0||||||| 5> Utilities
- X0||||||| 6> Communications Programs
- X0||||||| 7> Inits/Cdevs
- X0||||||| 8> Mac BBS Programs
- X0||||||| H>elp
- X0||||||| ----------------------------
- X0|||||||
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X2|1|||||macapps|
- X2|2|||||macgames|
- X2|3|||||maccomp|
- X2|4|||||macsounds|
- X2|5|||||macutils|
- X2|6|||||maccomm|
- X2|7|||||macinits|
- X2|8|||||macbbs|
- X21|f|||||elm -s feedback shaw|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1227 -ne `wc -c <'rocat-0.75/examples/menus/appletop'`; then
- echo shar: \"'rocat-0.75/examples/menus/appletop'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/appletop'
- fi
- if test -f 'rocat-0.75/examples/menus/arcade' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/arcade'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/arcade'\" \(1730 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/arcade' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Arcade
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| -------------------------------
- X0||||||| <W> 1. Backgammon
- X0||||||| Philsopher's ---- 2. Battlestar
- X0||||||| Den 3. Canfield
- X0||||||| 4. Cribbage
- X0||||||| 5. Fish
- X0||||||| 6. Hangman
- X0||||||| 7. Mille Bournes
- X0||||||| 8. Monopoly
- X0||||||| 9. Nethack
- X0||||||| a. Paranoia
- X0||||||| b. Robots
- X0||||||| c. Sail
- X0||||||| d. Star Trek
- X0||||||| e. Hunt the Wumpus
- X0||||||| H. H>elp
- X0||||||| ----------------------------
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X3|w|||||philsophers|
- X21|1|||||backgammon|
- X21|2|||||battlestar|
- X21|3|||||canfield|
- X21|4|||||cribbage|
- X21|5|||||fish|
- X21|6|||||hangman|
- X21|7|||||mille|
- X21|8|||||monop|
- X21|9|||||nethack|
- X21|a|||||paranoia|
- X21|b|||||robots|
- X21|c|||||sail|
- X21|d|||||trek|
- X21|e|||||wump|
- X21|f|||||elm -s feedback shaw|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1730 -ne `wc -c <'rocat-0.75/examples/menus/arcade'`; then
- echo shar: \"'rocat-0.75/examples/menus/arcade'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/arcade'
- fi
- if test -f 'rocat-0.75/examples/menus/art_studio' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/art_studio'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/art_studio'\" \(1217 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/art_studio' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Art Studio
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| GIF Pictures
- X0|||||||
- X0||||||| <N>
- X0||||||| ----------------------------
- X0||||||| H>elp
- X0||||||| Programs <W> <E>
- X0||||||| and -- -- Entry Vault
- X0||||||| Other Graphics
- X0||||||| Stuff
- X0||||||| ----------------------------
- X0||||||| <S>
- X0|||||||
- X0||||||| JPEG Pictures
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X3|e|||||main|
- X2|w|||||artprogs|
- X2|s|||||jpegtop|
- X2|n|||||giftop|
- X21|f|||||elm -s feedback shaw|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1217 -ne `wc -c <'rocat-0.75/examples/menus/art_studio'`; then
- echo shar: \"'rocat-0.75/examples/menus/art_studio'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/art_studio'
- fi
- if test -f 'rocat-0.75/examples/menus/artprogs' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/artprogs'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/artprogs'\" \(1235 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/artprogs' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Art Programs and Utilities
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| ----------------------------
- X0||||||| N>ew Files
- X0||||||| L>ist Files
- X0||||||| S>earch for File <E>
- X0||||||| I>nformation on File --- Art Studio
- X0||199|>|||| D>ownload file(s)
- X0||199|>|||| U>pload File(s)
- X0||||||| H>elp
- X0||||||| ----------------------------
- X0|||||||
- X0|||||||
- X0|||||||
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X21|f|||||elm -s feedback shaw|
- X3|e|||||art_studio|
- X25|n|199|>|||artprogs|
- X26|n|200|<|||artprogs|
- X27|l|199|>|||artprogs|
- X28|l|200|<|||artprogs|
- X29|s|199|>|||artprogs|
- X30|s|200|<|||artprogs|
- X31|i|||||artprogs|
- X32|d|199|>|||artprogs|
- X33|u|199|>|||artprogs|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1235 -ne `wc -c <'rocat-0.75/examples/menus/artprogs'`; then
- echo shar: \"'rocat-0.75/examples/menus/artprogs'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/artprogs'
- fi
- if test -f 'rocat-0.75/examples/menus/helpgames' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/helpgames'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/helpgames'\" \(1792 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/helpgames' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Games Help
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| This is the help system. Select the number for additional help
- X0||||||| ------------------------------
- X0||||||| 1. Short Game Descriptions
- X0||||||| 2. Backgammon Manual
- X0||||||| 3. Canfield Manual
- X0||||||| 4. Cribbage Manual
- X0||||||| 5. Fish Manual
- X0||||||| 6. Hangman Manual
- X0||||||| 7. Mille Bournes Manual
- X0||||||| 8. Monopoly Manual
- X0||||||| 9. Nethack Manual
- X0||||||| a. Paranoia Manual
- X0||||||| b. Robots Manual
- X0||||||| c. Sail Manual
- X0||||||| d. Star Trek Manual
- X0||||||| e. Hunt the Wumpus Manual
- X0||||||| ------------------------------
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X8|c||||||
- X10|1|||||helpgames|
- X21|2|||||man backgammon|
- X21|3|||||man canfield|
- X21|4|||||man cribbage|
- X21|5|||||man fish|
- X21|6|||||man hangman|
- X21|7|||||man mille|
- X21|8|||||man monop|
- X21|9|||||man nethack|
- X21|a|||||man paranoia|
- X21|b|||||man robots|
- X21|c|||||man sail|
- X21|d|||||man trek|
- X21|e|||||man wump|
- X21|f|||||elm -s feedback shaw|
- X21|p|||||elm|
- X10|r|||||reg.instr|
- END_OF_FILE
- if test 1792 -ne `wc -c <'rocat-0.75/examples/menus/helpgames'`; then
- echo shar: \"'rocat-0.75/examples/menus/helpgames'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/helpgames'
- fi
- if test -f 'rocat-0.75/examples/menus/helptop' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/helptop'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/helptop'\" \(1243 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/helptop' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Help Top
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| This is the help system. Select the number for additional help
- X0||||||| ----------------------------
- X0||||||| 1. How to use TRC
- X0||||||| 2. Editors
- X0||||||| 3. News & Electronic Mail
- X0||||||| 4. Games
- X0||||||| 5. Files
- X0||||||| 6. How to register for TRC
- X0||||||| 7. Linux Help
- X0||||||| 8. Info about BBS Program
- X0||||||| ----------------------------
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X8|c||||||
- X2|1|||||helpbbs|
- X2|2|||||helpeditors|
- X2|3|||||helpemail|
- X2|4|||||helpgames|
- X2|5|||||helpfiles|
- X10|6|||||reg.instr|
- X2|7|||||helplinux|
- X10|8|||||bbsinfo|
- X21|f|||||elm -s feedback shaw|
- END_OF_FILE
- if test 1243 -ne `wc -c <'rocat-0.75/examples/menus/helptop'`; then
- echo shar: \"'rocat-0.75/examples/menus/helptop'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/helptop'
- fi
- if test -f 'rocat-0.75/examples/menus/main' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/main'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/main'\" \(1453 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/main' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Entry Vault
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| Exit
- X0|||||||
- X0||||||| <G>
- X0||||||| ----------------------------
- X0||||||| H>elp
- X0||||||| <W> P>rivate Mail <E>
- X0||||||| Art Studio -- R>egistration Instructions -- Computer Files
- X0||||||| U>tilities
- X0||400|>|||| S<Y>sop's Area
- X0||||||| C>hat with SysOp
- X0||51|<|||| L>inux Files Areas
- X0||||||| ----------------------------
- X0||||||| <S>
- X0|||||||
- X0||||||| News and Games
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X8|c||||||
- X2|y|400|>|||sysop|
- X2|e|||||computerfiles|
- X2|w|||||art_studio|
- X2|s|||||newsngames|
- X2|u|||||utilities|
- X2|l|50|<|||linuxtop|
- X21|f|||||elm -s feedback shaw|
- X2|p|||||mail|
- X10|r|||||reg.instr|
- X2|h|||||helptop|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1453 -ne `wc -c <'rocat-0.75/examples/menus/main'`; then
- echo shar: \"'rocat-0.75/examples/menus/main'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/main'
- fi
- if test -f 'rocat-0.75/examples/menus/utilities' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/utilities'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/utilities'\" \(1282 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/utilities' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Utilities
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0|||||||
- X0|||||||
- X0|||||||
- X0||||||| ----------------------------
- X0||||||| L>ist Users
- X0||||||| S>earch for User
- X0||||||| C>hange Password
- X0||||||| U>ser Settings Change
- X0||||||| E>ntry Vault
- X0||||||| N>ew User Message
- X0||||||| ----------------------------
- X0|||||||
- X0|||||||
- X0|||||||
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X3|e|||||main|
- X7|u||||||
- X4|s||||||
- X5|l||||||
- X21|f|||||elm -s feedback shaw|
- X21|c|||||passwd|
- X10|n|||||newuser.msg|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1282 -ne `wc -c <'rocat-0.75/examples/menus/utilities'`; then
- echo shar: \"'rocat-0.75/examples/menus/utilities'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/utilities'
- fi
- if test -f 'rocat-0.75/examples/menus/wintop' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/examples/menus/wintop'\"
- else
- echo shar: Extracting \"'rocat-0.75/examples/menus/wintop'\" \(1235 characters\)
- sed "s/^X//" >'rocat-0.75/examples/menus/wintop' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Windows Files Area
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0|||||||
- X0||||||| ----------------------------
- X0||||||| 1> Applications
- X0||||||| 2> Games
- X0||||||| 3> Compression Programs
- X0||||||| 4> Sounds
- X0||||||| 5> Utilities
- X0||||||| 6> Communications Programs
- X0||||||| 7> Drivers
- X0||||||| H>elp
- X0||||||| L>ogoff
- X0||||||| ----------------------------
- X0|||||||
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X2|l|||||logoff|
- X2|1|||||winapps|
- X2|2|||||wingames|
- X2|3|||||wincomp|
- X2|4|||||winsounds|
- X2|5|||||winutils|
- X2|6|||||wincomm|
- X2|7|||||windrivrs|
- X21|f|||||elm -s feedback shaw|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1235 -ne `wc -c <'rocat-0.75/examples/menus/wintop'`; then
- echo shar: \"'rocat-0.75/examples/menus/wintop'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/examples/menus/wintop'
- fi
- if test -f 'rocat-0.75/filehdr/bbs_files_hdr' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/filehdr/bbs_files_hdr'\"
- else
- echo shar: Extracting \"'rocat-0.75/filehdr/bbs_files_hdr'\" \(2086 characters\)
- sed "s/^X//" >'rocat-0.75/filehdr/bbs_files_hdr' <<'END_OF_FILE'
- X#
- X# files header for the BBS. Should contain one entry for every files area
- X# on the BBS
- X# format: filename sysop_name access_level download_path upload_path age_to_delete_files long_name_of_area
- X#
- X
- X# dos files areas
- X[ dosapps shaw 0 dos/apps uploads 0 Dos Applications ]
- X[ doscomm shaw 0 dos/comm uploads 0 Dos Communications Programs ]
- X[ doscomp shaw 0 dos/compress uploads 0 Dos Compression Programs ]
- X[ dosdrivrs shaw 0 dos/drivrs uploads 0 Dos Drivers ]
- X[ dosgames shaw 0 dos/games uploads 0 Dos Games ]
- X[ dossounds shaw 0 dos/sounds uploads 0 Dos Sounds ]
- X[ dosutils shaw 0 dos/utils uploads 0 Dos Utilities ]
- X
- X# windows files areas
- X[ winapps shaw 0 windows/apps uploads 0 Windows Applications ]
- X[ wincomm shaw 0 windows/comm uploads 0 Windows Communications Programs ]
- X[ wincomp shaw 0 windows/compress uploads 0 Windows Compression Programs ]
- X[ windrivrs shaw 0 windows/drivrs uploads 0 Windows Drivers ]
- X[ wingames shaw 0 windows/games uploads 0 Windows Games ]
- X[ winsounds shaw 0 windows/sounds uploads 0 Windows Sounds ]
- X[ winutils shaw 0 windows/utils uploads 0 Windows Utilities ]
- X
- X# Macintosh files areas
- X[ macapps shaw 0 macintosh/apps uploads 0 Macintosh Applications ]
- X[ maccomm shaw 0 macintosh/comm uploads 0 Macintosh Communications Programs ]
- X[ maccomp shaw 0 macintosh/compress uploads 0 Macintosh Compression Programs ]
- X[ macgames shaw 0 macintosh/games uploads 0 Macintosh Games ]
- X[ macinits shaw 0 macintosh/inits uploads 0 Macintosh CDEVs and INITs ]
- X[ macsounds shaw 0 macintosh/sounds uploads 0 Macintosh Sounds ]
- X[ macutils shaw 0 macintosh/utils uploads 0 Macintosh Utilities ]
- X[ macbbs shaw 0 macintosh/bbs uploads 0 Macintosh BBS Programs ]
- X
- X# picture areas
- X[ fracts shaw 0 pictures/other/fracts uploads 0 Fractal Pictures ]
- X[ other shaw 0 pictures/other/other uploads 0 Other Pictures ]
- X[ planes shaw 0 pictures/other/planes uploads 0 Airplane Pictures ]
- X[ cars shaw 0 pictures/other/cars uploads 0 Car Pictures ]
- X[ space shaw 0 pictures/other/space uploads 0 Space Pictures ]
- X[ artprogs shaw 0 pictures/progs/ uploads 0 Graphics (Art) Programs ]
- X
- END_OF_FILE
- if test 2086 -ne `wc -c <'rocat-0.75/filehdr/bbs_files_hdr'`; then
- echo shar: \"'rocat-0.75/filehdr/bbs_files_hdr'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/filehdr/bbs_files_hdr'
- # end of 'rocat-0.75/filehdr/bbs_files_hdr'
- fi
- if test -f 'rocat-0.75/menus/main' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/menus/main'\"
- else
- echo shar: Extracting \"'rocat-0.75/menus/main'\" \(1453 characters\)
- sed "s/^X//" >'rocat-0.75/menus/main' <<'END_OF_FILE'
- X0||||||| Roman Catacombs Entry Vault
- X0||||||| ---------------------------------------------------------------------------
- X0|||||||
- X0||||||| Exit
- X0|||||||
- X0||||||| <G>
- X0||||||| ----------------------------
- X0||||||| H>elp
- X0||||||| <W> P>rivate Mail <E>
- X0||||||| Art Studio -- R>egistration Instructions -- Computer Files
- X0||||||| U>tilities
- X0||400|>|||| S<Y>sop's Area
- X0||||||| C>hat with SysOp
- X0||51|<|||| L>inux Files Areas
- X0||||||| ----------------------------
- X0||||||| <S>
- X0|||||||
- X0||||||| News and Games
- X0|||||||
- X0||||||| ---------------------------------------------------------------------------
- X0||||||| <-> Previous Menu <F> Feedback to SysOp <G> Quick Logout
- X1|g||||||
- X3|-||||||
- X8|c||||||
- X2|y|400|>|||sysop|
- X2|e|||||computerfiles|
- X2|w|||||art_studio|
- X2|s|||||newsngames|
- X2|u|||||utilities|
- X2|l|50|<|||linuxtop|
- X21|f|||||elm -s feedback shaw|
- X2|p|||||mail|
- X10|r|||||reg.instr|
- X2|h|||||helptop|
- X2|h|||||helptop|
- END_OF_FILE
- if test 1453 -ne `wc -c <'rocat-0.75/menus/main'`; then
- echo shar: \"'rocat-0.75/menus/main'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/menus/main'
- fi
- if test -f 'rocat-0.75/src/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/Makefile'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/Makefile'\" \(2021 characters\)
- sed "s/^X//" >'rocat-0.75/src/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for the rocat BBS System
- X# Copyright C 1994 by Gregory Shaw
- X#
- X# Don't look here! The docs are in the doc directory.
- X#
- X# Also: Don't forget to do a 'make depend' prior to 'make'!
- X
- XCC=gcc
- XCFLAGS= -g -D_POSIX_SOURCE -Wall
- XLIBS=-lm
- X
- X
- X.SUFFIXES: .C .o
- X
- X.C.o:
- X $(CC) -c $(CFLAGS) $<
- X
- X
- XHDRS= bbs.h bbsint.h errlog.h menu.h user.h bbshdr.h bbsipc.h filelock.h \
- X ports.h bbsinfo.h socket.h sysexec.h
- X
- X
- X
- Xall: bbs
- X
- Xbackup: clean
- X cd ../..;tar cvf /dev/fd0H1440 rocat
- X @echo Backup complete!
- X
- Xbbs: bbs.o user.o bbsint.o bbsipc.o bbsinfo.o errlog.o filelock.o \
- X menu.o files.o dllist.o moncon.o sysexec.o
- X $(CC) -g -o bbs bbs.o user.o filelock.o bbsint.o bbsipc.o menu.o \
- X bbsinfo.o errlog.o dllist.o files.o moncon.o sysexec.o $(LIBS)
- X
- Xbbsipc: bbsipc.o
- X
- Xclean:
- X rm -f *.o
- X rm -f core
- X rm -f bbs
- X rm -f *test
- X rm -f errlogd
- X rm -f monitor
- X rm -f fileutil
- X
- Xdepend:
- X makedepend *.C
- X
- Xdltest: dltest.o dllist.o
- X $(CC) -o dltest dltest.o dllist.o
- X
- Xerrlogd: errlogd.o
- X $(CC) -c $(CFLAGS) -D_SERVER_ errlogd.C
- X $(CC) -c $(CFLAGS) -D_SERVER_ bbsipc.C
- X $(CC) -o errlogd errlogd.o bbsipc.o $(LIBS)
- X
- Xfileutil: files.o dllist.o fileutil.o user.o bbsint.o bbsipc.o \
- X bbsinfo.o errlog.o filelock.o menu.o moncon.o sysexec.o
- X $(CC) -o fileutil files.o fileutil.o dllist.o user.o filelock.o \
- X bbsint.o bbsipc.o menu.o bbsinfo.o errlog.o moncon.o \
- X sysexec.o $(LIBS)
- X
- Xfilesupdate: filesupdate.o
- X $(CC) -o filesupdate filesupdate.o
- X
- X
- Xinstall: bbs errlogd fileutil monitor
- X strip bbs errlogd fileutil monitor
- X cp fileutil $(BBSDIR)/bin
- X chmod 775 bbs
- X rm -f $(BBSDIR)/rocat
- X cp bbs $(BBSDIR)/rocat
- X chgrp bbs $(BBSDIR)/rocat
- X chmod g+s $(BBSDIR)/rocat
- X chmod 775 monitor
- X chgrp bbs monitor
- X cp monitor $(BBSDIR)/bin
- X chmod 775 errlogd
- X chgrp bbs errlogd
- X chmod g+s errlogd
- X cp errlogd $(BBSDIR)/bin
- X
- Xmonitor: bbsint.o
- X $(CC) -c $(CFLAGS) -D_SERVER_ bbsipc.C
- X $(CC) -c $(CFLAGS) -D_SERVER_ monitor.C
- X $(CC) -g -o monitor monitor.o bbsipc.o $(LIBS)
- X
- X# dependancies
- X
- X# DO NOT DELETE THIS LINE -- make depend depends on it.
- END_OF_FILE
- if test 2021 -ne `wc -c <'rocat-0.75/src/Makefile'`; then
- echo shar: \"'rocat-0.75/src/Makefile'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/Makefile'
- # end of 'rocat-0.75/src/Makefile'
- fi
- if test -f 'rocat-0.75/src/Makefile.dist' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/Makefile.dist'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/Makefile.dist'\" \(1955 characters\)
- sed "s/^X//" >'rocat-0.75/src/Makefile.dist' <<'END_OF_FILE'
- X#
- X# Makefile for the rocat BBS System
- X# Copyright C 1994 by Gregory Shaw
- X#
- X# Don't look here! The docs are in the doc directory.
- X#
- X# Also: Don't forget to do a 'make depend' prior to 'make'!
- X
- XCC=gcc
- XCFLAGS= -g -D_POSIX_SOURCE -Wall
- XLIBS=-lm
- X
- X
- X.SUFFIXES: .C .o
- X
- X.C.o:
- X $(CC) -c $(CFLAGS) $<
- X
- X
- XHDRS= bbs.h bbsint.h errlog.h menu.h user.h bbshdr.h bbsipc.h filelock.h \
- X ports.h bbsinfo.h socket.h sysexec.h
- X
- X
- X
- Xall: bbs
- X
- Xbackup: clean
- X cd ../..;tar cvf /dev/fd0H1440 rocat
- X @echo Backup complete!
- X
- Xbbs: bbs.o user.o bbsint.o bbsipc.o bbsinfo.o errlog.o filelock.o \
- X menu.o files.o dllist.o moncon.o sysexec.o
- X $(CC) -g -o bbs bbs.o user.o filelock.o bbsint.o bbsipc.o menu.o \
- X bbsinfo.o errlog.o dllist.o files.o moncon.o sysexec.o $(LIBS)
- X
- Xbbsipc: bbsipc.o
- X
- Xclean:
- X rm -f *.o
- X rm -f core
- X rm -f bbs
- X rm -f *test
- X rm -f errlogd
- X rm -f monitor
- X rm -f fileutil
- X
- Xdepend:
- X makedepend *.C
- X
- Xdltest: dltest.o dllist.o
- X $(CC) -o dltest dltest.o dllist.o
- X
- Xerrlogd: errlogd.o
- X $(CC) -c $(CFLAGS) -D_SERVER_ errlogd.C
- X $(CC) -c $(CFLAGS) -D_SERVER_ bbsipc.C
- X $(CC) -o errlogd errlogd.o bbsipc.o $(LIBS)
- X
- Xfileutil: files.o dllist.o fileutil.o user.o bbsint.o bbsipc.o \
- X bbsinfo.o errlog.o filelock.o menu.o moncon.o sysexec.o
- X $(CC) -o fileutil files.o fileutil.o dllist.o user.o filelock.o \
- X bbsint.o bbsipc.o menu.o bbsinfo.o errlog.o moncon.o \
- X sysexec.o $(LIBS)
- X
- Xinstall: bbs errlogd fileutil monitor
- X strip bbs errlogd fileutil monitor
- X cp fileutil $(BBSDIR)/bin
- X chmod 775 bbs
- X rm -f $(BBSDIR)/rocat
- X cp bbs $(BBSDIR)/rocat
- X chgrp bbs $(BBSDIR)/rocat
- X chmod g+s $(BBSDIR)/rocat
- X chmod 775 monitor
- X chgrp bbs monitor
- X cp monitor $(BBSDIR)/bin
- X chmod 775 errlogd
- X chgrp bbs errlogd
- X chmod g+s errlogd
- X cp errlogd $(BBSDIR)/bin
- X
- Xmonitor: bbsint.o
- X $(CC) -c $(CFLAGS) -D_SERVER_ bbsipc.C
- X $(CC) -c $(CFLAGS) -D_SERVER_ monitor.C
- X $(CC) -g -o monitor monitor.o bbsipc.o $(LIBS)
- X
- X# dependancies
- X
- X# DO NOT DELETE THIS LINE -- make depend depends on it.
- END_OF_FILE
- if test 1955 -ne `wc -c <'rocat-0.75/src/Makefile.dist'`; then
- echo shar: \"'rocat-0.75/src/Makefile.dist'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/Makefile.dist'
- # end of 'rocat-0.75/src/Makefile.dist'
- fi
- if test -f 'rocat-0.75/src/bbs.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/bbs.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/bbs.h'\" \(1475 characters\)
- sed "s/^X//" >'rocat-0.75/src/bbs.h' <<'END_OF_FILE'
- X// Filename: bbs.h
- X// Contents: the bbs object definitions
- X// Author: Greg Shaw
- X// Created: 5/28/93
- X
- X/*
- X
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _BBS_H_
- X#define _BBS_H_
- X
- X#define SYSMSGFLAGS 0x20000000 // the low flags number for system message shown flag
- X#define MENU_STACK_SIZE 30 // 30 menus max stack depth
- X#define MENU_NAME_LEN 50 // 15 chars max per menu name
- X
- X#endif // _BBS_H_
- END_OF_FILE
- if test 1475 -ne `wc -c <'rocat-0.75/src/bbs.h'`; then
- echo shar: \"'rocat-0.75/src/bbs.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/bbs.h'
- # end of 'rocat-0.75/src/bbs.h'
- fi
- if test -f 'rocat-0.75/src/bbsint.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/bbsint.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/bbsint.h'\" \(3231 characters\)
- sed "s/^X//" >'rocat-0.75/src/bbsint.h' <<'END_OF_FILE'
- X// Filename: bbsint.h
- X// Contents: the bbs interface object definition
- X// Author: Greg Shaw
- X// Created: 7/12/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _BBSINT_H_
- X#define _BBSINT_H_
- X
- X// Object: bbsint
- X// Purpose: interface the bbs to the user. Input/output.
- X// Attributes:
- X// cur_colors[2]; current screen colors (0 - fore, 1 - back)
- X// cur_pos[2]; current position of cursor
- X// Methods: gstr - get a string from the user
- X// gch - get a character from the user
- X// sstr - send a string to the user
- X// sstrcr - send a string to the user (with cr)
- X// char_avail - is a character available for reading?
- X// redf - go to red foreground
- X// bluef - go to blue foreground
- X// greenf - go to green foreground
- X// redb - go to red background
- X// blueb - go to blue background
- X// greenb - go to green background
- X// cr - just send carriage return
- X// clear - clear the user's screen
- X// connect_monitor - try to connect to monitor
- X// yesno - get a yes or no character from user
- X// Author: Greg Shaw
- X// Created: 7/12/93
- X
- Xclass bbsint: public sysexec
- X{
- X struct termios rbuf; // termio settings (for regular io)
- X char tstate; // terminal state - char or reg.
- X int cur_colors[2]; // current screen colors (0 - fore, 1 - back)
- X char cur_pos[2]; // current position of cursor
- Xpublic:
- X
- X bbsint(); // constructor
- X char_avail(int who, int timeout); // poll for character available
- X clear(void); // attempt to clear screen
- X connect_monitor(void); // attempt to connect to monitor process
- X void cr(void); // send carriage return to user
- X display_file(char *path, char page); // display file for user
- X char gch(int wait); // get a character from user
- X void sch(char ch); // send character to user
- X gstr(char *str, int maxlen); // get a string from the user
- X sstr(char *str); // send character
- X sstrcr(char *str); // send character with cr
- X sysopstrcr(char *str); // send character with cr to sysop only.
- X void term_mode(int type);// setup terminal mode for nonblock reads
- X void waitcr(void); // prompt user to hit CR
- X yesno(void); // get a yes or no answer from user
- X};
- X
- X#endif // _BBSINT_H_
- END_OF_FILE
- if test 3231 -ne `wc -c <'rocat-0.75/src/bbsint.h'`; then
- echo shar: \"'rocat-0.75/src/bbsint.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/bbsint.h'
- # end of 'rocat-0.75/src/bbsint.h'
- fi
- if test -f 'rocat-0.75/src/bbsipc.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/bbsipc.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/bbsipc.h'\" \(2963 characters\)
- sed "s/^X//" >'rocat-0.75/src/bbsipc.h' <<'END_OF_FILE'
- X// Filename: bbsipc.h
- X// Contents: the definitions for the bbs ipc (socket interface) object
- X// Author: Greg Shaw
- X// Created: 6/13/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _BBSIPC_H_
- X#define _BBSIPC_H_
- X
- X// generic defines
- X#define ETX 0x3 // end of transmission
- X
- X// Class: bbsipc
- X// Purpose: the interface object for the bbs ipc processes
- X// Members:
- X// socket - the socket connected (or not connected) to
- X// transient - are we using transient operation?
- X// sock_open - is the socket open?
- X// Methods:
- X// constructor - initialize object
- X// destructor - close socket (if open)
- X// opensock() - open socket
- X// closesock() - close socket
- X// send() - send a message
- X// msg_avail() - is a message available
- X// receive() - receive message
- X// do_connect() - receive message
- X// two_connect() - connect to server, get socket, disconnect,
- X// reconnect with new socket number
- X// Notes: this object shouldn't be a directly addressible object -- it
- X// should be inherited if at all possible.
- X// Author: Greg Shaw
- X// Created: 6/13/93
- X
- Xclass bbsipc
- X{
- X int sock_fd; // socket file descriptor (for read and write)
- X int serv_sock_fd; // socket file descriptor (for read and write)
- X int sockt; // socket to use for communication
- X char server; // server mode?
- X char hostname[255]; // hostname connected to
- X char sock_open; // is socket open and ready for communication?
- X char connected; // is socket connected?
- Xpublic:
- X bbsipc(); // init object
- X ~bbsipc(); // close socket (if applicable)
- X open_sock(char *name, int socknum); // open socket
- X close_sock(int client_only); // close open socket
- X send(char *msg); // send a message
- X msg_avail(char wait); // is a message available?
- X receive(char *msg); // recieve a message
- X do_connect(void); // get a connection (server only)
- X two_connect(char *name, int socknum); // see above
- X};
- X
- X
- X
- X#endif // _BBSIPC_H_
- END_OF_FILE
- if test 2963 -ne `wc -c <'rocat-0.75/src/bbsipc.h'`; then
- echo shar: \"'rocat-0.75/src/bbsipc.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/bbsipc.h'
- # end of 'rocat-0.75/src/bbsipc.h'
- fi
- if test -f 'rocat-0.75/src/dllist.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/dllist.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/dllist.h'\" \(3231 characters\)
- sed "s/^X//" >'rocat-0.75/src/dllist.h' <<'END_OF_FILE'
- X// Filename: dllist.h
- X// Contents: the object definition for the doubly linked list object
- X// Author: Greg Shaw
- X// Created: 8/2/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _DLLIST_H_
- X#define _DLLIST_H_
- X
- X#include "bbshdr.h"
- X
- X
- X// Structure: finfo
- X// Contents: the record for a file in a files section
- X// Author: Greg Shaw
- X// Created: 8/1/93
- X
- Xtypedef struct finfo
- X{
- X char name[MAX_FILENAMELENGTH+1]; // name of file
- X char sdesc[61]; // short description
- X char uploader[41]; // name of uploader
- X char avail; // is file online and available?
- X time_t date; // date of upload
- X int numdls; // number of times downloaded
- X unsigned long filepos; // position in file of description
- X unsigned long size; // size of file
- X struct finfo *next; // next record
- X struct finfo *previous; // previous record
- X};
- X
- Xtypedef struct finfo FInfo;
- X
- X// Object: dllist
- X// Purpose: encapsulate a dynamically linked list object with
- X// self-sorting capabilities.
- X// Attributes: numrec - number of records in list
- X// head - head of list
- X// tail - tail of list
- X// sortstate - the current sorted state:
- X// 0 - unsorted (just loaded)
- X// 1 - ascending by date
- X// 2 - ascending by alphabetic
- X// Methods: add - add to list
- X// open - read in files section
- X// clear - nuke list
- X// sort - sort list (by key)
- X// previous - return 'previous' record
- X// next - return 'next' record
- X// Author: Greg Shaw
- X// Created: 8/2/93
- X
- Xclass dllist : public errlog
- X{
- X int numrec; // number of records in list
- X FInfo *head; // head of list
- X FInfo *tail; // tail (end) of list
- X FInfo *here; // current list record pointer
- X int sortstate; // current sorted state
- X sel_sort(int srtype, FInfo *head); // sort records by type
- Xpublic:
- X dllist(); // constructor
- X ~dllist(); // destructor
- X add(FInfo *rec); // add to list
- X clear_list(void); // nuke list
- X sort(int type); // sort list
- X top(void); // go to head of list
- X bottom(void); // go to tail of list
- X numrecs(void) { return(numrec); }; // return number of records
- X FInfo *previous(void); // previous record
- X FInfo *next(void); // next record
- X FInfo *find(char *str); // search record for string
- X};
- X
- X
- X#endif // _DLLIST_H_
- END_OF_FILE
- if test 3231 -ne `wc -c <'rocat-0.75/src/dllist.h'`; then
- echo shar: \"'rocat-0.75/src/dllist.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/dllist.h'
- # end of 'rocat-0.75/src/dllist.h'
- fi
- if test -f 'rocat-0.75/src/errlog.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/errlog.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/errlog.h'\" \(1872 characters\)
- sed "s/^X//" >'rocat-0.75/src/errlog.h' <<'END_OF_FILE'
- X// Filename: errlog.h
- X// Contents: the error logger object. Used in the entire BBS system to
- X// serve as a cental error repository
- X// Author: Greg Shaw
- X// Created: 7/11/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _ERRLOG_H_
- X#define _ERRLOG_H_
- X
- X// Object: errlog
- X// Purpose: serve as the central BBS error logging function
- X// Attributes:
- X// none
- X// Methods:
- X// ap_log append to the log file
- X// er_log append to log file and abort program (should be rarely used)
- X// Author: Greg Shaw
- X// Created: 7/11/93
- X
- Xclass errlog: public bbsipc, public bbsinfo// inherited from bbsipc object
- X{ // and bbsinfo object
- X bbsipc ipcobj; // ipc object
- Xpublic:
- X ap_log(char *msg); // append to log file
- X er_log(char *msg); // append to log file and exit
- X};
- X
- X#endif // _ERRLOG_H_
- END_OF_FILE
- if test 1872 -ne `wc -c <'rocat-0.75/src/errlog.h'`; then
- echo shar: \"'rocat-0.75/src/errlog.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/errlog.h'
- # end of 'rocat-0.75/src/errlog.h'
- fi
- if test -f 'rocat-0.75/src/filelock.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/filelock.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/filelock.h'\" \(2027 characters\)
- sed "s/^X//" >'rocat-0.75/src/filelock.h' <<'END_OF_FILE'
- X// Filename: filelock.h
- X// Contents: the file locking object used by the bbs system to
- X// automatically implement file locking everywhere.
- X// Author: Greg Shaw
- X// Created: 7/24/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _FLOCK_H_
- X#define _FLOCK_H_
- X
- X#include "bbshdr.h" // include all headers
- X
- X// Object: filelock
- X// Purpose: implement automatic file locking in the bbs
- X// Attributes: none
- X// Methods:
- X// Notes: This object will automatically do file locking on any
- X// number of files.
- X// Author: Greg Shaw
- X// Created: 7/24/93
- X
- Xclass filelock: public errlog // inherited from errlog
- X{
- X FILE *file_list[MAX_FILES]; // list of open files
- X set_lock(char type, int fptr); // set a file lock
- X clear_lock(int fptr); // clear all locks on file
- Xpublic:
- X filelock(); // constructor
- X ~filelock(); // destructor
- X FILE *bopen(char *path, char *mode); // open a file
- X bclose(FILE *fptr); // close a file
- X};
- X
- X#endif // _FLOCK_H_
- END_OF_FILE
- if test 2027 -ne `wc -c <'rocat-0.75/src/filelock.h'`; then
- echo shar: \"'rocat-0.75/src/filelock.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/filelock.h'
- # end of 'rocat-0.75/src/filelock.h'
- fi
- if test -f 'rocat-0.75/src/files.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/files.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/files.h'\" \(3291 characters\)
- sed "s/^X//" >'rocat-0.75/src/files.h' <<'END_OF_FILE'
- X// Filename: files.h
- X// Contents: the files management object
- X// Author: Greg Shaw
- X// Created: 7/27/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _FILES_H_
- X#define _FILES_H_
- X
- X#include "bbshdr.h"
- X
- X// Object: files
- X// Purpose: encapsulate all file operations for the BBS. this includes
- X// upload, download, deletion, descriptions, automatic
- X// checking, etc.
- X// Attributes: up_path - upload directory (where to place uploads)
- X// dn_path - download directory (where files reside normally)
- X// acl - access level for this section
- X// num_files - number of files in section
- X// name - name of section
- X// age - age of file for automatic deletion
- X// sysop - sysop's (if sub) login (for mail)
- X// long_desc - long description of files area
- X// Methods:
- X// Author: Greg Shaw
- X// Created: 7/27/93
- X
- Xclass files: public bbsint
- X{
- X char up_path[255]; // upload path
- X int acl; // access level of section
- X int num_files; // number of files in section
- X char name[15]; // name of section
- X int age; // age at which to delete files (days)
- X char sysop[15]; // sysop of section
- X FInfo *selfiles[20]; // selected files for download (20 max)
- X int numsel; // number of selected files
- X int ksel; // number of K selected
- X CardRec *thisuser; // user card
- X char long_desc[51]; // long description of files area
- Xpublic:
- X char dn_path[255]; // download path
- X dllist list_obj; // list object
- X files(); // constructor
- X open(char *name, CardRec *user); // open section
- X download(FInfo *list[], int numfiles, int increment);// download file(s)
- X upload(char *uname, char *editor, int *credit); // upload file(s)
- X list(int can_download, CardRec *user, int *kused, time_t since_time, float uratio); // list files
- X search(int can_download);// search files section for something
- X one_download(int *kused, float uratio, char *filename, int counts); // download one file
- X info(FInfo *fptr, char ldesc[3][100], char *machreq); // get detailed info on file
- X create();
- X increment_dls(FInfo *list[], int numfiles);// increment # of downloads field
- X update_information(FInfo *item, char *origname, char desc[3][100], char *machreq, int del);// update file information
- X edit_file(FInfo *item); // edit a file entry
- X};
- X
- X
- X#endif // _FILES_H_
- END_OF_FILE
- if test 3291 -ne `wc -c <'rocat-0.75/src/files.h'`; then
- echo shar: \"'rocat-0.75/src/files.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/files.h'
- # end of 'rocat-0.75/src/files.h'
- fi
- if test -f 'rocat-0.75/src/fileutil.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/fileutil.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/fileutil.h'\" \(2389 characters\)
- sed "s/^X//" >'rocat-0.75/src/fileutil.h' <<'END_OF_FILE'
- X// Filename: fileutil.h
- X// Contents: the methods for the files utility object
- X// Author: Greg Shaw
- X// Created: 8/24/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _FILEUTIL_H_
- X#define _FILEUTIL_H_
- X
- X#include "bbshdr.h"
- X
- X// days to look back in new files search
- X#define DAYS 7 // look for new files in last 7 days
- X#define MAX_RECS 20 // display 20 most popular files
- X
- X// Class: fileutil
- X// Purpose: add some additional functions to the files object
- X// Attributes: filelist - list of files (general use)
- X// Methods: update - update files sections (for new and removed files)
- X// most - create list of most popular files for entire BBS
- X// newfiles - create list of new files lately
- X// cycle_sections - cycle through all possible sections doing
- X// a command.
- X// Author: Greg Shaw
- X// Created: 8/24/93
- X
- Xclass fileutil:public files
- X{
- X char sec[MAX_RECS][80]; // section name
- X FInfo recs[MAX_RECS];
- X int numrecs;
- Xpublic:
- X fileutil(); // constructor
- X update(char *section); // update a section
- X most(char *section);// search for most popular files
- X delete_missing(char *sname, char *secname);// delete missing files
- X newfiles(char *section, FILE *outfile);// search for new files in # days
- X cycle_sections(int type, char *fname);// cycle sections to do one of the above functions
- X};
- X
- X#endif // _FILEUTIL_H_
- END_OF_FILE
- if test 2389 -ne `wc -c <'rocat-0.75/src/fileutil.h'`; then
- echo shar: \"'rocat-0.75/src/fileutil.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/fileutil.h'
- # end of 'rocat-0.75/src/fileutil.h'
- fi
- if test -f 'rocat-0.75/src/moncon.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/moncon.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/moncon.h'\" \(3227 characters\)
- sed "s/^X//" >'rocat-0.75/src/moncon.h' <<'END_OF_FILE'
- X// Filename: moncon.h
- X// Contents: the sysop monitor connection object
- X// Author: Greg Shaw
- X// Created: 8/26/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _MONCON_H_
- X#define _MONCON_H_
- X
- X// monitor message definitions
- X#define MONITOR_ON "\to\tn\t" // tab-o-tab-n-tab
- X#define MONITOR_OFF "\to\tf\tf" // tab-o-tab-f-tab-f
- X#define COMMAND_MSG "\tc\tm" // command signal
- X#define LOGOFF_CMD 0x1 // log the user off
- X#define NASTY_LOGOFF 0x2 // log off with noise
- X#define USER_REREAD 0x3 // re-read user info from userlog
- X#define SYSOP_CHAT 0x4 // sysop wants to chat
- X
- X// buffer size definitions
- X#define CBUF_MAX 100 // character buffer size
- X#define COMMANDS_MAX 20 // commands buffer size
- X
- X#ifndef _SERVER_ // server shouldn't know about this object
- X// Object: MonCon
- X// Purpose: the sysop monitor connection object
- X// Attributes:
- X// watch_on; is sysop process 'watching'?
- X// mon_connected; is sysop monitor process connected?
- X// last_attempt; last connection attempt time (10 sec between)
- X// Methods:
- X// connected - is monitor connected?
- X// watching - is sysop watch on?
- X// get_msg - get a message from the monitor process
- X// connect_monitor - try to connect to monitor
- X// Author: Greg Shaw
- X// Created: 7/12/93
- X
- Xclass moncon: public filelock
- X{
- X bbsipc ipc_obj; // monitor interface object
- X char watch_on; // is sysop process 'watching'?
- X char mon_connected; // is sysop monitor process connected?
- X time_t last_attempt; // last connection attempt time (10 sec between)
- X char cbuf[CBUF_MAX]; // character buffer storage for chars from monitor
- X int cstart,cend; // start and end of char buffer
- X int commands[COMMANDS_MAX]; // buffer for commands from monitor
- X int costart,coend; // start and end of commands buffer
- Xpublic:
- X moncon(); // constructor
- X char get_char(void); // get character from monitor
- X int connect_mon(void); // attempt to connect to monitor process
- X int watching(void); // is sysop watching?
- X int connected(void); // is monitor connected?
- X int get_command(void); // get a command from the monitor
- X int send_monitor(char *msg); // send a message to the monitor
- X};
- X#endif
- X
- X#endif // _MONCON_H_
- END_OF_FILE
- if test 3227 -ne `wc -c <'rocat-0.75/src/moncon.h'`; then
- echo shar: \"'rocat-0.75/src/moncon.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/moncon.h'
- # end of 'rocat-0.75/src/moncon.h'
- fi
- if test -f 'rocat-0.75/src/monitor.C' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/monitor.C'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/monitor.C'\" \(2452 characters\)
- sed "s/^X//" >'rocat-0.75/src/monitor.C' <<'END_OF_FILE'
- X// Filename: montest.C
- X// Contents: a simple program to test sysop monitor functionality
- X// Author: Greg Shaw
- X// Created: 7/23/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _MONTEST_C_
- X#define _MONTEST_C_
- X
- X#include "bbshdr.h"
- X
- X// Function: char_avail
- X// Purpose: return true of a character is available on stdin
- X// Input: none
- X// Output: true/false
- X// Author: Greg Shaw
- X// Created: 6/10/94
- X
- Xint char_avail(void)
- X{
- X struct fd_set fds[2];
- X struct timeval waittime;
- X
- X waittime.tv_sec = 0;
- X waittime.tv_usec = 100;
- X
- X
- X FD_SET(fileno(stdin), fds);
- X if (select(1,fds,NULL,NULL,&waittime))
- X return(1);
- X return(0);
- X}
- X
- Xmain()
- X{
- X bbsipc iobj; // interface (server) object
- X char msg[255];
- X char outmsg[10];
- X
- X if (iobj.open_sock(NULL,MONITOR_PORT) != 0)
- X {
- X printf("Unable to open server socket.\r\n");
- X return(0);
- X }
- X iobj.do_connect();
- X fflush(stdout);
- X iobj.send(MONITOR_ON); // turn on monitoring
- X while (1)
- X {
- X if (iobj.msg_avail(1) < 0)
- X {
- X iobj.do_connect();
- X iobj.send(MONITOR_ON); // turn on monitoring
- X }
- X else
- X {
- X if (iobj.receive(msg) < 0)
- X {
- X iobj.do_connect();
- X iobj.send(MONITOR_ON); // turn on monitoring
- X }
- X else
- X {
- X printf("%s",msg);
- X fflush(stdout);
- X }
- X if (char_avail()) // has SysOp typed something?
- X {
- X scanf("%s",outmsg); // get string
- X iobj.send(outmsg);
- X }
- X }
- X }
- X}
- X
- X#endif
- END_OF_FILE
- if test 2452 -ne `wc -c <'rocat-0.75/src/monitor.C'`; then
- echo shar: \"'rocat-0.75/src/monitor.C'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/monitor.C'
- # end of 'rocat-0.75/src/monitor.C'
- fi
- if test -f 'rocat-0.75/src/ports.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/ports.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/ports.h'\" \(1601 characters\)
- sed "s/^X//" >'rocat-0.75/src/ports.h' <<'END_OF_FILE'
- X// Filename: ports.h
- X// Contents: the definitions for every ipc port used by the bbs system.
- X// Notes: see document 'ports' in the design directory for port
- X// definitions
- X// Author: Greg Shaw
- X// Created: 7/12/93
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X
- X#ifndef _PORTS_H_
- X#define _PORTS_H_
- X
- X// error logger daemon contact port
- X//#define ERRLOG_PORT 22300
- X#define ERRLOG_PORT 22201
- X
- X// system monitor contact port
- X#define MONITOR_PORT 22301
- X
- X// chat master socket
- X#define CHAT_MASTER_PORT 22302
- X#endif // _PORTS_H_
- END_OF_FILE
- if test 1601 -ne `wc -c <'rocat-0.75/src/ports.h'`; then
- echo shar: \"'rocat-0.75/src/ports.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/ports.h'
- # end of 'rocat-0.75/src/ports.h'
- fi
- if test -f 'rocat-0.75/src/sysexec.C' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/sysexec.C'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/sysexec.C'\" \(3117 characters\)
- sed "s/^X//" >'rocat-0.75/src/sysexec.C' <<'END_OF_FILE'
- X// Filename: sysexec
- X// Contents: the object that encapsulates unusual system operations
- X// Author: Greg Shaw
- X// Created: 5/18/94
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _SYSEXEC_C_
- X#define _SYSEXEC_C_
- X
- X#include "bbshdr.h"
- X
- X// Method: constructor
- X// Function: initialize the object
- X// Author: Greg Shaw
- X// Created: 5/20/94
- X
- Xsysexec::sysexec()
- X{
- X running_pid = 0; // nothing running
- X}
- X
- X// Method: destructor
- X// Function: clean up the object
- X// Author: Greg Shaw
- X// Created: 5/20/94
- X
- Xsysexec::~sysexec()
- X{
- X if (running_pid > 0) // child running?
- X {
- X kill(running_pid,SIGHUP);
- X }
- X}
- X
- X// Method: sysint
- X// Function: serve as a system() command that correctly handles SIGHUP
- X// Input: command - the command to execute
- X// Output: (command is executed)
- X// Author: Greg Shaw
- X// Created: 5/18/94
- X
- Xint sysexec::sysint(char *command)
- X{
- X int status;
- X sigset_t mask; // old signal mask
- X
- X if (command == NULL) // null command?
- X return(1); // error
- X
- X sigprocmask(SIG_BLOCK, NULL, &mask); // get current blocked sigs mask
- X sigaddset(&mask, SIGCHLD); // add sigchld and sigquit
- X sigaddset(&mask, SIGQUIT);
- X sigprocmask(SIG_SETMASK, &mask, NULL); // set new mask
- X if (!(running_pid = fork())) {
- X
- X
- X setgid(getgid());
- X setuid(getuid());
- X
- X execl("/bin/sh", "sh", "-c", command, (char *) 0);
- X ap_log("system: exec failure");
- X exit(127);
- X }
- X if (running_pid == -1) {
- X ap_log("system: exec failure");
- X status = -1;
- X }
- X else
- X {
- X// sigprocmask(SIG_BLOCK, NULL, &mask); // get current mask
- X// sigaddset(&mask, SIGINT);
- X// sigprocmask(SIG_SETMASK, &mask, NULL); // set new mask
- X while (waitpid(running_pid, &status, 0) < 0)
- X if (errno != EINTR)
- X {
- X status = -1;
- X break;
- X }
- X }
- X running_pid = 0;
- X// sigprocmask(SIG_BLOCK, NULL, &mask); // get current mask
- X// sigdelset(&mask, SIGINT);
- X// sigdelset(&mask, SIGCHLD);
- X// sigdelset(&mask, SIGQUIT);
- X// sigprocmask(SIG_SETMASK, &mask, NULL); // set new mask
- X return(status);
- X
- X}
- X
- X
- X#endif // _SYSEXEC_C_
- END_OF_FILE
- if test 3117 -ne `wc -c <'rocat-0.75/src/sysexec.C'`; then
- echo shar: \"'rocat-0.75/src/sysexec.C'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/sysexec.C'
- # end of 'rocat-0.75/src/sysexec.C'
- fi
- if test -f 'rocat-0.75/src/sysexec.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/sysexec.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/sysexec.h'\" \(1694 characters\)
- sed "s/^X//" >'rocat-0.75/src/sysexec.h' <<'END_OF_FILE'
- X// Filename: sysexec.h
- X// Purpose: Provide system-specific operations (primarily exec)
- X// Author: Greg Shaw
- X// Created: 5/14/94
- X
- X/*
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _SYSTEM_H_
- X#define _SYSTEM_H_
- X
- X#include "bbshdr.h"
- X
- X// Object: sysexec
- X// Purpose: encapsulate unusual system operations
- X// Methods: sysint() - a sysexec() call that doesn't block SIGHUP
- X// Author: Greg Shaw
- X// Created: 5/18/94
- X
- Xclass sysexec: public filelock
- X{
- X pid_t running_pid;
- Xpublic:
- X sysexec(); // constructor
- X ~sysexec(); // destructor
- X sysint(char *command); // execute command with SIGHUP handling
- X};
- X
- X#endif // _SYSTEM_H_
- END_OF_FILE
- if test 1694 -ne `wc -c <'rocat-0.75/src/sysexec.h'`; then
- echo shar: \"'rocat-0.75/src/sysexec.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/sysexec.h'
- # end of 'rocat-0.75/src/sysexec.h'
- fi
- if test -f 'rocat-0.75/src/version.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/src/version.h'\"
- else
- echo shar: Extracting \"'rocat-0.75/src/version.h'\" \(1342 characters\)
- sed "s/^X//" >'rocat-0.75/src/version.h' <<'END_OF_FILE'
- X// Filename: version.h
- X// Contents: the current revision number of the rocat BBS System
- X// Author: Gregory Shaw
- X// Created: 6/2/94
- X
- X/*
- X
- XThis file is free software; you can redistribute it and/or modify it
- Xunder the terms of the GNU General Public License as published by the
- XFree Software Foundation; either version 2, or (at your option) any
- Xlater version.
- X
- XIn addition to the permissions in the GNU General Public License, the
- XFree Software Foundation gives you unlimited permission to link the
- Xcompiled version of this file with other programs, and to distribute
- Xthose programs without any restriction coming from the use of this
- Xfile. (The General Public License restrictions do apply in other
- Xrespects; for example, they cover modification of the file, and
- Xdistribution when not linked into another program.)
- X
- XThis file is distributed in the hope that it will be useful, but
- XWITHOUT ANY WARRANTY; without even the implied warranty of
- XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- XGeneral Public License for more details.
- X
- XYou should have received a copy of the GNU General Public License
- Xalong with this program; see the file COPYING. If not, write to
- Xthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- X
- X#ifndef _VERSION_H_
- X#define _VERSION_H_
- X
- X#define VERSION "0.75"
- X
- X
- X#endif // _VERSION_H_
- END_OF_FILE
- if test 1342 -ne `wc -c <'rocat-0.75/src/version.h'`; then
- echo shar: \"'rocat-0.75/src/version.h'\" unpacked with wrong size!
- fi
- chmod +x 'rocat-0.75/src/version.h'
- # end of 'rocat-0.75/src/version.h'
- fi
- if test -f 'rocat-0.75/text/helpTRC' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helpTRC'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helpTRC'\" \(2317 characters\)
- sed "s/^X//" >'rocat-0.75/text/helpTRC' <<'END_OF_FILE'
- XWhat is TRC?
- X
- XTRC is The Roman Catacombs, a BBS system running under UNIX on a PC-class
- Xmachine. If you want more information about the BBS platform, please see the
- X'bbs info' found in the main help menu.
- X
- XThe Roman Catacombs has the following purposes:
- X
- X 1. Serve as a central meeting place for those on Mac and/or Unix
- X platforms.
- X 2. Serve as a repository for the latest files for Mac, Unix, DOS,
- X Windows and other platforms.
- X 3. Serve as a place for persons to read news at their liesure.
- X 4. Serve as a great online game server.
- X 5. Support any programs the SysOp has written.
- X
- XThe following is a description of the rocat system for any BBS sysops that are
- Xinterested in the package. (hit 'q' to skip)
- X
- XThe Roman Catacombs is the BBS which runs on rocat, a BBS software package
- Xwritten in C++ for unix. It was written by the SysOp, Greg Shaw, due to a lack
- Xof adequate BBS software for unix. (and a desire to use the unix platform to
- Xmake running a BBS easier) Currently, rocat has the following features:
- X
- X - full error control
- X - automatic files area maintenance with auto-add capabilities.
- X - automatic files area information generation.
- X - ANSI capabilities
- X - A sysop 'watch' program that allows the sysop to monitor the BBS for
- X problems.
- X - It is built to run silently and take little system resources. A 16
- X line system could be run on a 386-33 with little problem.
- X - It uses the UNIX system as it's basis. This allows the machine to be
- X used for more than just a BBS.
- X - Any application that runs under UNIX may be used as an external to the
- X BBS. This includes games, databases, news, e-mail, and loads of
- X other programs freely available on the Internet.
- X - A full-function chat daemon comes with the package, allowing the system
- X to be used as a multi-user chat center.
- X - All error control and monitoring is done through sockets, which allows
- X the sysop to monitor the bbs through a network on another
- X machine.
- X - The BBS does not care how many people are running on the machine. If
- X the machine can handle the load, you can run as many people as
- X you wish.
- X
- XAND, best of *ALL*, the software is publically available under the GNU license.
- XIt will compile under System V Release 3.2 (Interactive) with the GNU C++
- Xcompiler (g++). Look for the source online soon.
- END_OF_FILE
- if test 2317 -ne `wc -c <'rocat-0.75/text/helpTRC'`; then
- echo shar: \"'rocat-0.75/text/helpTRC'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helpTRC'
- fi
- if test -f 'rocat-0.75/text/helpdownload' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helpdownload'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helpdownload'\" \(1344 characters\)
- sed "s/^X//" >'rocat-0.75/text/helpdownload' <<'END_OF_FILE'
- XHow to download files:
- X
- XYou may download files in several different ways. Files may be downloaded one at
- Xa time or many at a time.
- X
- XDownloading a single file:
- X
- XYou may enter the name of the file you want to download from the menu where the
- Xfiles area is, or, you may select the file (by hitting 'd') while browsing the
- Xfiles area. Note that entering the file name requires an exact match -- if it is
- Xan uppercase/lowercase name, it must be entered exactly as shown.
- X
- XAt this point, the system will ask you to select a download protocol. Select
- Xwhatever protocols your terminal package supports. Zmodem is generally the
- Xquickest and the most problem-free.
- X
- XDownloading multiple files:
- X
- XYou may download multiple files by 'm'arking them while browsing. When you're done
- Xbrowsing, you may download any or all of the files you've selected. Follow the
- Xabove for selecting the download protocol.
- X
- XSystem limits:
- X
- XFor batches, you may download up to 700K of files at any one time.
- X
- XYou must keep your upload to download ratio within 1 to 7. That is, you must
- Xupload one file for every 7 that you download. An example would be that the system
- Xwould not allow you to download if you have downloaded 8 files. You must then
- Xupload a file to regain your download priviledges.
- X
- XSee the adult area help for more information on adult access.
- X
- END_OF_FILE
- if test 1344 -ne `wc -c <'rocat-0.75/text/helpdownload'`; then
- echo shar: \"'rocat-0.75/text/helpdownload'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helpdownload'
- fi
- if test -f 'rocat-0.75/text/helpemail' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helpemail'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helpemail'\" \(1934 characters\)
- sed "s/^X//" >'rocat-0.75/text/helpemail' <<'END_OF_FILE'
- XWhat is E-Mail?
- X
- XE-Mail is electronic mail. It works worldwide -- all you need is an
- Xaddress for the person you wish to contact. (of course, they need to have
- Xan address on a computer somewhere also)
- X
- XAn example is:
- X
- Xjones@myvax.cmu.edu
- X
- XThe above address (ficticious, of course) would be an example of a user
- Xthat would be named 'jones' that has an account on myvax (that's the name
- Xof the machine) at Carnegie Mellon University. (cmu stands for Carnegie
- XMellon and .edu always refers to educational institutions)
- X
- XE-Mail need not be to people in the US. Many people send e-mail between
- Xcontinents.
- X
- XAn example:
- X
- Xnguyen@hee.tokyo.edu.jp
- X
- XThis breaks down to user 'nguyen' at hee, somewhere at tokyo university, in
- Xjapan. (the jp refers to japan) Other domains in foreign countries would
- Xinclude:
- X
- X.sw - sweden
- X.fi - finland
- X.uk - united kingdom (britain)
- X.ck - czechoslovakia
- X.de - deuchland (germany)
- X
- XThere are many more. All you need to know is who you want to contact and
- Xwhat their address is.
- X
- XHow to contact someone you've seen through 'news':
- X(see the news area for an explanation of what 'news' is)
- X
- XAs part of every news message, there is a (hopefully valid) user address.
- XIf you should want to contact someone that posted a message, you can simply
- Xreply through e-mail. After editing the message, it will be send to that
- Xperson. If everything checks out, and the mail is deliverable (meaning,
- Xit's able to get to it's recipient), the user will get the mail on his
- Xmachine. He will hopefully reply in kind by sending a return message to
- Xyou.
- X
- XPlease note that if the above fails (the mail is undeliverable), it's
- Xpossible that it my have disappeared down the dark hole that appears
- Xoccasionally to eat mail. Also note that it does take time (sometimes
- Xdays, based on how far away the machine that the user uses is) for the
- Xe-mail to get there. If you don't hear back within a week, consider the
- Xmail 'gone'.
- X
- X
- END_OF_FILE
- if test 1934 -ne `wc -c <'rocat-0.75/text/helpemail'`; then
- echo shar: \"'rocat-0.75/text/helpemail'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helpemail'
- fi
- if test -f 'rocat-0.75/text/helplinuxhow' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helplinuxhow'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helplinuxhow'\" \(2444 characters\)
- sed "s/^X//" >'rocat-0.75/text/helplinuxhow' <<'END_OF_FILE'
- XHow do I get Linux?
- X
- X Linux is distributed via floppy (generally) or you can order a
- XCD-ROM from some companies for approximately $80.00. Currently, Linux is
- Xdestributes via floppy in two major sets.
- X
- X Since nobody owns Linux, there have been a number of attempts to
- Xpackage Linux for the "most" usefulness. Currently, there are two major
- Xdistributions, Soft Landing System (SLS) and Slackware. The SLS
- Xdistribution is easier to install at the penalty of using an older release
- Xof Linux. The Slackware release is harder to install, but is generally
- Xmore up-to-date and more complete. You can decide whichever release you
- Xwish -- both are available on the BBS. It should be noted, however, that
- Xmost people start installation the first time with the SLS, as it's easier
- Xto understand and gives a better grasp of Linux for beginners.
- X
- X The entire source code for Linux is available. The BBS currently
- Xdoesn't carry the source for Linux (not enough space -- it's running
- Xbetween 150 and 200 megs right now), but it should be in the future.
- X
- XDownloading Linux:
- X
- X Since both Linux distributions are available online, you need to
- Xdecide which you want to use. After that point, you need to decide what
- Xfeatures you want your Linux system to have. Currently, the following are
- Xavailable:
- X
- X (Note: You can mix and match both SLS and Slackware distributions)
- X
- X In the Slackware distribution:
- X A - the base system. Required for everything. Comes with
- X networking, news, c/c++, mail.
- X E - Emacs
- X F - The current Linux Frequently Asked Questions (FAQs).
- X (a *MUST* for the new user)
- X IV- InterViews development libraries. Requires X.
- X OOP - Object oriented Programming. Currently just GNU
- X Smalltalk.
- X TCL - Tcl/Tk script language and X windows toolkit.
- X (needed only for TCL development)
- X Q - A 'Questionable' series. A bunch of alpha development
- X for Linux along with a couple of kernels - one for
- X SCSI and one for IDE.
- X X - X Windows (XFree86 2.0) base system.
- X XAP - X Windows Applications (needed).
- X XD - X Windows program/server development.
- X XV - XView 3.2 (OpenLook Window Manager)
- X (not needed by most unless you do a lot on Suns)
- X Y - Games - text games among others.
- X
- X In the SLS distribution:
- X A - the base system. Much like Slackware, but easier to
- X install.
- X B -
- X C -
- X D -
- X S -
- X T - TeX - the TeX processing system
- X X - X Windows - the entire thing (runtime, development, etc)
- END_OF_FILE
- if test 2444 -ne `wc -c <'rocat-0.75/text/helplinuxhow'`; then
- echo shar: \"'rocat-0.75/text/helplinuxhow'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helplinuxhow'
- fi
- if test -f 'rocat-0.75/text/helplinuxwhat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helplinuxwhat'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helplinuxwhat'\" \(1340 characters\)
- sed "s/^X//" >'rocat-0.75/text/helplinuxwhat' <<'END_OF_FILE'
- XWhat is Linux?
- X
- X Linux is a *FREE* operating system in the unix mold for Intel X86
- X(386 or better) processors.
- X
- XA bit of history.
- X
- X In late 1991, Linus Torvalds (in Sweden) decided to write a
- Xunix-like kernel. He wrote it, and released it on the Internet. At about
- Xthis time, a few people installed the kernel on their machines. These
- Xpeople were true Unix hackers -- they could write their own kernel if they
- Xwanted. They liked Linux (which is what Linus decided to call the kernel)
- Xso much that they started to add all sorts of drivers, utilities and
- Xwhat-not.
- X
- X Two years later, Linux is the fastest growing free OS in the world.
- X
- X
- XFeatures of Linux:
- X
- X It works like Unix. It looks so much like unix that most people
- Xcan't tell the difference. It requires a 386 or better, a minimum of two
- Xmegs of memory (more is better), a minimum of 40 meg of disk space (100 meg
- Xfor a full installation at this point) and will support many different
- Xtypes of monitors/video cards for X Windows. More features:
- X
- X - Runs in full 32-bit protected mode (like Unix)
- X - Protects processes from corrupting each other
- X - Has literally hundreds of utilities available
- X - Comes with NFS, NIS and TCP/IP standard (also free)
- X - Comes with X11 ... and much much more.
- X
- X See the help subject 'More information' to find out more details
- Xabout Linux.
- X
- X
- END_OF_FILE
- if test 1340 -ne `wc -c <'rocat-0.75/text/helplinuxwhat'`; then
- echo shar: \"'rocat-0.75/text/helplinuxwhat'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helplinuxwhat'
- fi
- if test -f 'rocat-0.75/text/helpnews' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/helpnews'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/helpnews'\" \(2237 characters\)
- sed "s/^X//" >'rocat-0.75/text/helpnews' <<'END_OF_FILE'
- XWhat is news?
- X
- XNews is the name given to a system of transferring messages between hosts
- Xon the Internet. The messages it transfers consist of many different types
- Xof messages with many different subjects. Due to the number of messages
- Xthat are seen each day, the news is broken into groups. Some example
- Xgroups would be:
- X
- Xalt.bbs - a public bbs discussion area
- Xrec.humor.funny - a recreational group that has funny jokes.
- Xcomp.sys.mac.advocacy - a discussion group on why Macintosh computers are
- X superior
- Xcomp.sys.ms-windows.advocacy - a discussion group on why Windows is
- X superior
- X
- X
- XAs you can see, the groups are widely distributed, and, can be very forward
- Xwith their descriptions and subjects. The news system is broken into the
- Xfollowing main catagories:
- X
- Xrec - recreational postings (climbing, tennis, etc)
- Xcomp - computer related postings
- Xtalk - miscellaneous talk
- Xalt - a 'free for all'. No main heading, lots of subjects.
- Xsoc - social postings
- Xieee - postings from the ieee professional engineering group
- Xmisc - miscellaneous postings
- Xsci - scientific postings
- X
- XEach catagory has many sub groups. Some of these would be:
- X
- Xhumor - humorous postings (rec.humor, for example)
- Xsys - computer systems (comp.sys.unix.admin, for example)
- Xgames - games postings (rec.games.monopoly, for example)
- X
- XSub groups can be many levels deep.
- X
- XCurrently, there are over 2000 groups available on news. The Roman
- XCatacombs gets a small subset (~50-100 groups) of those groups, simply
- Xbecause it is so large. In the documentation for news, upon setup, they
- Xrecommend that the system have more than 600 MEGS of storage minimum to
- Xkeep only 7 days of news. That's quite a bit, averaging 35 megs of
- Xinformation, COMPRESSED, per day.
- X
- XThe Roman Catacombs currently gets about 3.5 megs, compressed, of news per
- Xday. If you want to get a group that TRC doesn't get, please talk to the
- XSysOp. TRC is very flexible.
- X
- XHow to select groups:
- X
- XYou may select groups by going into the newsreader and selecting the groups
- Xyou're interested in. Each newsreader (tin, rn and nn) has it's own way of
- Xfunctioning, and it's own way of adding and removing groups. Please see
- Xthe manuals for the different newsreaders for more information.
- END_OF_FILE
- if test 2237 -ne `wc -c <'rocat-0.75/text/helpnews'`; then
- echo shar: \"'rocat-0.75/text/helpnews'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/helpnews'
- fi
- if test -f 'rocat-0.75/text/reg.instr' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/reg.instr'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/reg.instr'\" \(1963 characters\)
- sed "s/^X//" >'rocat-0.75/text/reg.instr' <<'END_OF_FILE'
- XUntil the end of August, new users don't have to register (pay) for user access
- Xto the BBS. These instructions refer to after that time.
- X
- XThe Roman Catacombs is not a 'free' bbs. It costs a lot of money to keep the
- XBBS running month-to-month. (generally around $100.00 a month to pay for the
- Xphone line(s), maintenance, new acquisitions, etc)
- X
- XAs a non-registered user (visitor access), you may:
- X Look at files (no upload or download)
- X Read news
- X Play the online games.
- XVisitor access allows only 20 minutes per day.
- X
- XAs a charter user ($20.00 per year), you have the following additions:
- X Look, upload and download up to 500K of files per day.
- X Read and post to the news system.
- XCharter access allows 40 minutes per day.
- X
- XAs a constituent ($30.00 per year), you gain the following features:
- X You have unlimited download access per day.
- XConstituent access allows 60 minutes per day.
- X
- XFor an additional $10.00 per year, adult access is given to any user level
- Xabove visitor.
- X
- XYou may ask:
- X
- XQ: Why is it a pay-bbs? Fort Mac wasn't a pay-bbs!
- X
- XA: Fort Mac suffered from horrible disk drives and lost files sections because
- Xit was unable to keep its equipment current. This system will not have that
- Xproblem.
- X
- XQ: Why should I pay?
- X
- XA: Paying for the BBS guarentees:
- X 1. The user is serious about wanting to become part of the BBS.
- X 2. The BBS is professionally maintained. Errors and problems will
- X be taken care of upon notification.
- X
- XQ: Where do I send a check?
- X
- XA: Write a short note telling who you are, how long you wish to pay for (if
- Xlonger than one year), and what access you wish. (e.g. do you want charter
- Xmember access with adult files section or constituent member access? )
- XSend the check to:
- X
- X The Roman Catacombs
- X 15651 E. Caspian Cir. #203
- X Aurora CO 80013
- X
- XNote that more disk space will be added in the near future. The goal is to
- Xhave over 1 gig of disk space before year-end. Also, a CD-ROM will be added
- Xto the BBS system soon.
- X
- END_OF_FILE
- if test 1963 -ne `wc -c <'rocat-0.75/text/reg.instr'`; then
- echo shar: \"'rocat-0.75/text/reg.instr'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/reg.instr'
- fi
- if test -f 'rocat-0.75/text/system3.msg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'rocat-0.75/text/system3.msg'\"
- else
- echo shar: Extracting \"'rocat-0.75/text/system3.msg'\" \(1356 characters\)
- sed "s/^X//" >'rocat-0.75/text/system3.msg' <<'END_OF_FILE'
- XMost popular files on BBS by downloads: (06/03/94)
- XName Section Dls Date Uploaded by
- Xgifconve.sit Graphics (Art) Programs 9 08/14/93 Greg
- XMacBzone1.3.1. Macintosh Games 7 10/20/93 shaw
- XBolo-992.cpt Macintosh Games 6 10/20/93 shaw
- XBattleField.se Macintosh BBS Programs 6 08/10/93 shaw
- Xstuffite.sea Macintosh Compression Pro 5 10/18/93 shaw
- Xcry.gif Other Pictures 5 08/14/93 sysop
- Xmacconcept.sit Macintosh Applications 4 01/04/94 sruby
- Xcompactp.sea Macintosh Compression Pro 4 10/18/93 shaw
- Xmaelstrom-103. Macintosh Games 4 10/20/93 shaw
- Xstained-glass. Macintosh Games 4 10/20/93 shaw
- Xsky.gif Other Pictures 4 08/14/93 sysop
- XNetHack3.0pl9. Macintosh Games 3 11/21/93 shaw
- XArmor1.1.sit Macintosh Games 3 11/28/93 shaw
- XMovodII Macintosh Games 3 11/28/93 shaw
- Xbig-pat-11.sit Macintosh CDEVs and INITs 3 11/27/93 shaw
- Xpick-a-pat-3-8 Macintosh CDEVs and INITs 3 11/28/93 shaw
- XMacPGP2.2.cpt Macintosh Utilities 3 11/21/93 shaw
- XCallerVerify.s Macintosh BBS Programs 3 10/20/93 shaw
- XBankTime.sea Macintosh BBS Programs 3 10/20/93 shaw
- Xpararena1.3.cp Macintosh Games 2 11/28/93 shaw
- END_OF_FILE
- if test 1356 -ne `wc -c <'rocat-0.75/text/system3.msg'`; then
- echo shar: \"'rocat-0.75/text/system3.msg'\" unpacked with wrong size!
- fi
- # end of 'rocat-0.75/text/system3.msg'
- fi
- echo shar: End of archive 7 \(of 9\).
- cp /dev/null ark7isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 9 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
-