commit 7383736cf8254264733aa055a4d854e007f5f83c from: rsc date: Tue Feb 15 05:07:26 2005 UTC add source links commit - 0c891f28dbdc5a61b191d778391664417aae445c commit + 7383736cf8254264733aa055a4d854e007f5f83c blob - 6f8c90d049a927763fff40698b0f95d6cf1a5163 blob + 7627fe9fe3071f53e33be3b9d97def672752b585 --- CHANGES +++ CHANGES @@ -1,3 +1,6 @@ +February 14, 2005 + add source links to man pages + February 13, 2005 lib9: add readcons(1) add laddr, raddr to Netconninfo (see dial(3)) blob - 3567cc2d2d86553dd99426d92637a60b39fe5ac2 blob + 781c5730ad07f10d88429603cc9c8d1bd731ca7c --- dist/checkman.awk +++ dist/checkman.awk @@ -46,7 +46,6 @@ BEGIN { Omitman["sh(1)"] = 1 Omitman["ssh(1)"] = 1 Omitman["stty(1)"] = 1 - Omitman["tar(1)"] = 1 Omitman["tex(1)"] = 1 Omitman["unutf(1)"] = 1 Omitman["vnc(1)"] = 1 @@ -83,8 +82,6 @@ BEGIN { Omitman["sin(3)"] = 1 Omitman["strerror(3)"] = 1 - Omitman["factotum(4)"] = 1 # for now leave undocumented - Omitman["core(5)"] = 1 Omitman["passwd(5)"] = 1 blob - /dev/null blob + f0311aa8b490844e893b38f4974509f3e0b86c21 (mode 755) --- /dev/null +++ dist/addsrclinks @@ -0,0 +1,24 @@ +#!/usr/bin/perl + +@_ = <>; +my $root = $ENV{'PLAN9'}; +my $html = join("", @_); +$html =~ s;$root;XXX$root;g; +while($html =~ /((.|\n)*)XXX($root\/([a-zA-Z0-9_.\/]|−)*[a-zA-Z0-9_\/])((.|\n)*)/){ + ($a, $b, $c) = ($1, $3, $5); + $b =~ s/−/-/g; + $l = $b; + while(! -e $l){ + if($l =~ /(.*\/)(.+)/){ + $l = $1; + }else{ + last; + } + } + $bb = substr($b, length($l)); + $b = $l; + $b =~ s/-/\−/g; + $bb =~ s/-/\−/g; + $html = "$a$b$bb$c"; +} +print $html; blob - e2742a81f88760e014df807120c52e156e96bc58 blob + 4372ba72e0d7aa1cbfede9d2a6ac2ca632cdc2de --- dist/main.html +++ dist/main.html @@ -30,6 +30,8 @@ Edit ./^$/,s/install notes | + browse + | cvs | cvsweb @@ -71,8 +73,8 @@ Edit ./^$/,s/
latest tree: plan9port.tgz (date and checksums; - list of recent changes; - license) + list of recent changes; + license)
@@ -111,7 +113,8 @@ Edit ./^$/,s/
- Latchesar Ionkov has contributed many fixes to tricky bugs. + Latchesar Ionkov has contributed many fixes to tricky bugs, and + got factotum(4) up and running.
blob - 0ffbc48106fc9355201af50fb4427929eaa9f506 blob + 32e902988371fac5cafb41289299580b44f81da5 --- dist/manweb +++ dist/manweb @@ -72,7 +72,7 @@ for (i in */[~.]*.[0-9]*){ sed '//q' /tmp/manweb.html cat $PLAN9/dist/mantrailer.html sed -n '//,$p' /tmp/manweb.html - } >$d/$p.html + } | $PLAN9/dist/addsrclinks >$d/$p.html } rm /tmp/manweb.html cd $PLAN9/dist