summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>1999-08-28 02:48:20 +0000
committerjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>1999-08-28 02:48:20 +0000
commit54855e6be8333e9ae90d54d7fb9d2dd485c8cec8 (patch)
treee1468833416f1186fbe20c7a4690d919d3ac3bd8 /doc
Initial revision
Diffstat (limited to 'doc')
-rw-r--r--doc/ANNOUNCE35
-rw-r--r--doc/BUGS14
-rw-r--r--doc/COPYING339
-rw-r--r--doc/GPL340
-rw-r--r--doc/TODO17
-rw-r--r--doc/pdmenu-0.6.4.lsm15
-rw-r--r--doc/pdmenu-1.0.0.lsm15
-rw-r--r--doc/pdmenu-1.0.1.lsm15
-rw-r--r--doc/pdmenu-1.0.2.lsm15
-rw-r--r--doc/pdmenu-1.1.1.lsm15
-rw-r--r--doc/pdmenu-1.1.2.lsm15
-rw-r--r--doc/pdmenu-1.1.3.lsm15
-rw-r--r--doc/pdmenu-1.1.4.lsm15
-rw-r--r--doc/pdmenu-1.1.5.lsm15
-rw-r--r--doc/pdmenu-1.1.6.lsm15
-rw-r--r--doc/pdmenu-1.1.7.lsm15
-rw-r--r--doc/pdmenu-1.1.8.lsm15
-rw-r--r--doc/pdmenu-1.2.0.lsm15
-rw-r--r--doc/pdmenu-1.2.1.lsm15
-rw-r--r--doc/pdmenu-1.2.10.lsm15
-rw-r--r--doc/pdmenu-1.2.11.lsm15
-rw-r--r--doc/pdmenu-1.2.12.lsm15
-rw-r--r--doc/pdmenu-1.2.13.lsm15
-rw-r--r--doc/pdmenu-1.2.14.lsm15
-rw-r--r--doc/pdmenu-1.2.15.lsm15
-rw-r--r--doc/pdmenu-1.2.16.lsm15
-rw-r--r--doc/pdmenu-1.2.17.lsm15
-rw-r--r--doc/pdmenu-1.2.18.lsm15
-rw-r--r--doc/pdmenu-1.2.19.lsm15
-rw-r--r--doc/pdmenu-1.2.2.lsm15
-rw-r--r--doc/pdmenu-1.2.20.lsm15
-rw-r--r--doc/pdmenu-1.2.21.lsm15
-rw-r--r--doc/pdmenu-1.2.22.lsm15
-rw-r--r--doc/pdmenu-1.2.23.lsm15
-rw-r--r--doc/pdmenu-1.2.24.lsm15
-rw-r--r--doc/pdmenu-1.2.25.lsm15
-rw-r--r--doc/pdmenu-1.2.26.lsm15
-rw-r--r--doc/pdmenu-1.2.27.lsm15
-rw-r--r--doc/pdmenu-1.2.28.lsm15
-rw-r--r--doc/pdmenu-1.2.29.lsm15
-rw-r--r--doc/pdmenu-1.2.3.lsm15
-rw-r--r--doc/pdmenu-1.2.30.lsm15
-rw-r--r--doc/pdmenu-1.2.31.lsm15
-rw-r--r--doc/pdmenu-1.2.32.lsm15
-rw-r--r--doc/pdmenu-1.2.33.lsm15
-rw-r--r--doc/pdmenu-1.2.34.lsm15
-rw-r--r--doc/pdmenu-1.2.35.lsm15
-rw-r--r--doc/pdmenu-1.2.36.lsm15
-rw-r--r--doc/pdmenu-1.2.37.lsm15
-rw-r--r--doc/pdmenu-1.2.38.lsm15
-rw-r--r--doc/pdmenu-1.2.39.lsm15
-rw-r--r--doc/pdmenu-1.2.4.lsm15
-rw-r--r--doc/pdmenu-1.2.40.lsm15
-rw-r--r--doc/pdmenu-1.2.41.lsm15
-rw-r--r--doc/pdmenu-1.2.42.lsm15
-rw-r--r--doc/pdmenu-1.2.5.lsm15
-rw-r--r--doc/pdmenu-1.2.6.lsm15
-rw-r--r--doc/pdmenu-1.2.7.lsm15
-rw-r--r--doc/pdmenu-1.2.8.lsm15
-rw-r--r--doc/pdmenu-1.2.9.lsm15
-rw-r--r--doc/pdmenu.lsm.in15
-rw-r--r--doc/pdmenu.man106
-rw-r--r--doc/pdmenu.man.in106
-rw-r--r--doc/pdmenurc.man304
-rw-r--r--doc/pdmenurc.man.in304
65 files changed, 2405 insertions, 0 deletions
diff --git a/doc/ANNOUNCE b/doc/ANNOUNCE
new file mode 100644
index 0000000..d46d48f
--- /dev/null
+++ b/doc/ANNOUNCE
@@ -0,0 +1,35 @@
+Subject: pdmenu 1.0.0 - simple text mode menu system
+Followup-to: comp.os.linux.misc
+
+Pdmenu is a menu system for Unix. It is designed to be easy to use,
+and is suitable for a login shell for inexperienced users, or it can
+just be run at the command line as a handy menu program.
+
+Pdmenu features color support and, GPM mouse support at the linux
+console. It compiles on Linux and Sun and maybe other Unixes.
+
+I was prompted to write Pdmenu when I took a look at a shell script
+that used dialog to generate similar menus. The shell script was
+huge, complicated, and ugly, and had to be modified manually to add
+anything to the menu. I hope that Pdmenu is better. :-)
+
+For more info, including source code and packages for Debian and
+Red Hat visit Pdmenu's home page at:
+ http://kite.ml.org/programs/pdmenu/
+
+Begin3
+Title: pdmenu
+Version: 1.0.0
+Entered-date: 12Mar97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 59 pdmenu-1.0.0.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
+
diff --git a/doc/BUGS b/doc/BUGS
new file mode 100644
index 0000000..15b4733
--- /dev/null
+++ b/doc/BUGS
@@ -0,0 +1,14 @@
+This is the first, yes, the first C program I ever wrote. if you're a
+seasoned C programmer, and you're ROTFL over my code, please write me
+<joey@kite.ml.org>, and give me a hand!
+
+If you want to report a bug, please include the version of pdmenu, slang,
+and what operating system you are using.
+
+Current bugs:
+ I'm sure there are spelling errors throughout. Too bad.
+
+ Home/End don't work in my xterm. This is probably a problem with my
+ terminfo file for xterm.
+
+ Backspace doesn't work in my xterms in edit boxes. Ctrl-h does. Hm.
diff --git a/doc/COPYING b/doc/COPYING
new file mode 100644
index 0000000..a43ea21
--- /dev/null
+++ b/doc/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/doc/GPL b/doc/GPL
new file mode 100644
index 0000000..60549be
--- /dev/null
+++ b/doc/GPL
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/doc/TODO b/doc/TODO
new file mode 100644
index 0000000..76628ff
--- /dev/null
+++ b/doc/TODO
@@ -0,0 +1,17 @@
+Yet to be done:
+ * A menu file editor, to make it easy for you to set up your own
+ menus.
+ * Break out a general widget library.
+ * Better shadows on menus.
+ * Scrollbars on menus.
+ * Autodetect if terminal supports color
+ * Make windows in the background grey or some other color to be less
+ confusing.
+ * Handle BS characters properly, so man pages can be displayed in
+ windows. This would be nasty to do, and the benefit is
+ small...
+ * There are some ugly loops in DoMenu_Up and DoMenu_Down that could
+ be eliminated by careful programming.
+ * Support arrow keys, etc in inputbox.
+ * Make the menu array be a dynamic array so there can be unlimited
+ numbers of menus.
diff --git a/doc/pdmenu-0.6.4.lsm b/doc/pdmenu-0.6.4.lsm
new file mode 100644
index 0000000..4ce7aac
--- /dev/null
+++ b/doc/pdmenu-0.6.4.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 0.6.4
+Entered-date: 02Mar97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 59 pdmenu-0.6.4.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.0.0.lsm b/doc/pdmenu-1.0.0.lsm
new file mode 100644
index 0000000..289fe30
--- /dev/null
+++ b/doc/pdmenu-1.0.0.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.0.0
+Entered-date: 14Mar97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 60 pdmenu-1.0.0.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.0.1.lsm b/doc/pdmenu-1.0.1.lsm
new file mode 100644
index 0000000..d87dc2f
--- /dev/null
+++ b/doc/pdmenu-1.0.1.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.0.1
+Entered-date: 16MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 61 pdmenu-1.0.1.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.0.2.lsm b/doc/pdmenu-1.0.2.lsm
new file mode 100644
index 0000000..f881c87
--- /dev/null
+++ b/doc/pdmenu-1.0.2.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.0.2
+Entered-date: 17MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 91 pdmenu-1.0.2.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.1.lsm b/doc/pdmenu-1.1.1.lsm
new file mode 100644
index 0000000..381ec42
--- /dev/null
+++ b/doc/pdmenu-1.1.1.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.1
+Entered-date: 19MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 128 pdmenu-1.1.1.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.2.lsm b/doc/pdmenu-1.1.2.lsm
new file mode 100644
index 0000000..36752a4
--- /dev/null
+++ b/doc/pdmenu-1.1.2.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.2
+Entered-date: 22MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 63 pdmenu-1.1.2.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.3.lsm b/doc/pdmenu-1.1.3.lsm
new file mode 100644
index 0000000..97576e0
--- /dev/null
+++ b/doc/pdmenu-1.1.3.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.3
+Entered-date: 23MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 63 pdmenu-1.1.3.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.4.lsm b/doc/pdmenu-1.1.4.lsm
new file mode 100644
index 0000000..dd41c97
--- /dev/null
+++ b/doc/pdmenu-1.1.4.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.4
+Entered-date: 26MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 62 pdmenu-1.1.4.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.5.lsm b/doc/pdmenu-1.1.5.lsm
new file mode 100644
index 0000000..fa82199
--- /dev/null
+++ b/doc/pdmenu-1.1.5.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.5
+Entered-date: 28MAR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 128 pdmenu-1.1.5.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.6.lsm b/doc/pdmenu-1.1.6.lsm
new file mode 100644
index 0000000..71400b9
--- /dev/null
+++ b/doc/pdmenu-1.1.6.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.6
+Entered-date: 02APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 63 pdmenu-1.1.6.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.7.lsm b/doc/pdmenu-1.1.7.lsm
new file mode 100644
index 0000000..0054a2d
--- /dev/null
+++ b/doc/pdmenu-1.1.7.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.7
+Entered-date: 07APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 130 pdmenu-1.1.7.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.1.8.lsm b/doc/pdmenu-1.1.8.lsm
new file mode 100644
index 0000000..e462198
--- /dev/null
+++ b/doc/pdmenu-1.1.8.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.1.8
+Entered-date: 10APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 64 pdmenu-1.1.8.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.0.lsm b/doc/pdmenu-1.2.0.lsm
new file mode 100644
index 0000000..73710d1
--- /dev/null
+++ b/doc/pdmenu-1.2.0.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.0
+Entered-date: 14APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 68 pdmenu-1.2.0.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.1.lsm b/doc/pdmenu-1.2.1.lsm
new file mode 100644
index 0000000..fefbf00
--- /dev/null
+++ b/doc/pdmenu-1.2.1.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.1
+Entered-date: 20APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.1.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.10.lsm b/doc/pdmenu-1.2.10.lsm
new file mode 100644
index 0000000..78a0154
--- /dev/null
+++ b/doc/pdmenu-1.2.10.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.10
+Entered-date: 25JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.10.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.11.lsm b/doc/pdmenu-1.2.11.lsm
new file mode 100644
index 0000000..c1ec900
--- /dev/null
+++ b/doc/pdmenu-1.2.11.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.11
+Entered-date: 26JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.11.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.12.lsm b/doc/pdmenu-1.2.12.lsm
new file mode 100644
index 0000000..b90b880
--- /dev/null
+++ b/doc/pdmenu-1.2.12.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.12
+Entered-date: 01JUL97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 143 pdmenu-1.2.12.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.13.lsm b/doc/pdmenu-1.2.13.lsm
new file mode 100644
index 0000000..0fdda84
--- /dev/null
+++ b/doc/pdmenu-1.2.13.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.13
+Entered-date: 14JUL97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 154 pdmenu-1.2.13.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.14.lsm b/doc/pdmenu-1.2.14.lsm
new file mode 100644
index 0000000..a9fa4b7
--- /dev/null
+++ b/doc/pdmenu-1.2.14.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.14
+Entered-date: 18JUL97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.14.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.15.lsm b/doc/pdmenu-1.2.15.lsm
new file mode 100644
index 0000000..d62de57
--- /dev/null
+++ b/doc/pdmenu-1.2.15.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.15
+Entered-date: 21JUL97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 151 pdmenu-1.2.15.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.16.lsm b/doc/pdmenu-1.2.16.lsm
new file mode 100644
index 0000000..9aec2fd
--- /dev/null
+++ b/doc/pdmenu-1.2.16.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.16
+Entered-date: 30JUL97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 489 pdmenu-1.2.16.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.17.lsm b/doc/pdmenu-1.2.17.lsm
new file mode 100644
index 0000000..ea189d6
--- /dev/null
+++ b/doc/pdmenu-1.2.17.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.17
+Entered-date: 04AUG97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 76 pdmenu-1.2.17.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.18.lsm b/doc/pdmenu-1.2.18.lsm
new file mode 100644
index 0000000..bdf3291
--- /dev/null
+++ b/doc/pdmenu-1.2.18.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.18
+Entered-date: 15SEP97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 73 pdmenu-1.2.18.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.19.lsm b/doc/pdmenu-1.2.19.lsm
new file mode 100644
index 0000000..c5cacff
--- /dev/null
+++ b/doc/pdmenu-1.2.19.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.19
+Entered-date: 26SEP97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 71 pdmenu-1.2.19.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.2.lsm b/doc/pdmenu-1.2.2.lsm
new file mode 100644
index 0000000..c5d61d3
--- /dev/null
+++ b/doc/pdmenu-1.2.2.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.2
+Entered-date: 21APR97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 68 pdmenu-1.2.2.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.20.lsm b/doc/pdmenu-1.2.20.lsm
new file mode 100644
index 0000000..fcd1eaf
--- /dev/null
+++ b/doc/pdmenu-1.2.20.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.20
+Entered-date: 03OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 71 pdmenu-1.2.20.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.21.lsm b/doc/pdmenu-1.2.21.lsm
new file mode 100644
index 0000000..6562b52
--- /dev/null
+++ b/doc/pdmenu-1.2.21.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.21
+Entered-date: 04OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 71 pdmenu-1.2.21.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.22.lsm b/doc/pdmenu-1.2.22.lsm
new file mode 100644
index 0000000..51f4495
--- /dev/null
+++ b/doc/pdmenu-1.2.22.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.22
+Entered-date: 05OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.22.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.23.lsm b/doc/pdmenu-1.2.23.lsm
new file mode 100644
index 0000000..7c132a1
--- /dev/null
+++ b/doc/pdmenu-1.2.23.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.23
+Entered-date: 07OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.23.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.24.lsm b/doc/pdmenu-1.2.24.lsm
new file mode 100644
index 0000000..4eb375d
--- /dev/null
+++ b/doc/pdmenu-1.2.24.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.24
+Entered-date: 08OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 77 pdmenu-1.2.24.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.25.lsm b/doc/pdmenu-1.2.25.lsm
new file mode 100644
index 0000000..976097c
--- /dev/null
+++ b/doc/pdmenu-1.2.25.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.25
+Entered-date: 17OCT97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.25.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.26.lsm b/doc/pdmenu-1.2.26.lsm
new file mode 100644
index 0000000..172a416
--- /dev/null
+++ b/doc/pdmenu-1.2.26.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.26
+Entered-date: 02NOV97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.26.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.27.lsm b/doc/pdmenu-1.2.27.lsm
new file mode 100644
index 0000000..d6bbcdc
--- /dev/null
+++ b/doc/pdmenu-1.2.27.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.27
+Entered-date: 17NOV97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.27.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.28.lsm b/doc/pdmenu-1.2.28.lsm
new file mode 100644
index 0000000..ca663ce
--- /dev/null
+++ b/doc/pdmenu-1.2.28.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.28
+Entered-date: 26NOV97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 74 pdmenu-1.2.28.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.29.lsm b/doc/pdmenu-1.2.29.lsm
new file mode 100644
index 0000000..c43688e
--- /dev/null
+++ b/doc/pdmenu-1.2.29.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.29
+Entered-date: 28NOV97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 79 pdmenu-1.2.29.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.3.lsm b/doc/pdmenu-1.2.3.lsm
new file mode 100644
index 0000000..c8927e7
--- /dev/null
+++ b/doc/pdmenu-1.2.3.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.3
+Entered-date: 07MAY97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 68 pdmenu-1.2.3.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.30.lsm b/doc/pdmenu-1.2.30.lsm
new file mode 100644
index 0000000..29a0afe
--- /dev/null
+++ b/doc/pdmenu-1.2.30.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.30
+Entered-date: 23DEC97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 82 pdmenu-1.2.30.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.31.lsm b/doc/pdmenu-1.2.31.lsm
new file mode 100644
index 0000000..c778e15
--- /dev/null
+++ b/doc/pdmenu-1.2.31.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.31
+Entered-date: 02FEB98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 82 pdmenu-1.2.31.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.32.lsm b/doc/pdmenu-1.2.32.lsm
new file mode 100644
index 0000000..dec2058
--- /dev/null
+++ b/doc/pdmenu-1.2.32.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.32
+Entered-date: 07FEB98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 82 pdmenu-1.2.32.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.33.lsm b/doc/pdmenu-1.2.33.lsm
new file mode 100644
index 0000000..8a08cf8
--- /dev/null
+++ b/doc/pdmenu-1.2.33.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.33
+Entered-date: 09FEB98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 83 pdmenu-1.2.33.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.34.lsm b/doc/pdmenu-1.2.34.lsm
new file mode 100644
index 0000000..3003709
--- /dev/null
+++ b/doc/pdmenu-1.2.34.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.34
+Entered-date: 14MAR98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 83 pdmenu-1.2.34.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.35.lsm b/doc/pdmenu-1.2.35.lsm
new file mode 100644
index 0000000..acf9adf
--- /dev/null
+++ b/doc/pdmenu-1.2.35.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.35
+Entered-date: 25APR98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 83 pdmenu-1.2.35.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.36.lsm b/doc/pdmenu-1.2.36.lsm
new file mode 100644
index 0000000..53699c5
--- /dev/null
+++ b/doc/pdmenu-1.2.36.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.36
+Entered-date: 04MAY98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 83 pdmenu-1.2.36.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.37.lsm b/doc/pdmenu-1.2.37.lsm
new file mode 100644
index 0000000..b34f1cf
--- /dev/null
+++ b/doc/pdmenu-1.2.37.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.37
+Entered-date: 05AUG98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 92 pdmenu-1.2.37.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.38.lsm b/doc/pdmenu-1.2.38.lsm
new file mode 100644
index 0000000..25985dc
--- /dev/null
+++ b/doc/pdmenu-1.2.38.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.38
+Entered-date: 30OCT98
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 174 pdmenu-1.2.38.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.39.lsm b/doc/pdmenu-1.2.39.lsm
new file mode 100644
index 0000000..7ab1a57
--- /dev/null
+++ b/doc/pdmenu-1.2.39.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.39
+Entered-date: 19FEB99
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 176 pdmenu-1.2.39.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.4.lsm b/doc/pdmenu-1.2.4.lsm
new file mode 100644
index 0000000..303f378
--- /dev/null
+++ b/doc/pdmenu-1.2.4.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.4
+Entered-date: 26MAY97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 69 pdmenu-1.2.4.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.40.lsm b/doc/pdmenu-1.2.40.lsm
new file mode 100644
index 0000000..b8612f2
--- /dev/null
+++ b/doc/pdmenu-1.2.40.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.40
+Entered-date: 25FEB99
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 177 pdmenu-1.2.40.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.41.lsm b/doc/pdmenu-1.2.41.lsm
new file mode 100644
index 0000000..f49669a
--- /dev/null
+++ b/doc/pdmenu-1.2.41.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.41
+Entered-date: 02AUG99
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 176 pdmenu-1.2.41.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.42.lsm b/doc/pdmenu-1.2.42.lsm
new file mode 100644
index 0000000..5e48759
--- /dev/null
+++ b/doc/pdmenu-1.2.42.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.42
+Entered-date: 02AUG99
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kitenet.net
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 176 pdmenu-1.2.42.tar.gz
+Alternate-site: kitenet.net /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.5.lsm b/doc/pdmenu-1.2.5.lsm
new file mode 100644
index 0000000..09eab1b
--- /dev/null
+++ b/doc/pdmenu-1.2.5.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.5
+Entered-date: 05JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 70 pdmenu-1.2.5.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.6.lsm b/doc/pdmenu-1.2.6.lsm
new file mode 100644
index 0000000..7d33511
--- /dev/null
+++ b/doc/pdmenu-1.2.6.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.6
+Entered-date: 06JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.6.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.7.lsm b/doc/pdmenu-1.2.7.lsm
new file mode 100644
index 0000000..4ea2be6
--- /dev/null
+++ b/doc/pdmenu-1.2.7.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.7
+Entered-date: 11JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 140 pdmenu-1.2.7.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.8.lsm b/doc/pdmenu-1.2.8.lsm
new file mode 100644
index 0000000..b86cfb0
--- /dev/null
+++ b/doc/pdmenu-1.2.8.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.8
+Entered-date: 13JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 72 pdmenu-1.2.8.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu-1.2.9.lsm b/doc/pdmenu-1.2.9.lsm
new file mode 100644
index 0000000..f9c3cba
--- /dev/null
+++ b/doc/pdmenu-1.2.9.lsm
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: 1.2.9
+Entered-date: 23JUN97
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ 68 pdmenu-1.2.9.tar.gz
+Alternate-site: kite.ml.org /pub/code/pdmenu/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu.lsm.in b/doc/pdmenu.lsm.in
new file mode 100644
index 0000000..e033803
--- /dev/null
+++ b/doc/pdmenu.lsm.in
@@ -0,0 +1,15 @@
+Begin3
+Title: pdmenu
+Version: @VER@
+Entered-date: @LSM_BUILD_DATE@
+Description: Simple full screen menu program. Can be used
+ as a login shell for inexperienced users.
+ Features color, mouse support, and powerful
+ (but simple!) menu definition files.
+Keywords: menu shell
+Author: joey@kite.ml.org
+Primary-site: sunsite.unc.edu /pub/Linux/utils/shell
+ @TAR_FILE_SIZE_GUESS@ pdmenu-@VER@.tar.gz
+Alternate-site: kite.ml.org /pub/code/
+Copying-policy: GPL
+End
diff --git a/doc/pdmenu.man b/doc/pdmenu.man
new file mode 100644
index 0000000..db9b5ac
--- /dev/null
+++ b/doc/pdmenu.man
@@ -0,0 +1,106 @@
+.\" -*- nroff -*-
+.TH PDMENU 1 "February 28 1997" "0.6.3" "Commands"
+.SH NAME
+pdmenu \- simple full screen menu program
+.SH SYNOPSIS
+.B pdmenu [\-h] [\-c] [\-n] [\fImenufile\fP ...]
+.SH DESCRIPTION
+.I pdmenu
+is a simple menu program for Linux that displays a menu from which the
+user can pick programs to run. Submenus are supported.
+.PP
+When you run
+.I pdmenu
+, you will be presented with a menu. Simply use the arrow
+keys to move to the program you want to run, and press Enter to run the
+program. When the program ends, you will be returned to the menu.
+.PP
+If you are running pdmenu at the linux console, and gpm is running, you can
+move the mouse and click to navigate through the menus.
+.PP
+Some menu items are actually submenus, and will take you to another menu.
+Others may cause a text edit window to be displayed, where you can enter
+parameters for a command before running it. Still others may run a command,
+and display the output in a window.
+.SH KEYS
+Here are all keys you need to get around in \fIpdmenu\fP:
+.IP "[up arrow], 8, -"
+Move up one line in the menu.
+.IP "[down arrow], 2, +"
+Move down one line.
+.IP "[page up], [ctrl-u]"
+Move up an entire screen.
+.IP "[page down], [space], [ctrl-v]"
+Move down an entire screen.
+.IP "[home]"
+Move to the first entry of the menu.
+.IP "[end]"
+Move to the last entry of the menu.
+.IP "q"
+Exit the current menu, or exit
+.I pdmenu
+if used on the first menu. Does not
+work in the text edit windows. (This will not work if there is also a hotkey
+set up for \*(L'q\*(R', the hotkey takes precedence.)
+.IP "ESC"
+Close the currently active window, and return to the perious window.
+.IP "[ctrl-c]"
+Exit
+.I pdmenu
+immediately.
+.IP "[ctrl-r]"
+Force a redraw of the screen.
+.IP "[enter]"
+Launch the selected menu item. In a text edit window, closes the window.
+.IP "[backspace]"
+Performs a destructive backspace in a text edit window.
+.IP "hotkeys"
+Some letters of a menu item may be highlighted. These are hotkeys; simply
+press the highlighted letter to select the next menu item with that hotkey.
+.SH OPTIONS
+.IP "-h, --help"
+Display usage summary and exit.
+.IP "-c, --color"
+Use color. By default,
+.I pdmenu
+will display in black and white mode. If your
+terminal supports color, use this switch.
+.IP "-q, --quit"
+By default, at the opening menu, 'q' will exit \fIpdmenu\fP.
+If the \-q switch is
+specified, this will not be the case. This is useful if you want to prevent
+the user from ever exiting \fIpdmenu\fP.
+.SP
+This also disables control-c and the right mouse button from exiting
+\fIpdmenu\fP.
+.IP "menufile ..."
+Specify a menu definition file or files to use. If you specify multiple
+files, they will all be loaded in together.
+.SH NOTES
+To use the mouse to cut and paste as usual, hold down on the shift key when
+you use the mouse.
+.SH FILES
+.I /etc/pdmenurc
+.RS
+Default config file. See
+.BR pdmenurc (5)
+for details.
+.RE
+.I ~/.pdmenurc
+.RS
+If this exists, it overrides /etc/pdmenurc. See
+.BR pdmenurc (5)
+for details.
+.SH ENVIRONMENT
+.IP COLORTERM
+Set this variable to make
+.I pdmenu
+to use color by default.
+.SH DISTRIBUTION
+Redistribution is subject to the GNU public license.
+.SH BUGS
+No important bugs are known at this time.
+.SH AUTHOR
+Joey Hess, <joey@kite.ml.org>.
+.SH "SEE ALSO"
+.BR pdmenurc (5)
diff --git a/doc/pdmenu.man.in b/doc/pdmenu.man.in
new file mode 100644
index 0000000..73fbf0c
--- /dev/null
+++ b/doc/pdmenu.man.in
@@ -0,0 +1,106 @@
+.\" -*- nroff -*-
+.TH PDMENU 1 "@BUILD_DATE@" "@VER@" "Commands"
+.SH NAME
+pdmenu \- simple full screen menu program
+.SH SYNOPSIS
+.B pdmenu [\-h] [\-c] [\-n] [\fImenufile\fP ...]
+.SH DESCRIPTION
+.I pdmenu
+is a simple menu program for Linux that displays a menu from which the
+user can pick programs to run. Submenus are supported.
+.PP
+When you run
+.I pdmenu
+, you will be presented with a menu. Simply use the arrow
+keys to move to the program you want to run, and press Enter to run the
+program. When the program ends, you will be returned to the menu.
+.PP
+If you are running pdmenu at the linux console, and gpm is running, you can
+move the mouse and click to navigate through the menus.
+.PP
+Some menu items are actually submenus, and will take you to another menu.
+Others may cause a text edit window to be displayed, where you can enter
+parameters for a command before running it. Still others may run a command,
+and display the output in a window.
+.SH KEYS
+Here are all keys you need to get around in \fIpdmenu\fP:
+.IP "[up arrow], 8, -"
+Move up one line in the menu.
+.IP "[down arrow], 2, +"
+Move down one line.
+.IP "[page up], [ctrl-u]"
+Move up an entire screen.
+.IP "[page down], [space], [ctrl-v]"
+Move down an entire screen.
+.IP "[home]"
+Move to the first entry of the menu.
+.IP "[end]"
+Move to the last entry of the menu.
+.IP "q"
+Exit the current menu, or exit
+.I pdmenu
+if used on the first menu. Does not
+work in the text edit windows. (This will not work if there is also a hotkey
+set up for \*(L'q\*(R', the hotkey takes precedence.)
+.IP "ESC"
+Close the currently active window, and return to the perious window.
+.IP "[ctrl-c]"
+Exit
+.I pdmenu
+immediately.
+.IP "[ctrl-r]"
+Force a redraw of the screen.
+.IP "[enter]"
+Launch the selected menu item. In a text edit window, closes the window.
+.IP "[backspace]"
+Performs a destructive backspace in a text edit window.
+.IP "hotkeys"
+Some letters of a menu item may be highlighted. These are hotkeys; simply
+press the highlighted letter to select the next menu item with that hotkey.
+.SH OPTIONS
+.IP "-h, --help"
+Display usage summary and exit.
+.IP "-c, --color"
+Use color. By default,
+.I pdmenu
+will display in black and white mode. If your
+terminal supports color, use this switch.
+.IP "-q, --quit"
+By default, at the opening menu, 'q' will exit \fIpdmenu\fP.
+If the \-q switch is
+specified, this will not be the case. This is useful if you want to prevent
+the user from ever exiting \fIpdmenu\fP.
+.SP
+This also disables control-c and the right mouse button from exiting
+\fIpdmenu\fP.
+.IP "menufile ..."
+Specify a menu definition file or files to use. If you specify multiple
+files, they will all be loaded in together.
+.SH NOTES
+To use the mouse to cut and paste as usual, hold down on the shift key when
+you use the mouse.
+.SH FILES
+.I @PDMENU_SYSCONFDIR@/pdmenurc
+.RS
+Default config file. See
+.BR pdmenurc (5)
+for details.
+.RE
+.I ~/.pdmenurc
+.RS
+If this exists, it overrides @PDMENU_SYSCONFDIR@/pdmenurc. See
+.BR pdmenurc (5)
+for details.
+.SH ENVIRONMENT
+.IP COLORTERM
+Set this variable to make
+.I pdmenu
+to use color by default.
+.SH DISTRIBUTION
+Redistribution is subject to the GNU public license.
+.SH BUGS
+No important bugs are known at this time.
+.SH AUTHOR
+Joey Hess, <joey@kite.ml.org>.
+.SH "SEE ALSO"
+.BR pdmenurc (5)
diff --git a/doc/pdmenurc.man b/doc/pdmenurc.man
new file mode 100644
index 0000000..4b732b3
--- /dev/null
+++ b/doc/pdmenurc.man
@@ -0,0 +1,304 @@
+.\" -*- nroff -*-
+.TH PDMENURC 5 "February 28 1997" "pdmenu" "File formats"
+.SH NAME
+pdmenurc \- menu definitions file for pdmenu
+.SH SYNOPSIS
+.B /etc/pdmenurc
+.PP
+.B ~/.pdmenurc
+.SH DESCRIPTION
+The pdmenurc file defines menus for
+.BR pdmenu (1)
+to display. Each menu consists of one or more menu entries.
+The first menu to appear in the file is displayed by
+.BR pdmenu (1)
+when it starts up, and can have menu entries that call up submenus.
+.SH EXAMPLES
+Here is a sample pdmenurc file:
+.PP
+ #Set a pleasing color scheme.
+ color:desktop:blue:blue
+ color:title:blue:white
+ color:base:blue:white
+
+ #this is a comment
+ menu:main:Main Menu:Things to do at foobar
+ show:_Games..::games
+ exec:_Mail::pine
+ exec:_News::slrn -C
+ exec:_WWW::lynx
+ exec:_Irc::irc
+ exec:_Directory _Listing:dn:ls -l
+ exec:_Who's online?:d:w
+ exec:_Finger:ed:finger ~finger who?:~
+ exit:E_xit
+
+ menu:games:Games:Some text-based games
+ exec:_Tetris for Terminals::/usr/games/tt
+ exec:_Adventure::/usr/games/adventure
+ exec:_Zork::/usr/games/zork
+ nop
+ exit:_Back to main menu..
+
+This will display a menu, with a submenu for games.
+.SH FORMAT
+.BR pdmenu (1)
+doesn't care how the pdmenurc is indented; all whitespace is ignored.
+However, each command must be on its own line.
+.TP
+nop
+This does nothing but place a blank line in the menu. Nop commands may not
+appear as the first command in a menu.
+Syntax:
+.RS
+.PP
+\fInop[:text]\fR
+.TP
+text
+If this is present, it will appear in the menu where the nop is. Otherwise,
+the nop in the menu will be a blank line.
+.RE
+.TP
+menu
+This starts a menu. All items between this menu command and the next will
+comprise one menu. If a menu by the same name has already been defined
+earlier, then all items between this menu command and the next will be added
+to the menu. It is illegal to have a menu without any commands in it.
+The syntax is:
+.RS
+.PP
+\fImenu:menuname:title[:helptext]\fR
+.TP
+menuname
+The name of the menu (each menu must have a unique name).
+.TP
+title
+The title of the menu.
+.TP
+helptext
+Text to be displayed at the bottom of the screen when the menu is active.
+.RE
+.TP
+show
+This displays a submenu. The syntax is:
+.RS
+.PP
+\fIshow:desc:flags:menuname\fR
+.TP
+menuname
+The name of the menu to show, corresponding to the menuname given in the
+menu's definition.
+.TP
+desc
+The description of the submenu to appear in the parent window.
+.RS
+.PP
+To place a hotkey in the description, put a '_' before the character you
+want to become the hotkey. It is a good idea to differentiate submenus
+from commands in a menu by, for example, appending ".." to their
+descriptions.
+.RE
+.IP flags
+Currently ignored.
+.IP
+.RE
+.TP
+exit
+If only one menu is on the screen when this is selected, then
+.BR pdmenu (1)
+will quit. Otherwise, this will take the user back to the parent menu of the
+menu they are currently in. Selecting an exit command in a menu is equivalent
+to pressing 'q', unless you have ran
+.BR pdmenu (1)
+with the \-q switch. The syntax is:
+.RS
+.PP
+\fIexit:desc\fR
+.TP
+desc
+The description of the menu item.
+.RS
+.PP
+To place a hotkey in the description, put
+a '_' before the character you want to become the hotkey.
+.RE
+.RE
+.TP
+exec
+This runs a command. The syntax is:
+.RS
+.PP
+\fIexec:desc:flags:command\fR
+.TP
+command
+The actual command to run when this item is selected.
+.TP
+desc
+The description of the command that appears in the menu.
+.RS
+.PP
+To place a hotkey in the description, put a '_' before the character
+you want to become the hotkey.
+.RE
+.TP
+flags
+How to run this command, and what to do with its output. Any number of
+the following flags can be specified, in any order.
+.RS
+.TP
+n
+By default the screen is cleared and the terminal is reset to normal before
+.BR pdmenu (1)
+runs a command from the menu, and after the command exits, the screen is
+redrawn. If this 'n' flag is set, the screen is not cleared or
+redrawn. Use it if you have a command on the menu that does not produce any
+output to the screen.
+.TP
+p
+Pause after the command exits. Use this if you need to see the output of the
+command.
+.TP
+d
+Display the output of the command in a window. If this flag is set, the 'p'
+flag is disabled, and the 'n' flag is automatically set.
+.TP
+e
+Edit the command interactively.
+.RS
+.PP
+When this flag is set, the command to be run is scanned for any tags of the
+format \fI~title:default~\fR. For each that is found, a text entry window is
+displayed, with the title equal to the contents of the title field, and the
+default text equal to the contents of the default field.
+.PP
+To use the '~' or ':' characters in the command without having them
+interpreted as tag delimiters, escape them with a '\e' character.
+(Ie, '\e~' and '\e:')
+.PP
+\fISecurity warning!\fR Any exec command that uses the 'e' flag will be
+a security hole. The user need only to enter text with a ';' in it, and
+they can run an arbitrary command after the semicolon!
+.PP
+There is no fix for this security problem at this time. If the user running
+.BR pdmenu (1)
+is not a trusted user (if they are a guest user, say), do not allow
+them access to any exec commands that have the 'e' flag set.
+.RE
+.TP
+s
+Set an environment variable.
+.RS
+.PP
+This flag causes
+.BR pdmenu (1)
+to set a variable in its own environment.
+.BR pdmenu (1)
+runs the exec command, and looks at the command's output. The first line
+should be in the format
+.RS
+VAR=value
+.RE
+Where VAR is the environment variable to set, and value is the new value
+for the variable.
+.PP
+For example, use "echo PWD=/tmp" to set the current working
+directory to /tmp.
+.PP
+\fISecurity warning!\fR This flag could be a serious security hole. Use with
+caution.
+.RE
+.RE
+.RE
+.TP
+color
+This changes the color of a part of the display. Color commands are read in
+and executed when the menu file is loaded. Later color commands override earlier
+color commands that would affect the same part of the display. The syntax is:
+.RS
+.PP
+\fIcolor:screenpart:foreground[:background]\fR
+.TP
+screenpart
+The area of the screen which takes on the selected color scheme.
+Areas of the screen that can be set are:
+.RS
+.TP
+desktop
+The space over which the menus appear.
+.TP
+title
+The line at the top of the screen.
+.TP
+base
+The line at the bottom of the screen.
+.TP
+menu
+The normal color of text in a menu.
+.TP
+selbar
+The selection bar in the menu, when over normal text.
+.TP
+shadow
+The shadow of a window
+.TP
+menuhot
+The color of text in a menu that is a hotkey.
+.TP
+selbarhot
+The color of a hotkey when the selection bar is over it.
+.RE
+.TP
+foreground
+The color to use in the foreground. Valid colors are:
+.RS
+ black gray
+ red brightred
+ green brightgreen
+ brown yellow
+ blue brightblue
+ magenta brightmagenta
+ cyan brightcyan
+ lightgray white
+.RE
+.PP
+.TP
+background
+The color to use in the background. On most terminals, the
+background color can only be one of the colors listed in the first
+column above.
+.RE
+.TP
+read
+This causes another menu definitions file to be read in and replace the
+read command.
+This is quite similar to #include in a c program. The syntax is:
+.RS
+.PP
+\fIread:rcfile\fR
+.PP
+Note that no checking is done to prevent recursive read commands, and that
+such a recursive command can crash pdmenu.
+.RE
+.TP
+preproc
+This runs a command, and uses it's output as a rc file, which is read in and
+replaces the preproc command. Typically a preprocessor such as m4 or cpp
+will be used. The syntax is:
+.RS
+.PP
+\fIpreproc:command [args]\fR
+.PP
+Note that no checking is done to prevent recursive preproc commands, and that
+such a recursive command can crash pdmenu.
+.SH FILES
+.I /etc/pdmenurc
+.RS
+Default config file.
+.RE
+.I ~/.pdmenurc
+.RS
+If this exists, it overrides /etc/pdmenurc.
+.SH AUTHOR
+Joey Hess, <joey@kite.ml.org>.
+.SH "SEE ALSO"
+.BR pdmenu (1)
diff --git a/doc/pdmenurc.man.in b/doc/pdmenurc.man.in
new file mode 100644
index 0000000..924b2a5
--- /dev/null
+++ b/doc/pdmenurc.man.in
@@ -0,0 +1,304 @@
+.\" -*- nroff -*-
+.TH PDMENURC 5 "@BUILD_DATE@" "pdmenu" "File formats"
+.SH NAME
+pdmenurc \- menu definitions file for pdmenu
+.SH SYNOPSIS
+.B /etc/pdmenurc
+.PP
+.B ~/.pdmenurc
+.SH DESCRIPTION
+The pdmenurc file defines menus for
+.BR pdmenu (1)
+to display. Each menu consists of one or more menu entries.
+The first menu to appear in the file is displayed by
+.BR pdmenu (1)
+when it starts up, and can have menu entries that call up submenus.
+.SH EXAMPLES
+Here is a sample pdmenurc file:
+.PP
+ #Set a pleasing color scheme.
+ color:desktop:blue:blue
+ color:title:blue:white
+ color:base:blue:white
+
+ #this is a comment
+ menu:main:Main Menu:Things to do at foobar
+ show:_Games..::games
+ exec:_Mail::pine
+ exec:_News::slrn -C
+ exec:_WWW::lynx
+ exec:_Irc::irc
+ exec:_Directory _Listing:dn:ls -l
+ exec:_Who's online?:d:w
+ exec:_Finger:ed:finger ~finger who?:~
+ exit:E_xit
+
+ menu:games:Games:Some text-based games
+ exec:_Tetris for Terminals::/usr/games/tt
+ exec:_Adventure::/usr/games/adventure
+ exec:_Zork::/usr/games/zork
+ nop
+ exit:_Back to main menu..
+
+This will display a menu, with a submenu for games.
+.SH FORMAT
+.BR pdmenu (1)
+doesn't care how the pdmenurc is indented; all whitespace is ignored.
+However, each command must be on its own line.
+.TP
+nop
+This does nothing but place a blank line in the menu. Nop commands may not
+appear as the first command in a menu.
+Syntax:
+.RS
+.PP
+\fInop[:text]\fR
+.TP
+text
+If this is present, it will appear in the menu where the nop is. Otherwise,
+the nop in the menu will be a blank line.
+.RE
+.TP
+menu
+This starts a menu. All items between this menu command and the next will
+comprise one menu. If a menu by the same name has already been defined
+earlier, then all items between this menu command and the next will be added
+to the menu. It is illegal to have a menu without any commands in it.
+The syntax is:
+.RS
+.PP
+\fImenu:menuname:title[:helptext]\fR
+.TP
+menuname
+The name of the menu (each menu must have a unique name).
+.TP
+title
+The title of the menu.
+.TP
+helptext
+Text to be displayed at the bottom of the screen when the menu is active.
+.RE
+.TP
+show
+This displays a submenu. The syntax is:
+.RS
+.PP
+\fIshow:desc:flags:menuname\fR
+.TP
+menuname
+The name of the menu to show, corresponding to the menuname given in the
+menu's definition.
+.TP
+desc
+The description of the submenu to appear in the parent window.
+.RS
+.PP
+To place a hotkey in the description, put a '_' before the character you
+want to become the hotkey. It is a good idea to differentiate submenus
+from commands in a menu by, for example, appending ".." to their
+descriptions.
+.RE
+.IP flags
+Currently ignored.
+.IP
+.RE
+.TP
+exit
+If only one menu is on the screen when this is selected, then
+.BR pdmenu (1)
+will quit. Otherwise, this will take the user back to the parent menu of the
+menu they are currently in. Selecting an exit command in a menu is equivalent
+to pressing 'q', unless you have ran
+.BR pdmenu (1)
+with the \-q switch. The syntax is:
+.RS
+.PP
+\fIexit:desc\fR
+.TP
+desc
+The description of the menu item.
+.RS
+.PP
+To place a hotkey in the description, put
+a '_' before the character you want to become the hotkey.
+.RE
+.RE
+.TP
+exec
+This runs a command. The syntax is:
+.RS
+.PP
+\fIexec:desc:flags:command\fR
+.TP
+command
+The actual command to run when this item is selected.
+.TP
+desc
+The description of the command that appears in the menu.
+.RS
+.PP
+To place a hotkey in the description, put a '_' before the character
+you want to become the hotkey.
+.RE
+.TP
+flags
+How to run this command, and what to do with its output. Any number of
+the following flags can be specified, in any order.
+.RS
+.TP
+n
+By default the screen is cleared and the terminal is reset to normal before
+.BR pdmenu (1)
+runs a command from the menu, and after the command exits, the screen is
+redrawn. If this 'n' flag is set, the screen is not cleared or
+redrawn. Use it if you have a command on the menu that does not produce any
+output to the screen.
+.TP
+p
+Pause after the command exits. Use this if you need to see the output of the
+command.
+.TP
+d
+Display the output of the command in a window. If this flag is set, the 'p'
+flag is disabled, and the 'n' flag is automatically set.
+.TP
+e
+Edit the command interactively.
+.RS
+.PP
+When this flag is set, the command to be run is scanned for any tags of the
+format \fI~title:default~\fR. For each that is found, a text entry window is
+displayed, with the title equal to the contents of the title field, and the
+default text equal to the contents of the default field.
+.PP
+To use the '~' or ':' characters in the command without having them
+interpreted as tag delimiters, escape them with a '\e' character.
+(Ie, '\e~' and '\e:')
+.PP
+\fISecurity warning!\fR Any exec command that uses the 'e' flag will be
+a security hole. The user need only to enter text with a ';' in it, and
+they can run an arbitrary command after the semicolon!
+.PP
+There is no fix for this security problem at this time. If the user running
+.BR pdmenu (1)
+is not a trusted user (if they are a guest user, say), do not allow
+them access to any exec commands that have the 'e' flag set.
+.RE
+.TP
+s
+Set an environment variable.
+.RS
+.PP
+This flag causes
+.BR pdmenu (1)
+to set a variable in its own environment.
+.BR pdmenu (1)
+runs the exec command, and looks at the command's output. The first line
+should be in the format
+.RS
+VAR=value
+.RE
+Where VAR is the environment variable to set, and value is the new value
+for the variable.
+.PP
+For example, use "echo PWD=/tmp" to set the current working
+directory to /tmp.
+.PP
+\fISecurity warning!\fR This flag could be a serious security hole. Use with
+caution.
+.RE
+.RE
+.RE
+.TP
+color
+This changes the color of a part of the display. Color commands are read in
+and executed when the menu file is loaded. Later color commands override earlier
+color commands that would affect the same part of the display. The syntax is:
+.RS
+.PP
+\fIcolor:screenpart:foreground[:background]\fR
+.TP
+screenpart
+The area of the screen which takes on the selected color scheme.
+Areas of the screen that can be set are:
+.RS
+.TP
+desktop
+The space over which the menus appear.
+.TP
+title
+The line at the top of the screen.
+.TP
+base
+The line at the bottom of the screen.
+.TP
+menu
+The normal color of text in a menu.
+.TP
+selbar
+The selection bar in the menu, when over normal text.
+.TP
+shadow
+The shadow of a window
+.TP
+menuhot
+The color of text in a menu that is a hotkey.
+.TP
+selbarhot
+The color of a hotkey when the selection bar is over it.
+.RE
+.TP
+foreground
+The color to use in the foreground. Valid colors are:
+.RS
+ black gray
+ red brightred
+ green brightgreen
+ brown yellow
+ blue brightblue
+ magenta brightmagenta
+ cyan brightcyan
+ lightgray white
+.RE
+.PP
+.TP
+background
+The color to use in the background. On most terminals, the
+background color can only be one of the colors listed in the first
+column above.
+.RE
+.TP
+read
+This causes another menu definitions file to be read in and replace the
+read command.
+This is quite similar to #include in a c program. The syntax is:
+.RS
+.PP
+\fIread:rcfile\fR
+.PP
+Note that no checking is done to prevent recursive read commands, and that
+such a recursive command can crash pdmenu.
+.RE
+.TP
+preproc
+This runs a command, and uses it's output as a rc file, which is read in and
+replaces the preproc command. Typically a preprocessor such as m4 or cpp
+will be used. The syntax is:
+.RS
+.PP
+\fIpreproc:command [args]\fR
+.PP
+Note that no checking is done to prevent recursive preproc commands, and that
+such a recursive command can crash pdmenu.
+.SH FILES
+.I @PDMENU_SYSCONFDIR@/pdmenurc
+.RS
+Default config file.
+.RE
+.I ~/.pdmenurc
+.RS
+If this exists, it overrides @PDMENU_SYSCONFDIR@/pdmenurc.
+.SH AUTHOR
+Joey Hess, <joey@kite.ml.org>.
+.SH "SEE ALSO"
+.BR pdmenu (1)