vsta

Check-in [0417d8ec27]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:New man page organization.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:0417d8ec27679f788926606bd83a941fd3bcb4ba124d75f72f101f762113c379
User & Date: vandys 2001-10-25 19:22:48
Context
2001-11-16
11:59
Cap memory size to 768 megs; our virtual map can't handle larger sizes, and I can't develop and test a fix until I buy such a large memory config for myself! check-in: 8c03015859 user: vandys tags: master, trunk
2001-10-25
19:22
New man page organization. check-in: 0417d8ec27 user: vandys tags: master, trunk
19:16
Install man.sh as man(1) command. check-in: 88976d4f8d user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added vsta/doc/man/README.





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The files in this directory tree are nroff source using the -man macro
set.  During "make install", they are processed into text output and
this output is placed in the binary distribution.

Because there is not an acceptable open source nroff command (groff
is a bloated C++ program, and Plan 9's is not open source), this approach
was adopted so that the installed VSTa system could display man pages
without requiring the presence of an nroff.  If you want to process
man pages for yourself, you will need to go get access to the Plan 9
source (it's pretty easy to get), after which you may contact me
directly to get the patches I applied in porting to VSTa.

I would welcome pointers to a pure C, small and efficient implementation
of nroff which was available under a suitable open source license.

Andy Valencia
vandys@vsta.org
Thu Oct 25 19:22:21 2001 GMT

Changes to vsta/doc/man/install.sh.

1
2
3
4
5
6
7

8


9





10

11
#!/bin/sh
root=$1
dirs="1 2 6"

cp map $root/doc/man
for x in $dirs
do

	mkdir -p $root/doc/man/$x


	cp $x/*.$x $root/doc/man/$x





done

exit 0


|




>

>
>
|
>
>
>
>
>
|
>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
root=$1
dirs="1 2 3 6"

cp map $root/doc/man
for x in $dirs
do
	# Create the man dir for this section
	mkdir -p $root/doc/man/$x

	# Make sure no stale, old man pages are present
	rm -f $root/doc/man/$x/*.$x

	# Walk our man pages, converting from nroff source
	for y in $x/*.$x
	do
		nroff -man $y > $root/doc/man/$y
	done
done
exit 0

Deleted vsta/doc/man/map.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/1
fstab: fstab.1
kill: kill.1
mv: mv.1
ps: ps.1
pwd: pwd.1

/2
exit: exit.2
fork: fork.2
msg_accept: msg_acce.2
msg_disconnect: msg_disc.2
msg_port: msg_port.2
msg_portname: msg_por2.2
msg_reply: msg_repl.2
msg_connect: msg_conn.2
msg_err: msg_err.2
msg_receive: msg_rece.2
msg_send: msg_send.2
tfork: tfork.2
waits: waits.2
enable_io: enabio.2
enable_isr: enabisr.2
mmap: mmap.2
munmap: munmap.2
strerror: strerr.2
notify: notify.2
clone: clone.2
page_wire: pagewire.2
page_release: pagerel.2
enable_dma: enabdma.2

/3
hash_dealloc: hash_dealloc.3
hash_foreach: hash_foreach.3
hash_lookup: hash_lookup.3  
hash_alloc: hash_alloc.3
hash_delete: hash_delete.3
hash_insert: hash_insert.3
hash_size: hash_size.3    

/6
group: group.6
ids: ids.6
passwd: passwd.6
shadow: shadow.6
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<