From 5cb84ec742fd33f78c8022863fadaa8d0d93e176 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Apr 2026 15:32:58 -0400 Subject: feat: Added NetBSD man pages --- static/netbsd/man1/Makefile | 5 ++ static/netbsd/man1/cd.1 | 114 +++++++++++++++++++++++ static/netbsd/man1/intro.1 | 81 +++++++++++++++++ static/netbsd/man1/ld.so.1 | 60 +++++++++++++ static/netbsd/man1/man1.atari/Makefile | 4 + static/netbsd/man1/man1.atari/edahdi.1 | 150 +++++++++++++++++++++++++++++++ static/netbsd/man1/man1.atari/msconfig.1 | 62 +++++++++++++ static/netbsd/man1/man1.x68k/Makefile | 4 + static/netbsd/man1/man1.x68k/aout2hux.1 | 81 +++++++++++++++++ static/netbsd/man1/man1.x68k/bellctrl.1 | 85 ++++++++++++++++++ static/netbsd/man1/man1.x68k/loadfont.1 | 42 +++++++++ static/netbsd/man1/man1.x68k/loadkmap.1 | 24 +++++ static/netbsd/man1/man1.x68k/palette.1 | 50 +++++++++++ static/netbsd/man1/man1.x68k/tvctrl.1 | 24 +++++ static/netbsd/man1/wait.1 | 98 ++++++++++++++++++++ 15 files changed, 884 insertions(+) create mode 100644 static/netbsd/man1/Makefile create mode 100644 static/netbsd/man1/cd.1 create mode 100644 static/netbsd/man1/intro.1 create mode 100644 static/netbsd/man1/ld.so.1 create mode 100644 static/netbsd/man1/man1.atari/Makefile create mode 100644 static/netbsd/man1/man1.atari/edahdi.1 create mode 100644 static/netbsd/man1/man1.atari/msconfig.1 create mode 100644 static/netbsd/man1/man1.x68k/Makefile create mode 100644 static/netbsd/man1/man1.x68k/aout2hux.1 create mode 100644 static/netbsd/man1/man1.x68k/bellctrl.1 create mode 100644 static/netbsd/man1/man1.x68k/loadfont.1 create mode 100644 static/netbsd/man1/man1.x68k/loadkmap.1 create mode 100644 static/netbsd/man1/man1.x68k/palette.1 create mode 100644 static/netbsd/man1/man1.x68k/tvctrl.1 create mode 100644 static/netbsd/man1/wait.1 (limited to 'static/netbsd/man1') diff --git a/static/netbsd/man1/Makefile b/static/netbsd/man1/Makefile new file mode 100644 index 00000000..18078255 --- /dev/null +++ b/static/netbsd/man1/Makefile @@ -0,0 +1,5 @@ +MAN = $(wildcard *.1) +SUBDIRS = man1.atari man1.x68k + +include ../../mandoc.mk + diff --git a/static/netbsd/man1/cd.1 b/static/netbsd/man1/cd.1 new file mode 100644 index 00000000..b31da7b3 --- /dev/null +++ b/static/netbsd/man1/cd.1 @@ -0,0 +1,114 @@ +.\" $NetBSD: cd.1,v 1.10 2019/08/31 21:35:50 uwe Exp $ +.\" +.\" Copyright (c) 1980, 1990, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" the Institute of Electrical and Electronics Engineers, Inc. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" @(#)cd.1 8.1 (Berkeley) 6/5/93 +.\" +.Dd August 31, 2019 +.Dt CD 1 +.Os +.Sh NAME +.Nm cd +.Nd change working directory +.Sh SYNOPSIS +.Nm cd +.Op Ar directory +.Sh DESCRIPTION +Since +.Nm +affects the current shell execution environment, it is always provided +as a shell regular built-in. +For more information consult the manual page for the shell in use. +.Pp +The +.Ar directory +operand is an absolute or relative pathname which becomes the new +working directory. +The interpretation of a relative pathname by +.Nm +depends on the +.Ev CDPATH +environment variable (see below). +.Sh ENVIRONMENT +The following environment variables affect the execution of +.Nm : +.Bl -tag -width Ev +.It Ev CDPATH +A colon-separated list of pathnames that refer to directories. +If the +.Ar directory +operand does not begin with a slash +.Pq Ql \&/ +character, and the first +component is not dot +.Pq Ql \&. +or dot-dot +.Pq Ql \&.. , +.Nm +searches for the +.Ar directory +relative to each directory named in the +.Ev CDPATH +variable, in the order listed. +The new working directory is set to the first matching directory found. +An empty string in place of a directory pathname represents the current +directory. +If the new working directory was derived from +.Ev CDPATH , +it will be printed to the standard output. +.It Ev HOME +If +.Nm cd +is invoked without arguments and the +.Ev HOME +environment variable exists and contains a directory name, that directory +becomes the new working directory. +.It Ev OLDPWD +Set to the previous working directory after a directory change. +Not supported by +.Xr csh 1 . +.It Ev PWD +Set to the current working directory. +.El +.Sh EXIT STATUS +.Ex -std cd +.Sh SEE ALSO +.Xr csh 1 , +.Xr ksh 1 , +.Xr pwd 1 , +.Xr sh 1 , +.Xr chdir 2 +.Sh STANDARDS +The +.Nm cd +command is expected to be +.St -p1003.2 +compatible. diff --git a/static/netbsd/man1/intro.1 b/static/netbsd/man1/intro.1 new file mode 100644 index 00000000..9f9e60e9 --- /dev/null +++ b/static/netbsd/man1/intro.1 @@ -0,0 +1,81 @@ +.\" $NetBSD: intro.1,v 1.14 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" @(#)intro.1 8.2 (Berkeley) 12/30/93 +.\" +.Dd October 26, 2013 +.Dt INTRO 1 +.Os +.Sh NAME +.Nm intro +.Nd introduction to general commands (tools and utilities) +.Sh DESCRIPTION +Section one of the manual contains most of the commands +which comprise the +.Bx +user environment. +Some of the commands included in section one are +text editors, command shell interpreters, +searching and sorting tools, +file manipulation commands, +system status commands, +remote file copy commands, mail commands, +compilers and compiler tools, +formatted output tools, +and line printer commands. +.Pp +All commands set a status value upon exit which may be tested +to see if the command completed normally. +The exit values and their meanings are explained in the individual +manuals. +Traditionally, the value 0 signifies successful completion of the command. +.Sh SEE ALSO +.Xr man 1 , +.Xr intro 2 , +.Xr intro 3 , +.Xr intro 3lua , +.Xr intro 4 , +.Xr intro 5 , +.Xr intro 6 , +.Xr intro 7 , +.Xr intro 8 , +.Xr intro 9 , +.Xr intro 9lua +.Rs +.%A The Regents of the University of California +.%I University of California, Berkeley +.%T "UNIX User's Manual Supplementary Documents" +.%D June, 1993 +.%U https://www.netbsd.org/docs/bsd/lite2/usd.html +.Re +.Sh HISTORY +An +.Xr intro 1 +manual appeared in +.At v6 . diff --git a/static/netbsd/man1/ld.so.1 b/static/netbsd/man1/ld.so.1 new file mode 100644 index 00000000..29014fa3 --- /dev/null +++ b/static/netbsd/man1/ld.so.1 @@ -0,0 +1,60 @@ +.\" $NetBSD: ld.so.1,v 1.3 2010/03/31 16:52:03 jruoho Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Thomas Klausner. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd March 31, 2010 +.Dt LD.SO 1 +.Os +.Sh NAME +.Nm ld.so +.Nd run-time link-editor +.Sh DESCRIPTION +.Nm +is a self-contained, position independent program image providing run-time +support for loading and link-editing shared objects into a process' +address space. +.Pp +For the particular details, refer to +.Xr ld.aout_so 1 +or +.Xr ld.elf_so 1 , +depending on the system's object file format. +.Sh SEE ALSO +.Xr ld 1 , +.Xr ld.aout_so 1 , +.Xr ld.elf_so 1 , +.Xr a.out 5 , +.Xr elf 5 , +.Xr link 5 , +.Xr ldconfig 8 +.Rs +.%A John R. Levine +.%B Linkers and Loaders +.%D 1999 +.%I Morgan Kaufmann +.Re diff --git a/static/netbsd/man1/man1.atari/Makefile b/static/netbsd/man1/man1.atari/Makefile new file mode 100644 index 00000000..a128dd58 --- /dev/null +++ b/static/netbsd/man1/man1.atari/Makefile @@ -0,0 +1,4 @@ +MAN = $(wildcard *.1) + +include ../../../mandoc.mk + diff --git a/static/netbsd/man1/man1.atari/edahdi.1 b/static/netbsd/man1/man1.atari/edahdi.1 new file mode 100644 index 00000000..c4b40e10 --- /dev/null +++ b/static/netbsd/man1/man1.atari/edahdi.1 @@ -0,0 +1,150 @@ +.\" $NetBSD: edahdi.1,v 1.12 2019/09/01 12:50:22 sevan Exp $ +.\" +.\" Copyright (c) 1996 Leo Weppelman +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd September 1, 2019 +.Dt EDAHDI 1 atari +.Os +.Sh NAME +.Nm edahdi +.Nd modify AHDI partition identifiers +.Sh SYNOPSIS +.Nm +.Ar device +.Sh DESCRIPTION +.Nm +allows you to modify the partition identifiers on a disk partitioned with +AHDI or an AHDI compatible formatter. +An AHDI partition format is usually only present on disks shared between +.Nx +and some other OS. +The partition identifiers are used by +.Nx +as a guideline to emulate a disklabel on such a disk. +.Pp +.Nm +supports the following options: +.Bl -tag -width device +.It Ar device +The name of the raw device you want to edit. +.El +.Pp +The following partition identifiers are recognized by +.Nx : +.Bl -tag -width "GEM or BGM" -compact +.It NBD +Partition is reserved for +.Nx . +This can be either a root or an user partition. +The first NBD partition on a disk will be mapped to partition +.Em a +in +.Nx . +The following NBD partitions will be mapped from +.Em d +up. +The filesystem type is ffs by default. +.It SWP +The first SWP partition is mapped to partition +.Em b . +.It GEM or BGM +These partitions are mapped from +.Em d +up. +The filesystem type is msdos. +.It NBR +.Nx +root partition (deprecated). +.It NBU +.Nx +user partition (deprecated). +.It NBS +.Nx +swap partition (deprecated). +.El +.Sh EXAMPLES +Say, you have a disk that is partitioned like: +.Bl -column Number Id +.It Sy "Number" Ta Sy "Id" +.It 1 Ta GEM +.It 2 Ta GEM +.It 3 Ta GEM +.It 4 Ta GEM +.El +.Pp +This partitioning will show up in +.Nx +as (Number refers to the first table): +.Bl -column "c (whole disk)" "Fstype" "Number" +.It Sy Partition Ta Sy Fstype Ta Sy Number +.It c (whole disk) Ta unused Ta "" +.It d (user part) Ta MSDOS Ta 1 +.It e (user part) Ta MSDOS Ta 2 +.It f (user part) Ta MSDOS Ta 3 +.It g (user part) Ta MSDOS Ta 4 +.El +.Pp +Now you decide to change the id of partition 2 and 3 to NBD. +Now +.Nx +will show the partitioning as (Number refers to the first table): +.Bl -column "c (whole disk)" "Fstype" "Number" +.It Sy Partition Ta Sy Fstype Ta Sy Number +.It a (root) Ta 4.2BSD Ta 2 +.It c (whole disk) Ta unused Ta "" +.It d (user part) Ta MSDOS Ta 1 +.It e (user part) Ta 4.2BSD Ta 3 +.It f (user part) Ta MSDOS Ta 4 +.El +.Pp +You will notice that the order of the partitions has changed! You will have +to watchout for this. +It is a consequence of +.Nx +habit of assigning a predefined meaning to the partitions +.Em a/b +and +.Em c . +.Sh SEE ALSO +.Xr disklabel 8 , +.Xr installboot 8 +.Sh HISTORY +The +.Nm +command first appeared in +.Nx 1.2 . +.Sh BUGS +The changes made to the AHDI partitions will become active on the next +.Em first open +of the device. +You are advised to use +.Nm +only on a device without any mounted or otherwise active partitions. +This is not enforced by +.Nm . +This is particularly confusing when your change caused partitions to shift, +as shown in the example above. +.Pp +As soon as a disk contains at least one NBD partition, you are allowed to +write disklabels and install bootstraps. diff --git a/static/netbsd/man1/man1.atari/msconfig.1 b/static/netbsd/man1/man1.atari/msconfig.1 new file mode 100644 index 00000000..953f2338 --- /dev/null +++ b/static/netbsd/man1/man1.atari/msconfig.1 @@ -0,0 +1,62 @@ +.\" $NetBSD: msconfig.1,v 1.9 2019/09/01 12:56:14 sevan Exp $ +.\" +.\" Copyright (c) 1996 Leo Weppelman +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd September 1, 2019 +.Dt MSCONFIG 1 atari +.Os +.Sh NAME +.Nm msconfig +.Nd Show or change the middle button emulation mode +.Sh SYNOPSIS +.Nm +.Op Fl f Ar mouse-device +.Op Ar on|off +.Sh DESCRIPTION +.Nm +is used to modify or examine the state of the middle-button emulation mode of +the +.Nx Ns Tn /Atari +mouse driver. +When +.Nm +is used without the +.Ar on|off +parameter, it prints the current state of the emulation mode. +The default mouse device is +.Pa /dev/mouse . +This can be overridden by means of the +.Fl f +option. +.Pp +When the emulation is turned on, a middle-button event can be generated +by simultaneously pressing the left and right buttons. +When turned off, a middle-button event is generated by pushing the fire-button +of joystick1. +Note that you'll need a special type of mouse to use this. +.Sh HISTORY +The +.Nm +command appeared in +.Nx 1.3 diff --git a/static/netbsd/man1/man1.x68k/Makefile b/static/netbsd/man1/man1.x68k/Makefile new file mode 100644 index 00000000..a128dd58 --- /dev/null +++ b/static/netbsd/man1/man1.x68k/Makefile @@ -0,0 +1,4 @@ +MAN = $(wildcard *.1) + +include ../../../mandoc.mk + diff --git a/static/netbsd/man1/man1.x68k/aout2hux.1 b/static/netbsd/man1/man1.x68k/aout2hux.1 new file mode 100644 index 00000000..91a94507 --- /dev/null +++ b/static/netbsd/man1/man1.x68k/aout2hux.1 @@ -0,0 +1,81 @@ +.\" $NetBSD: aout2hux.1,v 1.6 2019/09/01 13:30:54 sevan Exp $ +.Dd September 1, 2019 +.Dt AOUT2HUX 1 x68k +.Os +.Sh NAME +.Nm aout2hux +.Nd convert a.out/ELF executable to Human68k .x format +.Sh SYNOPSIS +.Nm +.Op Fl o Ar output_file +.Ar aout1 +.Ar loadaddr1 +.Ar aout2 +.Ar loadaddr2 +.Sh DESCRIPTION +.Nm +reads two +.Xr a.out 5 +or ELF +format executables with different load addresses +and generates a Human68k +.Sq Li \&.x +format executable. +.Pp +If the input files are a.out, they must be static +.Dv OMAGIC +/ +.Dv NMAGIC +m68k executables. +If the input files are ELF, they must be static m68k executables. +The two input executables must be created from the same objects, +but use different load addresses. +The load address is specified as a hexadecimal number. +Load addresses are a multiple of 4 for +.Xr as 1 +and +.Xr ld 1 +from +.Nx Ns Tn /m68k . +.Pp +If +.Ar output_file +is not specified with the +.Fl o +option, the default name +.Pa out.x +is used. +.Sh FILES +.Bl -tag -width out.xxxx -compact +.It Pa out.x +default output file. +.El +.Sh EXAMPLES +The following command sequence creates a Human68k executable +.Pa foo.x +from object files +.Pa a.o +and +.Pa b.o : +.Bd -literal -offset indent +cc -N -nostdlib -static -Wl,-Text,0 -o aout1 a.o b.o +cc -N -nostdlib -static -Wl,-Text,10203040 -o aout2 a.o b.o +aout2hux -o foo.x aout1 0 aout2 10203040 +.Ed +.Pp +This example uses 0x0 and 0x10203040 as the load addresses. +.Sh SEE ALSO +.Xr as 1 , +.Xr cc 1 , +.Xr ld 1 , +.Xr a.out 5 +.Sh HISTORY +The +.Nm +utility first appeared in +.Nx 1.4 . +.Sh BUGS +Symbol and debugging information is not converted. +.Pp +The generated executable is not as effective as that of +Human68k native compiler. diff --git a/static/netbsd/man1/man1.x68k/bellctrl.1 b/static/netbsd/man1/man1.x68k/bellctrl.1 new file mode 100644 index 00000000..9d92e3cd --- /dev/null +++ b/static/netbsd/man1/man1.x68k/bellctrl.1 @@ -0,0 +1,85 @@ +.\" $NetBSD: bellctrl.1,v 1.17 2019/09/01 14:26:28 sevan Exp $ +.\" +.\" Copyright (c) 1995 Takuya Harakawa. +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by the University of +.\" California, Berkeley and its contributors. +.\" 4. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" from: @(#)bellctrl.1 6.19 (Berkeley) 7/27/91 +.\" +.Dd September 1, 2019 +.Dt BELLCTRL 1 x68k +.Os +.Sh NAME +.Nm bellctrl +.Nd opm bell emulation preference utility +.Sh SYNOPSIS +.Nm bellctrl +.Op Fl b +.Op Sy b Ar on/off +.Op Sy b Op Ar volume Op Ar pitch Op Ar duration +.Op Sy v Ar default +.Op Fl v Ar voicefile +.Sh DESCRIPTION +.Nm +is used to set various preference options of the opm bell. +.Pp +The options are as follows: +.Bl -tag -width Op +.It Fl b +The b option controls bell volume, pitch and duration. +This option accepts up to three numerical parameters, a preceding +dash(-), or an 'on/off' flag. +If no parameters are given, or the 'on' flag is used, the system defaults will +be used. +If the dash or 'off' are given, the bell will be turned off. +If only one numerical parameter is given, the bell volume will be +set to that value, as a percentage of its maximum. +Likewise, the second numerical parameter specifies the bell pitch, +in hertz, and the third numerical parameter specifies the duration +in milliseconds. +.It Sy v Ar default +The +.Ar default +argument cause the voice parameter to be reset to the system default. +.It Fl v Ar voicefile +The +.Fl v +option sets the voice parameter to given voice parameter file ( +.Ar voicefile ) . +.El +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.3 . +.Sh AUTHORS +.Nm +was written by +.An Takuya Harakawa Aq Mt ussy@int.titech.ac.jp . diff --git a/static/netbsd/man1/man1.x68k/loadfont.1 b/static/netbsd/man1/man1.x68k/loadfont.1 new file mode 100644 index 00000000..019afb5b --- /dev/null +++ b/static/netbsd/man1/man1.x68k/loadfont.1 @@ -0,0 +1,42 @@ +.\" $NetBSD: loadfont.1,v 1.10 2019/09/01 14:22:12 sevan Exp $ +.\" +.\" This software is in the Public Domain. +.\" Author: Masaru Oki +.\" +.Dd September 1, 2019 +.Dt LOADFONT 1 x68k +.Os +.Sh NAME +.Nm loadfont +.Nd load and set font for the +.Nx Ns Tn /x68k +console +.Sh SYNOPSIS +.Nm loadfont +.Ar fontfile +.Sh DESCRIPTION +.Nm +command reads font data from +.Ar fontfile +and replaces the x68k console font with it. +.Pp +.Ar fontfile +format is compatible with that of +.Tn Human68k +.Sq IOCS +font. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.3 . +.Sh BUGS +Replacing kanji fonts is not supported, +because current +.Nx Ns Tn /x68k +kernel has no ability to use +one other than in the ROM. +.Pp +Font data in +.Ar fontfile +must be a full set of JIS X0201 (must contain hankaku-katakana part). diff --git a/static/netbsd/man1/man1.x68k/loadkmap.1 b/static/netbsd/man1/man1.x68k/loadkmap.1 new file mode 100644 index 00000000..2c65f6b9 --- /dev/null +++ b/static/netbsd/man1/man1.x68k/loadkmap.1 @@ -0,0 +1,24 @@ +.\" $NetBSD: loadkmap.1,v 1.7 2019/09/01 14:32:04 sevan Exp $ +.\" +.\" This software is in the Public Domain. +.\" Author: Masaru Oki +.\" +.Dd September 1, 2019 +.Dt LOADKMAP 1 x68k +.Os +.Sh NAME +.Nm loadkmap +.Nd load and set the x68k console keyboard map +.Sh SYNOPSIS +.Nm loadkmap +.Ar keymapfile +.Sh DESCRIPTION +.Nm +command reads +.Ar keymapfile +and replaces the x68k console keyboard map. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 . diff --git a/static/netbsd/man1/man1.x68k/palette.1 b/static/netbsd/man1/man1.x68k/palette.1 new file mode 100644 index 00000000..3369daa2 --- /dev/null +++ b/static/netbsd/man1/man1.x68k/palette.1 @@ -0,0 +1,50 @@ +.\" $NetBSD: palette.1,v 1.7 2019/09/01 14:34:54 sevan Exp $ +.\" +.\" This software is in the Public Domain. +.\" Author: Masaru Oki +.\" +.Dd September 1, 2019 +.Dt PALETTE 1 x68k +.Os +.Sh NAME +.Nm palette +.Nd manipulate the text screen colormap +.Sh SYNOPSIS +.Nm palette +.Op Ar red green blue Op Ar code +.Sh DESCRIPTION +The +.Nm +utility manipulates the colormap of x68k's console. +The value of the color cell number +.Ar code +is replaced according to the arguments +.Ar red, green, blue +.Po +each value is an integer from +.Li 0 +to +.Li 31 +.Pc . +.Pp +Each part of the console corresponds to the +.Ar code : +.Bl -tag -width "foreground (default)" -compact +.It background +.Li 0 +.It cursor +.Li 1 +.It foreground (default) +.Li 7 +.El +.Pp +If no arguments are supplied, +.Nm +resets the colormap to the default. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 . +.Sh BUGS +Quite a few. diff --git a/static/netbsd/man1/man1.x68k/tvctrl.1 b/static/netbsd/man1/man1.x68k/tvctrl.1 new file mode 100644 index 00000000..5a920e39 --- /dev/null +++ b/static/netbsd/man1/man1.x68k/tvctrl.1 @@ -0,0 +1,24 @@ +.\" $NetBSD: tvctrl.1,v 1.6 2019/09/01 14:40:07 sevan Exp $ +.\" +.\" This software is in the Public Domain. +.\" Author: Masaru Oki +.\" +.Dd September 1, 2019 +.Dt TVCTRL 1 x68k +.Os +.Sh NAME +.Nm tvctrl +.Nd control display-TV for X680x0 +.Sh SYNOPSIS +.Nm tvctrl +.Ar control_number +.Sh DESCRIPTION +.Nm tvctrl +is a display-TV control program for X680x0. +.Sh HISTORY +A +.Nm +utility first appeared in +.Nx 1.4 . +.Sh BUGS +Errors are not checked. diff --git a/static/netbsd/man1/wait.1 b/static/netbsd/man1/wait.1 new file mode 100644 index 00000000..90fa83fd --- /dev/null +++ b/static/netbsd/man1/wait.1 @@ -0,0 +1,98 @@ +.\" $NetBSD: wait.1,v 1.5 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" @(#)wait.1 8.1 (Berkeley) 6/5/93 +.\" +.Dd June 5, 1993 +.Dt WAIT 1 +.Os +.Sh NAME +.Nm wait +.Nd await process completion +.Sh SYNOPSIS +.Nm wait +.Op Ar pid +.Sh DESCRIPTION +If invoked with no arguments, the +.Nm wait +utility waits until +all existing child processes in the background +have terminated. +.Pp +Available operands: +.Bl -tag -width Ds +.It Ar pid +If a +.Ar pid +operand is specified, and it is the process ID of a +background child process that still exists, the +.Nm wait +utility +waits until that process has completed and consumes its +status information, without consuming the status information +of any other process. +.Pp +If a pid operand is specified that is not the process ID of +a child background process that still exists, +.Nm wait +exits +without waiting for any processes to complete. +.El +.Pp +The +.Nm wait +utility exits with one of the following values: +.Bl -tag -width Ds +.It \&0 +The +.Nm wait +utility was invoked with no operands and +all of the existing background child processes have +terminated, or the process specified by the pid +operand exited normally with 0 as its exit status. +.It \&>\&0 +The specified process did not exist and its exit +status information was not available, or the specified +process existed or its exit status information +was available, and it terminated with a non-zero +exit status. +.El +.Pp +If the specified process terminated abnormally due +to the receipt of a signal, the exit status +information of +.Nm wait +contains that termination status as +well. +.Sh STANDARDS +The +.Nm wait +command is expected to be +.St -p1003.2 +compatible. -- cgit v1.2.3