shithub: riscv

Download patch

ref: a8fdcbf3a2e100f1e8f2ee30bead4d0ed0172b41
parent: 7575684bc0205e7079aa76dff855d08421658f85
parent: 6999a3294dbe54292aa6ce478f734e3a45e783d6
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Fri Sep 23 04:25:16 EDT 2011

merge

--- a/sys/games/lib/fortunes
+++ b/sys/games/lib/fortunes
@@ -4602,3 +4602,4 @@
 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) <areece> The mailing list feels more hostile than the IRC :-/
+files over 10MB may cause memory and performance problems
--- a/sys/man/1/mothra
+++ b/sys/man/1/mothra
@@ -71,19 +71,23 @@
 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 save back
-Place a link to the current file in a `back list'
-for future reference.
+.B alt display
+Collapse or expand the navigation boxes at the top of the browser window.
 .TP
-.B get back
-Retrieve and display the back list.
+.B snarf url
+Copy the current URL to the snarf buffer.
 .TP
-.B fix cmap
-Adjust the display's color map so that images will
-have correct colors.
+.B paste
+Paste the current snarf buffer at the current cursor position.
 .TP
+.B save hit
+Save the current URL to the hit list.
+.TP
+.B hit list
+Retrieve and display the hit list.
+.TP
 .B exit
 Ask for confirmation and quit.
 .PD
@@ -94,17 +98,23 @@
 .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 @@
 .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
--- a/sys/man/1/pkg
+++ b/sys/man/1/pkg
@@ -38,7 +38,7 @@
 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,17 +58,16 @@
 .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
 Install the
 .B Go
-programming language.
+programming language:
 .sp 1
 .EX
 % pkg/install go-2011.05.10
--- a/sys/src/cmd/pkg/create
+++ b/sys/src/cmd/pkg/create
@@ -6,8 +6,9 @@
 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