From c1be51432be86c76518c61e123abb0923a419ded Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 21 Sep 2011 17:07:49 -0500 Subject: pkg(1): man page corrections --- sys/man/1/pkg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index 01fcc48ea..b7a2d52d0 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -58,11 +58,10 @@ from the local system. .SH EXAMPLES .LP Create the package -.B links-variable-2011.05.23 +.B irc7-2011.09.21 .sp 1 .EX -% cd /sys/src -% pkg/create links-variable-2011.05.23 +% pkg/create /sys/src/cmd/irc7-2011.09.21 .EE .LP -- cgit v1.2.3 From a0a42ebf3f248b691314e701dcd020837a560644 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 21 Sep 2011 17:39:16 -0500 Subject: pkg/create: include the program source in the package --- sys/man/1/pkg | 6 +++--- sys/src/cmd/pkg/create | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index b7a2d52d0..8ffed75f2 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -38,7 +38,7 @@ then packs it into a compressed .IR tar (1) archive suitable for upload to a package -repository. +repository. The source directory should be provided as a full path. .TP .I Pkg/install Install the package @@ -58,7 +58,7 @@ from the local system. .SH EXAMPLES .LP Create the package -.B irc7-2011.09.21 +.B irc7-2011.09.21: .sp 1 .EX % pkg/create /sys/src/cmd/irc7-2011.09.21 @@ -67,7 +67,7 @@ Create the package .LP Install the .B Go -programming language. +programming language: .sp 1 .EX % pkg/install go-2011.05.10 diff --git a/sys/src/cmd/pkg/create b/sys/src/cmd/pkg/create index ec350e731..b251c1b21 100755 --- a/sys/src/cmd/pkg/create +++ b/sys/src/cmd/pkg/create @@ -6,8 +6,9 @@ echo Creating $i C=`{pwd} @{ rfork en +mkdir -p /tmp/$i/files/sys/src/cmd/$i +dircp $d /tmp/$i/files/sys/src/cmd/$i cd $d -mkdir /tmp/$i mk divergefs -p /tmp/$i / mk install clean -- cgit v1.2.3 From 050db2258fca625b0052d0b0686aab73d4a8c568 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 21 Sep 2011 20:50:01 -0500 Subject: fortunes: files over 10MB may cause memory and performance problems --- sys/games/lib/fortunes | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/games/lib/fortunes b/sys/games/lib/fortunes index 4e09f4537..eb7d2ab16 100644 --- a/sys/games/lib/fortunes +++ b/sys/games/lib/fortunes @@ -4602,3 +4602,4 @@ I was using "startx" in the figurative sense. Google Search provides at least 22 special features beyond the original word-search capability. Are you sure you're on the right website? (#go-nuts) The mailing list feels more hostile than the IRC :-/ +files over 10MB may cause memory and performance problems -- cgit v1.2.3 From 6999a3294dbe54292aa6ce478f734e3a45e783d6 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Thu, 22 Sep 2011 22:45:47 -0500 Subject: mothra(1): update man page --- sys/man/1/mothra | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/sys/man/1/mothra b/sys/man/1/mothra index 374bd9b89..7cadd55c0 100644 --- a/sys/man/1/mothra +++ b/sys/man/1/mothra @@ -71,18 +71,22 @@ by underlined text or a boxed image) in the current file. Button 2 shows the URL of a file, but does not retrieve or display it. Button 3 pops up a menu of commands: -.TF save\ back +.TF alt\ display +.TP +.B alt display +Collapse or expand the navigation boxes at the top of the browser window. +.TP +.B snarf url +Copy the current URL to the snarf buffer. .TP -.B save back -Place a link to the current file in a `back list' -for future reference. +.B paste +Paste the current snarf buffer at the current cursor position. .TP -.B get back -Retrieve and display the back list. +.B save hit +Save the current URL to the hit list. .TP -.B fix cmap -Adjust the display's color map so that images will -have correct colors. +.B hit list +Retrieve and display the hit list. .TP .B exit Ask for confirmation and quit. @@ -94,17 +98,23 @@ The typed commands are: .BI g " url Get the page with the given URL. .TP +.B r +Reload the current page. +.TP .BI s " file -Save the current file in the given +Save the current page in the given .I file. .TP -.B q -Quit. +.BI W " file +Capture a screenshot of the entire browser window in the given +.I file. .TP -.B ? +.BI w " file +Capture a screenshot of the content area in the given +.I file. .TP -.B h -Get help. +.B q +Quit. .PD .PP When @@ -117,8 +127,8 @@ image), it will start up an appropriate viewer, for example .IR 9v (9.1)) for image files. .SH FILES -.B $home/lib/mothra/back.html -the back list +.B $home/lib/mothra/hit.html +the hit list .br .B $home/lib/mothra/mothra.url log of visited URLs -- cgit v1.2.3