April 17, 1996
Next Meeting April 24, 1996
Previous meeting April 10, 1996
Return to Workshops List
Index
The PATS were discussed at some length. A trouble-shooting session was
scheduled for Friday April 19, at the Dartmouth Library site.
It was emphasized that all maintenance of the collection of PATS needs to
be noted on the cable-pats mailing list, so that all concerned are
updated. The ccn-tech mailing list automatically gets copies.
It was proposed that a common file, which could be down-loaded/updated
from CCN to each PAT as needed, containing the configurations of all the
PATS, along with a selector variable, would let us maintain the systems
more easily than having separate files for each system.
New PAT design
It is proposed to build up a new PAT design, using Linux as operating
system, with XWindows, Netscape as browser, and a secure shell, under the
guest account.
Requirements:
- Cable modem
- Ethernet card
- 16 MB ram.
Installation of software is planned for the weekend, with an assessment of
progress by next Wednesday.
Return to Index
The updated version of csinstall was discussed. The work is continuing.
Return to Index
David Trueman showed us the latest changes to the standard script design,
using the search-user script (which implements go people)
This is a continuation of our process of sanitizing the scripts to
support Virtual Community Networks (VCN) and distribution.
Recommendations:
- Use $DOCUMENT_ROOT rather than the path "/ccn/info/". $DOCUMENT_ROOT
is available from the Environment in a shell script, and is exported by
httpd for lynx-cgi scripts.
- . $DOCUMENT_ROOT/.cgi-funclib will read in the function definitions
needed.
- cs_html_head -t mail-address -h host Title
where optional parameters -t provides comment address, -h provides
host-name which defaults to $MAILHOST, and of course the rest provides the
content for the HTML title. This routine also looks for a query string
in the call, and converts any values found to shell variables.
- search-user?var=value&var2=val2 causes the creation of shell
variables cgi_var and cgi_var2 with contents value and val2, respectively.
- For diagnostics, use:
exec 2>$CS_LOG/test.#progname
set -x
- To catch traps:
trap 'cs_html_foot' 0 (and other signals if appropriate) or
trap 'cs_html_foot office' 0 (to bring up the office button bar)
- To simplify the source-browser, surround variables tested in if or
case with double quotes, e.g.:
if [ "$x" = "it" ] then ...
case "$VAR" in
"yes")
- Start variables with a lower case letter for local variables that
should be ignored by the source-browser; others will be indexed.
Return to Index
[Up]
[Search]
[Comments]
[CCN Homepage]
This Page prepared by Ed Dyer
Workshop Coordinator David J. Murdoch