Annotation of loncom/homework/caparesponse/caparesponse.pm, revision 1.66
1.3 albertel 1: # The LearningOnline Network with CAPA
2: # caparesponse definition
1.47 albertel 3: #
1.66 ! sakharuk 4: # $Id: caparesponse.pm,v 1.65 2002/10/14 20:37:27 albertel Exp $
1.47 albertel 5: #
6: # Copyright Michigan State University Board of Trustees
7: #
8: # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
9: #
10: # LON-CAPA is free software; you can redistribute it and/or modify
11: # it under the terms of the GNU General Public License as published by
12: # the Free Software Foundation; either version 2 of the License, or
13: # (at your option) any later version.
14: #
15: # LON-CAPA is distributed in the hope that it will be useful,
16: # but WITHOUT ANY WARRANTY; without even the implied warranty of
17: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: # GNU General Public License for more details.
19: #
20: # You should have received a copy of the GNU General Public License
21: # along with LON-CAPA; if not, write to the Free Software
22: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23: #
24: # /home/httpd/html/adm/gpl.txt
25: #
26: # http://www.lon-capa.org/
27: #
1.3 albertel 28:
29: package Apache::caparesponse;
30: use strict;
1.4 albertel 31: use capa;
1.3 albertel 32:
1.50 harris41 33: BEGIN {
1.44 albertel 34: &Apache::lonxml::register('Apache::caparesponse',('caparesponse','numericalresponse','stringresponse','formularesponse'));
1.3 albertel 35: }
36:
37: sub start_caparesponse {
1.31 albertel 38: my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
1.19 albertel 39: my $id = &Apache::response::start_response($parstack,$safeeval);
1.13 albertel 40: return '';
1.3 albertel 41: }
42:
43: sub end_caparesponse {
1.31 albertel 44: my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
1.12 albertel 45: my $result = '';
1.16 albertel 46: if ( $target eq 'grade' ) {
1.27 albertel 47: if ( defined $ENV{'form.submitted'}) {
1.16 albertel 48: $safeeval->share_from('capa',['&caparesponse_capa_check_answer']);
1.19 albertel 49: my $response = $ENV{'form.HWVAL'.$Apache::inputtags::response['-1']};
1.18 albertel 50: if ( $response =~ /[^\s]/) {
1.23 albertel 51: my $id = $Apache::inputtags::response['-1'];
52: my $previous= &Apache::response::check_for_previous($response,$id,$response);
1.22 albertel 53: if ( $previous ) {
54: $result = 'PREVIOUSLY_USED';
55: } else {
1.26 albertel 56: $Apache::lonhomework::results{"resource.$Apache::inputtags::part.$id.submission"}=$response;
1.22 albertel 57: &Apache::lonxml::debug("submitted a $response<br>\n");
58: &Apache::lonxml::debug($$parstack[$#$parstack] . "\n<br>");
59: my $expression="&caparesponse_check('".$response."','".
60: $$parstack[$#$parstack].
61: ';my $tol="'.$Apache::inputtags::params{'tol'}.'"'.
62: ';my $sig="'.$Apache::inputtags::params{'sig'}.'"'.
63: "');";
64: $result = &Apache::run::run($expression,$safeeval);
65: my ($ad) = split /:/ , $result;
1.26 albertel 66: $Apache::lonhomework::results{"resource.$Apache::inputtags::part.$id.awarddetail"}=$ad;
1.22 albertel 67: &Apache::lonxml::debug("$expression");
68: &Apache::lonxml::debug("\n<br>result:$result:$Apache::lonxml::curdepth<br>\n");
69: }
1.18 albertel 70: }
1.16 albertel 71: }
1.30 albertel 72: } elsif ($target eq 'web') {
1.17 albertel 73: #$result .= "The correct answer is ".&Apache::run::run("{$$parstack['-1'];".'return $answer}',$safeeval)."\n";
1.7 albertel 74: }
75: #Apache::lonxml::debug("\n<br>\nreal end caparesponse<br>\n");
1.19 albertel 76: &Apache::response::end_response;
1.24 albertel 77: return '';
1.21 albertel 78: }
79:
80: sub start_numericalresponse {
1.31 albertel 81: my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
1.22 albertel 82: my $id = &Apache::response::start_response($parstack,$safeeval);
1.32 albertel 83: my $result;
84: if ($target eq 'edit') {
1.49 matthew 85: $result.=&Apache::edit::tag_start($target,$token);
1.34 albertel 86: $result.=&Apache::edit::text_arg('Answer:','answer',$token);
87: if ($token->[1] eq 'numericalresponse') {
1.36 albertel 88: $result.=&Apache::edit::text_arg('Unit:','unit',$token,5);
89: $result.=&Apache::edit::text_arg('Format:','format',$token,4);
1.44 albertel 90: } elsif ($token->[1] eq 'stringresponse') {
1.35 albertel 91: $result.=&Apache::edit::select_arg('Type:','type',
1.49 matthew 92: ['cs','ci','mc'],$token);
1.44 albertel 93: } elsif ($token->[1] eq 'formularesponse') {
1.45 albertel 94: $result.=&Apache::edit::text_arg('Sample Points:','samples',$token,40);
1.34 albertel 95: }
1.49 matthew 96: $result.=&Apache::edit::end_row().&Apache::edit::start_spanning_row();
1.32 albertel 97: } elsif ($target eq 'modified') {
1.34 albertel 98: my $constructtag;
99: if ($token->[1] eq 'numericalresponse') {
100: $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,
1.36 albertel 101: 'answer','unit','format');
1.44 albertel 102: } elsif ($token->[1] eq 'stringresponse') {
1.34 albertel 103: $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,
104: 'answer','type');
1.44 albertel 105: } elsif ($token->[1] eq 'formularesponse') {
106: $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,
1.45 albertel 107: 'answer','samples');
1.34 albertel 108: }
1.33 albertel 109: if ($constructtag) {
110: $result = &Apache::edit::rebuild_tag($token);
111: $result.=&Apache::edit::handle_insert();
112: }
1.39 albertel 113: } elsif ($target eq 'meta') {
1.40 albertel 114: $result=&Apache::response::meta_package_write('numericalresponse');
1.32 albertel 115: }
116: return $result;
1.21 albertel 117: }
118:
119: sub end_numericalresponse {
1.31 albertel 120: my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
1.22 albertel 121: my $result = '';
122: if ( $target eq 'grade' ) {
1.27 albertel 123: if ( defined $ENV{'form.submitted'}) {
1.45 albertel 124: &Apache::response::setup_params($$tagstack[-1]);
1.22 albertel 125: $safeeval->share_from('capa',['&caparesponse_capa_check_answer']);
1.38 albertel 126: my $partid = $Apache::inputtags::part;
127: my $id = $Apache::inputtags::response['-1'];
128: my $response = $ENV{'form.HWVAL'.$id};
1.22 albertel 129: if ( $response =~ /[^\s]/) {
1.38 albertel 130: my %previous = &Apache::response::check_for_previous($response,$partid,$id);
131: $Apache::lonhomework::results{"resource.$partid.$id.submission"}=$response;
132: &Apache::lonxml::debug("submitted a $response<br>\n");
133: &Apache::lonxml::debug($$parstack[$#$parstack] . "\n<br>");
134: $response =~ s/\\/\\\\/g;
135: $response =~ s/\'/\\\'/g;
136: &Apache::lonxml::debug("current $response");
137: my $expression="&caparesponse_check_list('".$response."','".
1.41 albertel 138: $$parstack[$#$parstack];
139: foreach my $key (keys(%Apache::inputtags::params)) {
140: $expression.= ';my $'. #'
141: $key.'="'.$Apache::inputtags::params{$key}.'"';
142: }
1.45 albertel 143: if ($$tagstack[-1] eq 'formularesponse') {
1.46 albertel 144: $expression.=';my $type="fml";';
145: } elsif ($$tagstack[-1] eq 'numericalresponse') {
146: $expression.=';my $type="float";';
1.45 albertel 147: }
1.41 albertel 148: $expression.="');";
1.38 albertel 149: $result = &Apache::run::run($expression,$safeeval);
150: my ($awards) = split /:/ , $result;
151: my ($ad) = &Apache::inputtags::finalizeawards(split /,/ , $awards);
1.48 albertel 152: &Apache::response::handle_previous(\%previous,$ad);
1.38 albertel 153: $Apache::lonhomework::results{"resource.$partid.$id.awarddetail"}=$ad;
154: &Apache::lonxml::debug("$expression");
155: &Apache::lonxml::debug("\n<br>result:$result:$Apache::lonxml::curdepth<br>\n");
156: $result='';
1.22 albertel 157: }
1.24 albertel 158: }
1.53 sakharuk 159: } elsif ($target eq 'web' || $target eq 'tex') {
1.58 sakharuk 160: if ($Apache::lonhomework::type ne 'exam') {
161: my $award = $Apache::lonhomework::history{"resource.$Apache::inputtags::part.solved"};
162: my $status = $Apache::inputtags::status['-1'];
163: if ($award =~ /^correct/ || $status eq "SHOW_ANSWER" ) {
164: my (@answers)=&Apache::lonxml::get_param_var('answer',$parstack,
165: $safeeval);
166: my (@formats)=&Apache::lonxml::get_param_var('format',$parstack,
167: $safeeval);
168: my $unit=&Apache::lonxml::get_param_var('unit',$parstack,$safeeval);
169:
170: if ($target eq 'web') {
1.64 albertel 171: $result="<br />The correct answer is ";
1.58 sakharuk 172: } elsif ($target eq 'tex') {
1.64 albertel 173: $result='\vskip 0 mm The correct answer is \\texttt{';
1.58 sakharuk 174: }
175: for (my $i=0; $i <= $#answers; $i++) {
176: my $answer=$answers[$i];
177: my $format;
178: if ($#formats > 0) {
179: $format=$formats[$i];
180: } else {
181: $format=$formats[0];
182: }
183: my $formatted;
184: if ((defined($format)) && ($format ne '')) {
185: &Apache::lonxml::debug("formatting with :$format: answer :$answer:");
186: $formatted=sprintf('%.'.$format,$answer).',';
187: } else {
188: &Apache::lonxml::debug("no format answer :$answer:");
189: $formatted="$answer,";
190: }
191: if ($target eq 'tex') {$formatted=&Apache::lonxml::latex_special_symbols($formatted);}
192: $result.=$formatted;
193: }
194: chop $result;
195: if ($target eq 'web') {
196: $result.=" $unit.<br />";
197: } elsif ($target eq 'tex') {
198: $result.=&Apache::lonxml::latex_special_symbols($unit);
199: $result.="}. \\vskip 0 mm ";
200: }
201: }
202: } else {
203: my (@answers)=&Apache::lonxml::get_param_var('answer',$parstack,$safeeval);
204: my (@formats)=&Apache::lonxml::get_param_var('format',$parstack,$safeeval);
205: my $unit=&Apache::lonxml::get_param_var('unit',$parstack,$safeeval);
206: my $number_of_bubbles = 8; #default values for number of bubbles
207: my @bubbles_values = ();
208: my @factors = (1.13,1.17,1.25,1.33,1.45); #default values of factors
209: my @powers = (1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0); #default values for powers
210: my $factors_number = 5; #default values for number of factors
211: my $powers_number = 8; #default values for number of powers
212: my $symb;
213: if ($ENV{'form.symb'}=~/___\d+___/) {$symb=$ENV{'form.symb'};} else {$symb=$ENV{'request.symb'};}
214: my $randomseed = srand(&Apache::lonnet::rndseed($symb,$ENV{'request.course.id'},
215: $ENV{'user.domain'},$ENV{'user.name'}));
216: my $ind=1+int(rand()*($factors_number-1));
217: my $factor = $factors[$ind];
218: $ind=1+int(rand()*($powers_number-1));
219: my $power = $powers[$ind];
220: for ($ind=0;$ind<$number_of_bubbles;$ind++) {
221: $bubbles_values[$ind] = $answers[0]*$factor**($power-$powers[$powers_number-$ind-1]);
222: }
1.60 sakharuk 223: my @alphabet = ('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
224: 'Q','R','S','T','U','V','W','X','Y','Z');
1.58 sakharuk 225: if ($target eq 'web') {
226: $result.= '<table border="1"><tr>';
227: for ($ind=0;$ind<$number_of_bubbles;$ind++) {
1.62 sakharuk 228: my $ans;
1.61 sakharuk 229: if ($formats[0] ne '') {
1.62 sakharuk 230: $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]);
1.60 sakharuk 231: } else {
1.62 sakharuk 232: my $badans = $bubbles_values[$ind];
233: my $format = '';
234: #What is the number? (integer,decimal,floating point)
235: if ($badans=~/^(\d*\.?\d*)(E|e)(\d*)$/) {
236: $format = 'e'.$2;
237: } elsif ($badans=~/^(\d*)\.(\d*)$/) {
238: $format = '4f';
239: } elsif ($badans=~/^(\d*)$/) {
240: $format = 'd';
241: }
242: $ans = sprintf('%.'.$format,$bubbles_values[$ind]);
243: }
1.60 sakharuk 244: $result.='<td>'.$alphabet[$ind].': '.$ans.'</td>';
245: }
1.58 sakharuk 246: $result.='</tr></table>';
247: } elsif ($target eq 'tex') {
248: my $max_val = 0;
249: if ($formats[0]=~m/^(\d+)E([^\d]*)(\d*)$/) {
250: $max_val=$1+$2+4;
1.60 sakharuk 251: } else {
1.66 ! sakharuk 252: $max_val=4;
1.58 sakharuk 253: }
1.66 ! sakharuk 254: $max_val = int(0.9*$ENV{'form.textwidth'}/(($max_val+6)*2));
! 255: my $celllength = 0.9*$ENV{'form.textwidth'}/$max_val-10;
1.58 sakharuk 256: my @table_range = ();
257: my $number_of_tables = int($number_of_bubbles/$max_val);
258: for (my $i=0;$i<$number_of_tables;$i++) {push @table_range,$max_val;}
259: if ($number_of_bubbles % $max_val != 0) {
260: $number_of_tables++;
261: push @table_range,($number_of_bubbles % $max_val);
262: }
263: my $j=0;
264: my $cou=0;
1.66 ! sakharuk 265: $result.='\vskip -1 mm \noindent \begin{enumerate}\item[\textbf{'.$Apache::lonxml::counter.'}.]';
1.58 sakharuk 266: for (my $i=0;$i<$number_of_tables;$i++) {
1.66 ! sakharuk 267: $result.='\vskip -1 mm \noindent \begin{tabular}{';
1.58 sakharuk 268: for ($ind=0;$ind<$table_range[$j];$ind++) {
1.66 ! sakharuk 269: $result.='lp{'.$celllength.' mm}';
1.58 sakharuk 270: }
1.66 ! sakharuk 271: $result.='}';
1.58 sakharuk 272: for ($ind=$cou;$ind<$cou+$table_range[$j];$ind++) {
1.62 sakharuk 273: my $ans;
1.61 sakharuk 274: if ($formats[0] ne '') {
1.62 sakharuk 275: $ans = sprintf('%.'.$formats[0],$bubbles_values[$ind]);
1.66 ! sakharuk 276: if ($ans =~ m/([0-9\.\-\+]+)E([0-9\-\+]+)/ ) {
! 277: my $number = $1;
! 278: my $power = $2;
! 279: $power=~s/^\+//;
! 280: $power=~s/^(-?)0+(\d+)//;
! 281: $ans=$number.'$\times 10^{'.$1.$2.'}$';
! 282: }
1.60 sakharuk 283: } else {
1.62 sakharuk 284: my $badans = $bubbles_values[$ind];
285: my $format = '';
286: #What is the number? (integer,decimal,floating point)
287: if ($badans=~/^(\d*\.?\d*)(E|e)(\d*)$/) {
288: $format = 'e'.$2;
289: } elsif ($badans=~/^(\d*)\.(\d*)$/) {
290: $format = '4f';
291: } elsif ($badans=~/^(\d*)$/) {
292: $format = 'd';
293: }
1.66 ! sakharuk 294: $ans = sprintf('%.'.$format,$bubbles_values[$ind]);
! 295: if ($ans =~ m/([0-9\.\-\+]+)E([0-9\-\+]+)/ ) {
! 296: my $number = $1;
! 297: my $power = $2;
! 298: $power=~s/^\+//;
! 299: $power=~s/^(-?)0+(\d+)//;
! 300: $ans=$number.'$\times 10^{'.$1.$2.'}$';
! 301: }
1.60 sakharuk 302: }
1.66 ! sakharuk 303: $result.='\hskip -3 mm {\small \textbf{'.$alphabet[$ind].'}}$\bigcirc$\hskip -2 mm & {\small '.$ans.'} ';
1.58 sakharuk 304: if ($ind != $cou+$table_range[$j]-1) {$result.=' & ';}
305: }
1.63 sakharuk 306: $cou += $table_range[$j];
1.58 sakharuk 307: $j++;
1.66 ! sakharuk 308: $result.='\\\\\end{tabular}\vskip 0 mm ';
! 309: }
! 310: $result.='\end{enumerate}';
! 311: $Apache::lonxml::counter++;
! 312: my %moreenv;
! 313: $moreenv{'form.counter'}=$Apache::lonxml::counter;
! 314: &Apache::lonnet::appenv(%moreenv);
1.36 albertel 315: }
1.22 albertel 316: }
1.32 albertel 317: } elsif ($target eq 'edit') {
318: $result.='</td></tr>'.&Apache::edit::end_table;
1.65 albertel 319: } elsif ($target eq 'answer' || $target eq 'analyze') {
1.44 albertel 320:
1.65 albertel 321: my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]";
322: if ($target eq 'analyze') {
323: push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id);
324: $Apache::lonhomework::analyze{"$part_id.type"} = $$tagstack[-1];
325: }
326: &Apache::response::setup_params($$tagstack[-1]);
327: my (@answers)=&Apache::lonxml::get_param_var('answer',$parstack,$safeeval);
328: my (@formats)=&Apache::lonxml::get_param_var('format',$parstack,$safeeval);
329: my $unit=&Apache::lonxml::get_param_var('unit',$parstack,$safeeval);
330: my $type=&Apache::lonxml::get_param('type',$parstack,$safeeval);
1.44 albertel 331:
1.65 albertel 332: if ($target eq 'answer') {
333: $result.=&Apache::response::answer_header($$tagstack[-1]);
334: }
335: for(my $i=0;$i<=$#answers;$i++) {
336: my $ans=$answers[$i];
337: my $fmt;
338: if (@formats) {
339: if ($#formats) {
340: $fmt=$formats[$i];
341: } else {
342: $fmt=$formats[0];
343: }
344: }
345: my ($high,$low);
346: if ($Apache::inputtags::params{'tol'}) {
347: ($high,$low)=&get_tolrange($ans,$Apache::inputtags::params{'tol'});
348: }
349: my ($sighigh,$siglow);
350: if ($Apache::inputtags::params{'sig'}) {
351: ($sighigh,$siglow)=&get_sigrange($Apache::inputtags::params{'sig'});
352: }
353: if ($fmt) {
354: $ans = sprintf('%.'.$fmt,$ans);
355: if ($high) {
356: $high = sprintf('%.'.$fmt,$high); $low = sprintf('%.'.$fmt,$low);
357: }
358: }
359: if ($target eq 'answer') {
360: if ($high) { $ans.=' ['.$low.','.$high.'] '; }
361: if ($sighigh) { $ans.= "Sig <i>$siglow - $sighigh</i>"; }
362: $result.=&Apache::response::answer_part($$tagstack[-1],$ans);
363: } elsif ($target eq 'analyze') {
364: push (@{ $Apache::lonhomework::analyze{"$part_id.answer"} },
365: $ans);
366: if ($high) {
367: push (@{ $Apache::lonhomework::analyze{"$part_id.ans_high"} }, $high);
368: push (@{ $Apache::lonhomework::analyze{"$part_id.ans_low"} }, $low);
369: }
370: }
371: }
372: if ($unit) {
373: if ($target eq 'answer') {
374: $result.=&Apache::response::answer_part($$tagstack[-1],
375: "Unit: <b>$unit</b>");
376: } elsif ($target eq 'analyze') {
377: push (@{ $Apache::lonhomework::analyze{"$part_id.unit"} },
378: $unit);
379: }
1.44 albertel 380: }
1.65 albertel 381: if ($type || $token->[1] eq 'stringresponse') {
382: my $string='Case Insensitive';
383: if ($type eq 'mc') {
384: $string='Multiple Choice';
385: } elsif ($type eq 'cs') {
386: $string='Case Sensitive';
387: } elsif ($type eq 'ci') {
388: $string='Case Insensitive';
389: } elsif ($type eq 'fml') {
390: $string='Formula';
391: }
392: if ($target eq 'answer') {
393: $result.=&Apache::response::answer_part($$tagstack[-1],
394: '<b>'.$string.'</b>');
395: } elsif ($target eq 'analyze') {
396: push (@{ $Apache::lonhomework::analyze{"$part_id.type"} },
397: $type);
398: }
1.52 albertel 399: }
1.65 albertel 400: if ($$tagstack[-1] eq 'formularesponse' && $target eq 'answer') {
401: my $samples=&Apache::lonxml::get_param('samples',$parstack,$safeeval);
402: $result.=&Apache::response::answer_part($$tagstack[-1],$samples);
1.51 albertel 403: }
1.65 albertel 404: if ($target eq 'answer') {
405: $result.=&Apache::response::answer_footer($$tagstack[-1]);
1.44 albertel 406: }
1.22 albertel 407: }
1.59 albertel 408: &Apache::response::end_response;
1.22 albertel 409: return $result;
1.51 albertel 410: }
411:
412: sub get_tolrange {
413: my ($ans,$tol)=@_;
414: my ($high,$low);
415: if ($tol =~ /%$/) {
416: chop($tol);
417: my $change=$ans*($tol/100.0);
418: $high=$ans+$change;
419: $low=$ans-$change;
420: } else {
421: $high=$ans+$tol;
422: $low=$ans-$tol;
423: }
424: return ($high,$low);
1.52 albertel 425: }
426:
427: sub get_sigrange {
428: my ($sig)=@_;
429: &Apache::lonxml::debug("Got a sig of :$sig:");
430: my $sig_lbound;
431: my $sig_ubound;
432: if ($sig eq '') {
433: $sig_lbound = 0; #SIG_LB_DEFAULT
434: $sig_ubound =15; #SIG_UB_DEFAULT
435: } else {
436: ($sig_lbound,$sig_ubound) = split(/,/,$sig);
437: if (!$sig_lbound) {
438: $sig_lbound = 0; #SIG_LB_DEFAULT
439: $sig_ubound =15; #SIG_UB_DEFAULT
440: }
441: if (!$sig_ubound) { $sig_ubound=$sig_lbound; }
442: }
443: return ($sig_ubound,$sig_lbound);
1.34 albertel 444: }
445:
446: sub start_stringresponse {
1.42 albertel 447: my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
448: my $result;
449: if ($target eq 'meta') {
450: $result=&Apache::response::meta_package_write('stringresponse');
451: } else {
452: $result.=&start_numericalresponse(@_);
453: }
454: return $result;
1.34 albertel 455: }
456:
457: sub end_stringresponse {
1.44 albertel 458: return end_numericalresponse(@_);
459: }
460:
461: sub start_formularesponse {
462: my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
463: my $result;
464: if ($target eq 'meta') {
465: $result=&Apache::response::meta_package_write('formularesponse');
466: } else {
467: $result.=&start_numericalresponse(@_);
468: }
469: return $result;
470: }
471:
472: sub end_formularesponse {
1.34 albertel 473: return end_numericalresponse(@_);
1.3 albertel 474: }
475:
1.1 albertel 476: 1;
1.3 albertel 477: __END__
478:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>