# # Global rc file for the WWW # set noedalways editor=builtin # Set up terms define conference "conference" define item "topic" define fw "host" # Define welcome screen define welcomeurl "/yapp/" # Define alternate port suffix (if any) #define port ":81" define wwwhostname %{hostname} # Set up paths define htmlfilter "./html_filter" define gifs "/yapp-icons/" define path "/${cgidir}/restricted/" define href "\n\

%^{item} %i: %h
\n\ Date : %d
\n\ From: %a (
%l)

\

\n'

define zcensor '%(!V%{href}censor/%{conf}/%{range}/%r${urlmods}">hide%)'
define zuncensor '%(V%{href}uncensor/%{conf}/%{range}/%r${urlmods}">unhide%)'
define zscribble '%(!W%{href}scribble/%{conf}/%{range}/%r${urlmods}">delete%)'

define rsep '\n
\

Response %r: \ %(p <response to #%p>%) \ %((fromlogin==login)%{zcensor}%{zuncensor} %{zscribble}%E\ %(S%{zcensor}%{zuncensor} %{zscribble}%)%)\n\ Date : %d\n\ From: %a (%l)\n\

' define mailmsg "%c" # # "find" command output # define fsep '%(R\n%^{item} %i, Response %r: By %a (%l) on %d\n%) Line %4N: %L' # Format of "browse" command output define ishort "%(1x%^{item} Resps Subject\n%)\ %5i %5n %h (%l)" # Format of "list" command output define listmsg '\ %(1x\n%^{item}s Type Time of Last Activity %^{conference} Name\n%)\ %(2x%(B>%E %)%5i %2t%(sF%E%(lR%E %)%) %m \ %{bhref}%s/all/new">%s %(!i%((login=sysop) (Delete %s %{conference})%)%)%)' define publiclistmsg '\ %(1x\n%^{item}s Type Time of Last Activity %^{conference} Name\n%)\ %(2x%(B>%E %)%5i %2t%(sF%E%(lR%E %)%) %m %{bhref}%s/all">%s%)' # Format of "check" command output define checkmsg "\ %(1x\nNew resp %{item}s %^{conference} name\n%)\ %(2x%(k--%E %)%(B>%E %)%4r %4b %{bhref}%s/all/new\">%s%(B (where you currently are!)%)%)" # Format of the "Help" button define help 'Help' # Format of the "Resign" button define resign ' Resign ' # Format of the "Search" button define search 'Search' # Format of the "Participants" button define participants ' Participants ' # Format of the "Kill" button define kill '%{href}kill/${conf}/%{range}${urlmods}">Kill' # Format of the "Retire" button define zretire '%{href}retire/${conf}/%{range}${urlmods}">Retire' # Format of the "Next conf" button define cnext '%((nextconf!="")%{bhref}%{nextconf}/all${urlmods}">%)Next conf%((nextconf!="")%)' # Format of the "Prev conf" button define cprev '%((prevconf!="")%{bhref}%{prevconf}/all${urlmods}">%)Prev conf%((prevconf!="")%)' define icont "%((nextitem>=0)%{href}read/%{conf}/%{nextitem}${urlmods}\">Go on to %{item} %{nextitem} | %E%{cnext}%)" # Format of the "Next item" button define znext '%((nitem>=0)%{href}read/%{conf}/%{nitem}${urlmods}">%)Next %{item}%((nitem>=0)%)' # Format of the "Prev item" button define zprev '%((pitem>=0)%{href}read/%{conf}/%{pitem}${urlmods}">%)Prev %{item}%((pitem>=0)%)' define rfp '\ %(!Z%(!l%(!Y%{href}forget/%{conf}/%{range}${urlmods}">Forget, %)%)%)\ %((low<=lastresp)%{href}preserve/%{conf}/%{range}/%{low}${urlmods}">preserve \ as unread, %) or \ next? ' define publicrfp '%{znext}' define rpreserve '%{href}preserve/%{conf}/%{range}/%{curresp}${urlmods}">Preserve' # Format of the "Enter" buttons # if !observer && (fairwitness || items exist) # if !l && (s || i) #define enter "%(!l%(s%{href}enter/%{conf}\">%E%(i%{href}enter/%{conf}\">%)%)%)Enter new topic%(!l%(s%E%(i%)%)%)" define enter '%(!l%(s%{href}enter/%{conf}">%E%(i%{href}enter/%{conf}">%)%)%) Enter new topic %(!l%(s%E%(i%)%)%)' # Format of the "Freeze"/"Thaw" buttons define zfreeze '%{href}%(Zthaw%Efreeze%)/%{conf}/%{range}${urlmods}">%(ZThaw%EFreeze%)' # Format of the "Forget"/"Remember" buttons define zforget '%{href}%(Yremember%Eforget%)/%{conf}/%{range}${urlmods}\">%(YRemember%EForget%)' # Format of the "Return to main menu" button define mainreturn 'Return to the main menu

' define welcreturn 'Return to welcome screen

' # Format of the "Return to the ... conference" button define confreturn '%{bhref}%{conf}/all${urlmods}">Return to the %{conf} %{conference}

' # Page header define header '\ Content-type: text/html\n\ Expires: Saturday, 1-Jan-83 00:00:00 GMT\n\ \n\ %{title}\n' #define header "%{shortheader}

%{title}

" # Page footers define footer '' define conffooter '
\n%{confreturn}\n%{mainreturn}\n%{footer}' define mainfooter '
\n%{mainreturn}\n%{footer}' define welcfooter '
\n%{welcreturn}\n%{footer}' define censored '(Response is hidden)' define scribbled "(Response is deleted)" tmp=`eval "./rc.${cgidir}"` source %{tmp}