dockapps-83c2c40/000077500000000000000000000000001256626321300136545ustar00rootroot00000000000000dockapps-83c2c40/AUTHORS000066400000000000000000000003601256626321300147230ustar00rootroot00000000000000wmfsm is currently maintained by the Window Maker Developers Team . It was previously maintained by Chris Gray , but was originally written by Stefan Eilemann . dockapps-83c2c40/COPYING000066400000000000000000000432541256626321300147170ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 Lesser 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. Copyright (C) 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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) year 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. , 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 Lesser General Public License instead of this License. dockapps-83c2c40/ChangeLog000066400000000000000000000252031256626321300154300ustar00rootroot000000000000002015-08-21 Doug Torrance * ChangeLog, configure.ac: Bump to version 0.36. 2015-08-21 Doug Torrance * wmfsm/wmfsm.c: Handle errors related to the HOME environment variable. In particular, if HOME is undefined, then a segmentation fault will occur. Also, if HOME is at least 245 characters, then a buffer overflow will occur. We check for these conditions and exit with an error message instead. Patch obtained from Debian package [1]. [1] https://sources.debian.net/src/wmfsm/0.35-1/debian/patches/handle_HOME_errors.patch/ 2015-08-21 Doug Torrance * wmfsm/wmfsm.c: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow. 2015-08-21 Doug Torrance * wmfsm/Makefile.am: Move wmfsm_master.xpm from make clean to make distclean; otherwise make && make clean && make fails. 2015-08-20 Doug Torrance * README: Add note about libdockapp to README. 2015-08-16 Rodolfo García Peñas (kix) * Makefile.am, configure.ac, wmfsm/Makefile.am, wmfsm/wmfsm.c, wmgeneral/Makefile.am, wmgeneral/wmgeneral.c, wmgeneral/wmgeneral.h: wmfsm uses now the new library libdockapp that includes the old wmgeneral library. 2015-01-22 Doug Torrance * ChangeLog, configure.ac: Bump to version 0.35. 2015-01-21 Doug Torrance * README: Update README with new installation instructions. 2015-01-21 Doug Torrance * ChangeLog, ChangeLog.old: Combine ChangeLog and ChangeLog.old. As ChangeLog is no longer automatically generated by arch, there is no need to keep these files separate. 2015-01-21 Doug Torrance * wmfsm/wmfsm.c: Impove version number handling. In particular, - Add new --version command line option. (This was already documented in the manpage.) Remove this information from the --help text. Also took the opportunity to properly align the --fire line in the --help text. - Remove WMFSM_VERSION macro in favor of PACKAGE_VERSION from autconf. - Remove hard-coded version number at top of source file for maintainability. 2015-01-21 Doug Torrance * AUTHORS, configure.ac: Update with new contact information. 2015-01-21 Doug Torrance * wmfsm/Makefile.am, wmfsm/wmfsm.1, wmfsm/wmfsm.c: Add -a command line option to select appearance at runtime. Also update Makefile to install appearance XPMs during "make install". 2015-01-21 Doug Torrance * configure.ac, wmfsm/Makefile.am, wmfsm/wmfsm_master.xpm: wmfsm: Add --with-xpm option to configure to select appearance at compile time. Note that wmfsm/wmfsm_master.xpm has been removed, as it is now created as a symlink during configure. It is also removed by "make clean". 2015-01-21 Doug Torrance * TODO: Remove TODO; all the items have been done. 2015-01-21 Doug Torrance * wmfsm/wmfsm.c: Fix -Wunused-result compiler warnings. In particular, if fscanf does not read the expected number of items from /etc/mtab, print a warning message. 2015-01-20 Doug Torrance * COPYING: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-20 Doug Torrance * wmfsm/wmfsm.c: Update Free Software Foundation address in copyright header. 2015-01-20 Doug Torrance * ChangeLog, Makefile.am, configure.ac, wmfsm/Makefile.am, wmfsm/wmfsm.1, wmfsm/wmfsm.c, wmgeneral/wmgeneral.c: Remove trailing whitespace. 2015-01-20 Doug Torrance * wmfsm/wmfsmrc.sample: Update sample configuration file. Patch by Arthur Korn to fix Debian bug #226298 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226298 2015-01-20 Doug Torrance * wmfsm/wmfsm.1: Improve manpage. In particular, - Apply, with some modification, a patch by Jari Aalto to clarify the format of the configuration file. See [1]. - Escape minus signs to avoid hyphen-used-as-minus-sign Lintian warning in the Debian package. - Remove docbook-to-man comments to avoid manpage-has-errors-from-man Lintian warning in the Debian package. - Add commas between short and long options for readability. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226274 2015-01-19 Doug Torrance * wmfsm/wmfsm.c: Apply further Debian patches. The individual patches no longer seem to exist, so I submit them together. According to debian/changelog entries by Arthur Korn , these patches include: * fixed memleak introduced in 0.34-2 with the patch by Timo Benk. global char *mp[] was assigned the result of stdup() repeatedly without free. My ugly fix is to free it all up at the beginning of readFileSystems(). Now I'm a proud Perl coder ... closes: #196057 * memleak news: avoid it if there are more than 9 filesystems too. * Fixed filesystem name corruption, thanks to Ralf Horstmann and Cristian Ionescu-Idbohrn for the patch. 2015-01-19 Doug Torrance * wmfsm/wmfsm.c: Read newly mounted filesystems. Patch by Timo Benk to fix Debian bug #186826 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=186826 2015-01-19 Doug Torrance * wmfsm/wmfsm.c: Hide "system" file systems. Patch [1] by roma1390 and Michele Noberasco to fix Gentoo bug #50148 [2]. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch [2] https://bugs.gentoo.org/show_bug.cgi?id=50148 2015-01-19 Doug Torrance * configure.ac: Autotools updates. In particular, - Update AM_INIT_AUTOMAKE to silence "two- and three-arguments forms are deprecated" warnings. - Update AC_DEFINEs to silence "missing template" warnings. 2015-01-19 Doug Torrance * configure.ac, configure.in: Rename configure.in to configure.ac. 2015-01-19 Doug Torrance * INSTALL, Makefile.in, acconfig.h, aclocal.m4, config.guess, config.h.in, config.sub, configure, depcomp, install-sh, missing, mkinstalldirs, wmfsm/Makefile.in, wmgeneral/Makefile.in: wmfsm: Remove autotools-generated files. 2015-01-19 Doug Torrance * Add verison 0.34 to repository. Obtained from [1]. [1] http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/w/wmfsm/wmfsm_0.34.orig.tar.gz 2002-07-13 03:17:14 GMT Chris Gray patch-4 Summary: Blah Revision: wmfsm--dev--0.3--patch-4 blah blah. modified files: ChangeLog modified directories: autom4te.cache 2002-07-13 03:05:30 GMT Chris Gray patch-3 Summary: Bumped the version number. Revision: wmfsm--dev--0.3--patch-3 Going to release later tonight. I can tell you're excited. modified files: ChangeLog modified directories: autom4te.cache 2002-07-13 02:50:54 GMT Chris Gray patch-2 Summary: Bumped the version number. Revision: wmfsm--dev--0.3--patch-2 Going to release later tonight. I can tell you're excited. new files: autom4te.cache/output.0 autom4te.cache/requests autom4te.cache/traces.0 depcomp modified files: ChangeLog Makefile.am Makefile.in aclocal.m4 config.h.in configure configure.in wmfsm/Makefile.in wmgeneral/Makefile.in new directories: autom4te.cache 2002-07-13 02:43:28 GMT Chris Gray patch-1 Summary: Implemented an [include] section. Revision: wmfsm--dev--0.3--patch-1 As per user request, I added an [include] section to the ~/.wmfsmrc file so that you can explicitly include filesystems rather than just excluding them. Also made a new SGML manpage because *roff sucks. new files: ChangeLog.old wmfsm/wmfsm.sgml modified files: ChangeLog wmfsm/wmfsm.1 wmfsm/wmfsm.c 2002-07-12 23:38:19 GMT Chris Gray base-0 Summary: First arch commit. Revision: wmfsm--dev--0.3--base-0 wmfsm is a fairly complete program, but it's still nice to have some version control. new files: ./AUTHORS ./COPYING ./ChangeLog ./INSTALL ./Makefile.am ./Makefile.in ./NEWS ./README ./TODO ./acconfig.h ./aclocal.m4 ./config.guess ./config.h.in ./config.sub ./configure ./configure.in ./install-sh ./missing ./mkinstalldirs ./stamp-h.in ./wmfsm/Makefile.am ./wmfsm/Makefile.in ./wmfsm/wmfsm.1 ./wmfsm/wmfsm.c ./wmfsm/wmfsm_mask.xbm ./wmfsm/wmfsm_master.xpm ./wmfsm/wmfsm_master_cyan.xpm ./wmfsm/wmfsm_master_highcolor.xpm ./wmfsm/wmfsm_master_lowcolor.xpm ./wmfsm/wmfsmrc.sample ./wmgeneral/Makefile.am ./wmgeneral/Makefile.in ./wmgeneral/wmgeneral.c ./wmgeneral/wmgeneral.h 2001-01-19 Chris Gray * configure.in: Did a lot of work so that maintenance should be easier in the future. Things are totally done with automake/autoconf now. The goal is to remove all of the OS dependent ifdefs and change them to depend on the actual feature of the OS that we are testing for. 2001-01-13 Chris Gray * debian/wmfsm.1: Changed the man page to reflect the new options. I should probably distribute this man page in such a way that non-Debian users can install it easily. * wmfsm/wmfsm.c: Added getopt support, and a new option, --delay. The delay should be 10 * number in microseconds which seems a bit unintuitive to me. I'll probably change that. 2001-01-09 Chris Gray * wmfsm/wmfsm.c: Added FreeBSD patches from Steven Enderle . Also, it looks like I am taking this project over. Hopefully I can do some good! 0.30 24/08/1999 OpenBSD support, it hopefully works... Blinking on a filesystem that is 95 percent full 0.30 04/06/1999 use fstat() instead of system("df") Exclusion of directories via ~/.wmfsmrc uses less colors (54), other colorschemes are included 0.27 26/03/1999 mouse toggable fire/normal mode bug fixes Solaris 2.6/7 support 0.26 06/03/1999 added fire mode for bars 0.25 05/03/1999 first release dockapps-83c2c40/Makefile.am000066400000000000000000000000541256626321300157070ustar00rootroot00000000000000SUBDIRS = wmfsm EXTRA_DIST = ChangeLog.old dockapps-83c2c40/NEWS000066400000000000000000000000001256626321300143410ustar00rootroot00000000000000dockapps-83c2c40/README000066400000000000000000000004301256626321300145310ustar00rootroot00000000000000Requirements: libdockapp (at least version 0.7.0) http://windowmaker.org/dockapps/?name=libdockapp Installation: autoreconf -i ./configure (or ./configure --with-xpm=foo, where foo is your preferred .xpm) make make install (as root) Edit sample.wmfsmrc and copy it to ~/.wmfsmrc dockapps-83c2c40/configure.ac000066400000000000000000000042521256626321300161450ustar00rootroot00000000000000dnl Hey emacs -*- mode: m4 -*- thanks dnl Process this file with autoconf to create a configure script AC_INIT([wmfsm], [0.36], [wmaker-dev@lists.windowmaker.org]) AC_CONFIG_SRCDIR([wmfsm/wmfsm.c]) AM_INIT_AUTOMAKE AC_CANONICAL_HOST AM_CONFIG_HEADER(config.h) AM_SANITY_CHECK AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB dnl Checks for libraries AC_PATH_XTRA X11LIBS="-L$x_libraries -I$x_includes -lX11 -lXpm -lXext -ldockapp" AC_SUBST(X11LIBS) AC_MSG_CHECKING([to see if we can use X]) AC_TRY_LINK([#include ],,AC_MSG_RESULT([yes]),AC_MSG_RESULT([no]); exit 1) dnl Checks how to call statfs AC_MSG_CHECKING([how to call statfs]) AC_TRY_COMPILE([#include #include #include ], [struct statfs a; statfs("/", &a);], [AC_MSG_RESULT([2 arguments]) AC_DEFINE( STATFS_2_ARGUMENTS, 1, [Define if statfs takes two arguments (like linux)]) ac_statfs_args=2], AC_TRY_COMPILE([ #include #include ], [struct statfs a; statfs("/", &a, sizeof(struct statfs), 0);], [AC_MSG_RESULT([4 arguments]) AC_DEFINE( STATFS_4_ARGUMENTS, 1, [Define if statfs takes four arguments (like SunOS)]) ], AC_MSG_RESULT([Can not determine]))) dnl Checks for header files AC_HEADER_STDC AC_CHECK_HEADERS(unistd.h sys/statfs.h sys/vfs.h sys/param.h sys/mount.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST dnl Checks for library functions. AC_CHECK_FUNCS(gethostname strcspn strdup strspn strstr statfs) AC_CHECK_FUNCS(getopt_long, have_getopt=true) AM_CONDITIONAL(GETOPT, test x$have_getopt = xtrue) dnl Set default XPM define([xpmlist], esyscmd([find wmfsm/ -name 'wmfsm_master_*.xpm' -exec basename {} .xpm \;| sed 's/wmfsm_master_//'])) AC_ARG_WITH([xpm], AS_HELP_STRING([--with-xpm], [Configure wmfsm to use specified xpm file for appearance. Defaults to 'highcolor'. Choices are: ] xpmlist), [], [with_xpm=highcolor]) xpm="wmfsm/wmfsm_master_${with_xpm}.xpm" if test ! -e "${xpm}"; then AC_MSG_ERROR([Cannot find xpm file '${xpm}'.]) fi echo "configuring for ${with_xpm} appearance..." rm -f wmfsm/wmfsm_master.xpm ln -sr ${xpm} wmfsm/wmfsm_master.xpm AC_OUTPUT(Makefile wmfsm/Makefile) dockapps-83c2c40/wmfsm/000077500000000000000000000000001256626321300150055ustar00rootroot00000000000000dockapps-83c2c40/wmfsm/Makefile.am000066400000000000000000000005731256626321300170460ustar00rootroot00000000000000bin_PROGRAMS = wmfsm if GETOPT wmfsm_SOURCES = wmfsm.c else wmfsm_SOURCES = wmfsm.c getopt.c getopt1.c getopt.h endif wmfsm_LDADD = @LIBS@ @X11LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ man_MANS = wmfsm.1 dist_pkgdata_DATA = wmfsm_master_highcolor.xpm wmfsm_master_cyan.xpm \ wmfsm_master_lowcolor.xpm EXTRA_DIST = $(man_MANS) wmfsm_mask.xbm wmfsmrc.sample DISTCLEANFILES = wmfsm_master.xpm dockapps-83c2c40/wmfsm/wmfsm.1000066400000000000000000000041071256626321300162220ustar00rootroot00000000000000.TH "WMFSM" "1" .SH "NAME" wmfsm \(em shows the amount of disk space available .SH "SYNOPSIS" .PP \fBwmfsm\fP [\fB\-\-normal, \-n \fP] [\fB\-\-fire, \-f \fP] [\fB\-\-blink, \-b \fP] [\fB\-\-noblink \fP] [\fB\-display \fP] [\fB\-d, \-\-delay \fP] [\fB\-h, \-\-help \fP] .SH "DESCRIPTION" .PP \fBwmfsm\fP is a WindowMaker dock application that shows the amount of disk space available on mounted file systems with colored bars. .SH "OPTIONS" .PP This program follows the usual GNU command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. .IP "\fB\-h\fP, \fB\-\-help\fP " 10 Show summary of options. .IP "\fB\-v\fP, \fB\-\-version\fP " 10 Show version of program. .IP "\fB\-n\fP, \fB\-\-normal\fP " 10 Show the entire bars in the same color. .IP "\fB\-f\fP, \fB\-\-fire\fP " 10 Render the bars as gradients. You may switch between the normal and fire modes by mouse clicks anywhere on wmfsm. .IP "\fB\-b\fP, \fB\-\-blink\fP " 10 Blink the bars if the filesystem is 95% full. .IP "\fB\-\-noblink\fP " 10 Do not blink if the filesystem is 95% full. .IP "\fB\-display\fP " 10 Draw on the specified display. .IP "\fB\-d\fP, \fB\-\-delay\fP " 10 Wait the specified number of milliseconds to redraw the window. .IP "\fB\-a\fP, \fB\-\-appearance\fP " 10 Select an appearance file. Note that these files may be found in the wmfsm data directory, likely /usr/local/share/wmfsm or /usr/share/wmfsm. .SH "FILES" .PP You may exclude filesystems from being show by wmfsm by listing them in the ~/.wmfsmrc file. It should have as its first line either [include] or [exclude]. The next lines are filesystems that are either explicitly included or excluded respectively. Note: the format of the ~/.wmfsmrc file is very strict. Make sure there are no whitespaces at the beginning or at the end of lines. No comments (#) are allowed. Here is an example: [exclude] .br /proc .br /dev/pts .br /floppy .br /cdrom .SH "SEE ALSO" .PP X (1x), wmaker (1), df (1). .SH "AUTHOR" .PP This manual page was written by Chris Gray . dockapps-83c2c40/wmfsm/wmfsm.c000066400000000000000000000334371256626321300163140ustar00rootroot00000000000000/* * * wmfsm (C) 1999 Stefan Eilemann (Stefan.Eilemann@dlr.de) * * - Shows file system usage ala mfsm * * * * * 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, 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 (see the file COPYING); if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA * * * * Changes: #include "../ChangeLog" * */ /* * Includes */ #include #include #include #include #include #include #include #include #include "wmfsm_master.xpm" #include "wmfsm_mask.xbm" #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef SVR4 #include #include #endif /* SVR4 */ #ifdef HAVE_SYS_VFS_H #include #endif #ifdef HAVE_SYS_STATFS_H #include #endif #ifdef HAVE_SYS_MOUNT_H #include #endif #ifdef HAVE_SYS_PARAM_H #include #endif #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef STATFS_2_ARGUMENTS # define STATFS(a,b) statfs(a,b) #elif defined STATFS_4_ARGUMENTS # define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0) #else # define STATFS(a,b) statfs(a,b) /* Maybe configure got messed up */ #endif /* #if defined IRIX64 # include # define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0) #elif defined linux # define STATFS(a,b) statfs(a,b) #elif defined(SunOS) # define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0) #elif defined(__OpenBSD__) || defined(__FreeBSD__) # define STATFS(a,b) statfs(a,b) # include #endif */ #define _GNU_SOURCE #include /* * Delay between refreshes (in microseconds), uses the 10*DELAY_10 * coz irix has max of 100000L :(. */ #define DELAY_10 99999L #define LENMP 5 /*max 10, number char for mountpoint */ /*modes for drawing*/ #define NORMAL 0 #define FIRE 1 void ParseCMDLine(int argc, char *argv[]); void pressEvent(XButtonEvent * xev); void readFileSystems(void); void excludeFileSystems(void); void print_usage(void); int UpToDate = 0; int ForceUpdate = 1; char *mp[100]; int per[9]; int numberfs; int mode = FIRE; int blink = 1; int blinkper = 95; char dummy[4096]; char *myName; int delay = DELAY_10; char appearance[256] = ""; int xpos[] = { 66, 71, 76, 81, 86, 91, /* A B C D E F */ 66, 71, 76, 81, 86, 91, /* G H I J K L */ 66, 71, 76, 81, 86, 91, /* M N O P Q R */ 66, 71, 76, 81, 86, 91, /* S T U V W X */ 66, 71, 76, 81, 86, 91, /* Y Z / _ - . */ 96, 101, /* 0 1 */ 96, 101, /* 2 3 */ 96, 101, /* 4 5 */ 96, 101, /* 6 7 */ 96, 101 }; /* 8 9 */ int ypos[] = { 4, 4, 4, 4, 4, 4, 9, 9, 9, 9, 9, 9, 14, 14, 14, 14, 14, 14, 19, 19, 19, 19, 19, 19, 24, 24, 24, 24, 24, 24, 4, 4, 9, 9, 14, 14, 19, 19, 24, 24 }; /* * main */ int main(int argc, char *argv[]) { XEvent event; int dx, dy; char hostname[100]; int i, j, k; int xpm_free = 0; int c, on[9] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 }; struct statfs buffer; char **pixmap; /* * Parse any command line arguments. */ myName = strdup(argv[0]); ParseCMDLine(argc, argv); if (appearance[0] == 0) { pixmap = wmfsm_master_xpm; } else { if (XpmReadFileToData(appearance, &pixmap) != XpmSuccess) { fprintf(stderr, "warning: could not read appearance file; using default.\n"); pixmap = wmfsm_master_xpm; } else { xpm_free = 1; } } openXwindow(argc, argv, pixmap, wmfsm_mask_bits, wmfsm_mask_width, wmfsm_mask_height); if (xpm_free) XpmFree(pixmap); #ifndef SVR4 if (gethostname(hostname, 100) != 0) { perror("gethostname"); exit(10); } #else if (sysinfo(SI_HOSTNAME, hostname, 100) < 0) { perror("sysinfo(SI_HOSTNAME)"); exit(20); } #endif while (1) { readFileSystems (); usleep (100); /* * Process any pending X events. */ while (XPending(display)) { XNextEvent(display, &event); switch (event.type) { case Expose: RedrawWindow(); break; case ButtonPress: pressEvent(&event.xbutton); mode = (mode + 1) % 2; break; case ButtonRelease: break; } } /*! Here read data */ for (i = 0; i < numberfs; i++) { if (STATFS(mp[i], &buffer) != -1) { per[i] = 100 - (int) ((float) buffer.f_bfree / (float) buffer.f_blocks * 100.0); } } /*! * Draw window. */ /* * Clear window. */ copyXPMArea(5, 69, 54, 54, 5, 5); /*! here draw values * void copyXPMArea(int x, int y, int sx, int sy, int dx, int dy) */ if (numberfs > 4) { for (i = 0, dy = 0; i < numberfs; i++) { for (j = 0, dx = 0; j < LENMP && (unsigned int)j < strlen(mp[i]); j++) { k = j + (strlen(mp[i]) > LENMP ? strlen(mp[i]) - LENMP : 0); c = (int) mp[i][k]; switch (c) { case '/': c = 123; break; case '_': c = 124; break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': c += 79; break; default: c = tolower(c); break; } copyXPMArea(xpos[c - 97], ypos[c - 97], 5, 5, 6 + dx, 5 + dy); dx += 5; } c = (int) ((float) per[i] * 0.52 + 66.0); k = (10 - LENMP) * 5 + 2; k = (float) per[i] / 100.0 * k; k = LENMP * 5 + k; k = k < LENMP * 5 + 1 ? LENMP * 5 + 1 : k; c = c > 66 ? c : 66; c = c > 117 ? 117 : c; if (blink) { if ((int) per[i] >= blinkper) on[i] = !on[i]; else on[i] = 1; } else on[i] = 1; for (j = LENMP * 5; j < k; j++) { if (mode == FIRE && on[i]) copyXPMArea(66 + (float) (j - LENMP * 5) * 52.0 / (float) ((10 - LENMP) * 5), 29, 1, 5, 6 + j, 5 + dy); else if (mode == NORMAL && on[i]) copyXPMArea(c, 29, 1, 5, 6 + j, 5 + dy); } dy += 6; } } else { /*one fs in two lines */ for (i = 0, dy = 0; i < numberfs; i++) { for (j = 0, dx = 0; j < 10 && (unsigned int)j < strlen(mp[i]); j++) { c = (int) mp[i][j + (strlen(mp[i]) > 10 ? strlen(mp[i]) - 10 : 0)]; switch (c) { case '/': c = 123; break; case '_': c = 124; break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': c += 79; break; default: c = tolower(c); break; } copyXPMArea(xpos[c - 97], ypos[c - 97], 5, 5, 6 + dx, 5 + dy); dx += 5; } dy += 6; c = (int) ((float) per[i] * 0.52 + 66.0); k = (float) per[i] / 100.0 * 52; k = k < 1 ? 1 : k; c = c > 66 ? c : 66; c = c > 117 ? 117 : c; if (blink) { if ((int) per[i] >= blinkper) on[i] = !on[i]; else on[i] = 1; } else on[i] = 1; for (j = 0; j < k; j++) { if (mode == FIRE && on[i]) copyXPMArea(66 + (float) (j) * 52.0 / 50.0, 29, 1, 5, 6 + j, 5 + dy); else if (mode == NORMAL && on[i]) copyXPMArea(c, 29, 1, 5, 6 + j, 5 + dy); } dy += 6; } } if (numberfs < 9) { for (j = 0, dx = 0, dy = 47; j < 10 && (unsigned int)j < strlen(hostname); j++) { c = (int) hostname[j]; switch (c) { case '/': c = 123; break; case '_': c = 124; break; case '-': c = 125; break; case '.': c = 126; break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': c += 79; break; default: c = tolower(c); break; } copyXPMArea(xpos[c - 97], ypos[c - 97], 5, 5, 6 + dx, 6 + dy); dx += 5; } } RedrawWindow(); /* * Wait for next update */ i = 0; while (i < 10) { usleep(delay); i++; } } } /* * ParseCMDLine() */ void ParseCMDLine(int argc, char *argv[]) { int c, option_index; static struct option long_options[] = { {"fire", no_argument, 0, 'f'}, {"normal", no_argument, 0, 'n'}, {"blink", no_argument, &blink, 1}, {"noblink", no_argument, &blink, 0}, {"delay", required_argument, 0, 'd'}, {"appearance", required_argument, 0, 'a'}, {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'v'}, {0, 0, 0, 0} }; while (1) { c = getopt_long(argc, argv, "a:bd:fhnv", long_options, &option_index); if (c == -1) break; switch (c) { case 0: /* If blink or noblink was toggled */ break; case 'a': strcpy(appearance, optarg); break; case 'b': blink = 1; break; case 'd': delay = atoi(optarg); break; case 'f': mode = FIRE; break; case 'h': print_usage(); exit(0); case 'n': mode = NORMAL; break; case 'v': printf("wmfsm version: %s\n", PACKAGE_VERSION); exit(0); case '?': break; default: print_usage(); exit(1); } } } void print_usage() { printf("usage: wmfsm \n"); printf("\t--normal, -n\t\tDraw bars in normal mode.\n"); printf("\t--fire, -f\t\tDraw bars in fire mode.\n"); printf("\t--[no]blink\t\tBlinks if a filesystem is 95 percent full.\n"); printf("\t-display \tUse alternate X display.\n"); printf("\t--delay , -d\tUse a delay that is not the default.\n"); printf("\t--appearance , -a\tSelect an appearance file.\n"); printf("\t-h\t\t\tDisplay help screen.\n"); } void pressEvent(XButtonEvent * xev) { (void)xev; ForceUpdate = 1; return; } void readFileSystems() { /* Wipe mp[] */ int i; for (i = 0; i < 100; i++) if (mp[i]) { free(mp[i]); mp[i]=0; } /* Look for the goods between #if defined(__OpenBSD__) -- tschroed */ #if defined(__OpenBSD__) || defined(__FreeBSD__) #define MAXMOUNT 32 struct statfs sfs[MAXMOUNT]; int fscount; /* OpenBSD has no /etc/mtab, we use getfsstat instead -- tschroed */ if ((fscount = getfsstat(sfs, sizeof(sfs), 0)) == -1) { perror("getfsstat"); exit(1); } for (numberfs = 0; numberfs < fscount; numberfs++) /* We won't watch RO mounts. */ if (sfs[numberfs].f_flags & MNT_RDONLY) { numberfs--; fscount--; } else mp[numberfs] = strdup(sfs[numberfs].f_mntonname); #else /* __OpenBSD__ || __FreeBSD__ */ FILE *fp; char mountPoint[255], dummy[255], fstype[255], options[512]; #if defined(SunOS) /* Solaris uses /etc/mnttab */ fp = fopen("/etc/mnttab", "r"); if (!fp) { fprintf(stderr, "%s:Can't open /etc/mnttab for reading\n", myName); exit(1); } #else fp = fopen("/etc/mtab", "r"); if (!fp) { fprintf(stderr, "%s:Can't open /etc/mtab for reading\n", myName); exit(1); } #endif numberfs = 0; while (!feof(fp) && numberfs < 100) { #if defined(SunOS) /* only five entries per row in /etc/mnttab */ if (fscanf(fp, "%s %s %s %s %s\n", dummy, mountPoint, fstype, options, dummy) < 5) fprintf(stderr, "%s:/etc/mnttab not in expected format\n", myName); #else if (fscanf(fp, "%s %s %s %s %s %s\n", dummy, mountPoint, fstype, options, dummy, dummy) < 6) fprintf(stderr, "%s:/etc/mtab not in expected format\n", myName); #endif if ( #if defined IRIX64 || defined(SunOS) strcmp(fstype, "hwgfs") && strcmp(fstype, "autofs") && strcmp(fstype, "proc") && strcmp(fstype, "fd") && !strstr(options, "ignore") #elif defined linux strcmp(fstype, "proc") && strcmp(fstype, "tmpfs") && strcmp(fstype, "devfs") && strcmp(fstype, "ramfs") && strcmp(fstype, "sysfs") && strcmp(fstype, "devpts") && strcmp(fstype, "usbfs") #else 1 #endif ) { if (mp[numberfs]) free(mp[numberfs]); mp[numberfs++] = strdup(mountPoint); } } #endif /* __OpenBSD__ || __FreeBSD__ */ fclose (fp); excludeFileSystems(); } void excludeFileSystems() { char confFileName[255]; char workString[255]; char *home; int i, j, exnumberfs = 0; int excluded, finalnumberfs = 0; char *mount_points[100]; FILE *confFile; int include = -1; int included = 0; home = getenv("HOME"); if (home == NULL) { fprintf(stderr, "error: HOME must be defined\n"); exit(1); } if (strlen(home) > 244) { fprintf(stderr, "error: HOME may not be longer than 244 characters\n"); exit(1); } strncpy(confFileName, home, 245); strcat(confFileName, "/.wmfsmrc"); confFile = fopen(confFileName, "r"); if (confFile) { while (!feof(confFile)) { if (fgets(workString, 255, confFile)) { if(strstr(workString, "\n")){ /* This is probably dangerous, but easy */ *(strstr(workString, "\n")) = '\0'; } if (!strcmp(workString, "[include]")) { include = 1; } else if (!strcmp(workString, "[exclude]")) { include = 0; } else { mount_points[exnumberfs] = strdup(workString); exnumberfs++; } } } if (include < 0) { printf("wmfsm: Please specify either to include or exclude filesystems.\n"); exit(1); } fclose(confFile); } else { numberfs = numberfs > 9 ? 9 : numberfs; goto CLEANUP; } if (!exnumberfs) { numberfs = numberfs > 9 ? 9 : numberfs; goto CLEANUP; } excluded = 0; for (i = 0; i < numberfs; i++) { for (j = 0, excluded = 0; j < exnumberfs; j++) { if (!strcmp(mp[i], mount_points[j]) && !include) { excluded = 1; } else if (!strcmp(mp[i], mount_points[j]) && include) { included = 1; } } if ((!excluded && !include) || (included && include)) { if (finalnumberfs == i) { finalnumberfs++; } else { if (mp[finalnumberfs]) free(mp[finalnumberfs]); mp[finalnumberfs++] = strdup(mp[i]); } } included = excluded = 0; } numberfs = finalnumberfs > 9 ? 9 : finalnumberfs; CLEANUP: for (j = 0; j < exnumberfs; j++) if (mount_points[j]) { free(mount_points[j]); mount_points[j]=0; } } dockapps-83c2c40/wmfsm/wmfsm_mask.xbm000066400000000000000000000052421256626321300176640ustar00rootroot00000000000000#define wmfsm_mask_width 64 #define wmfsm_mask_height 64 static char wmfsm_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff, 0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff, 0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff, 0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff, 0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0, 0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f, 0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff, 0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff, 0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff, 0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff, 0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff, 0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff, 0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0, 0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f, 0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff, 0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff, 0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff, 0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff, 0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff, 0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff, 0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0, 0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f, 0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff, 0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff, 0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff, 0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff, 0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff, 0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff, 0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0, 0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00}; dockapps-83c2c40/wmfsm/wmfsm_master_cyan.xpm000066400000000000000000000442051256626321300212560ustar00rootroot00000000000000/* XPM */ static char * wmfsm_master_xpm[] = { "134 128 56 1", " c None", ". c #000000", "+ c #158FBC", "@ c #14101F", "# c #0A1744", "$ c #0A1845", "% c #0B1A47", "& c #0B1B48", "* c #0C1C49", "= c #0C1D4B", "- c #0D1E4C", "; c #0E204E", "> c #0E214F", ", c #0F2250", "' c #0F2352", ") c #102453", "! c #102655", "~ c #112756", "{ c #112858", "] c #122959", "^ c #132A5A", "/ c #132C5C", "( c #142D5D", "_ c #142E5F", ": c #152F60", "< c #153062", "[ c #163263", "} c #173465", "| c #19376A", "1 c #1A3B6E", "2 c #1C3F73", "3 c #1E4377", "4 c #20477C", "5 c #224A81", "6 c #234E85", "7 c #25528A", "8 c #27568E", "9 c #295993", "0 c #2A5D97", "a c #2C619C", "b c #2C67A0", "c c #2970A6", "d c #2778AB", "e c #2481B0", "f c #2189B5", "g c #1F92BA", "h c #1C9ABF", "i c #19A3C4", "j c #17ABC9", "k c #14B5CF", "l c #11BED5", "m c #0EC8DA", "n c #0BD1E0", "o c #08DAE6", "p c #05E4EB", "q c #02EDF1", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "...................................................................++..+++...+++.+++..++++.++++..++....+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+..++..............................", "..................................................................++++.+++..+....+..+.+++..+++..+..+...+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+...+..............................", "..................................................................+..+.+++...+++.+++..++++.+.....++...+++.............................", "...................................................................+++.+..+..+++.++++.+..+.+.....++..+++..............................", "..................................................................+....+..+...+.....+.+.+..+....+..+....+.............................", "..................................................................+.++.++++...+.....+.++...+......+...++..............................", "..................................................................+..+.+..+...+..+..+.+.+..+.....+......+.............................", "...................................................................++..+..+..+++..++..+..+.++++.++++.+++..............................", "...................................................................+++.+..+..++..+++...++..+++..+....++++.............................", "..................................................................+.+.+++.+.+..+.+..+.+..+.+..+.+.+..+................................", "..................................................................+.+.+++++.+..+.+++..+..+.+++..++++.+++..............................", "..................................................................+...++.++.+..+.+....+.++.+.+....+.....+.............................", "..................................................................+...++..+..++..+....@+++.+..+...+..+++..............................", "...................................................................+++..+++.+..+.+..+.+...++..+..++...+++.............................", "..................................................................+......+..+..+.+..+.+...++..+.+.......+.............................", "...................................................................++....+..+..+..++..+.+.+.++..+++.....+.............................", ".....................................................................+...+..+..+..++..+.+.++..+.+..+....+.............................", "..................................................................+++....+...++....+...+.+.+..+..++.....+.............................", "..................................................................+..+.++++.....+................++...++..............................", "..................................................................+..+....+....+................+..+.+..+.............................", "...................................................................++....+....+.......++++.......++...+++.............................", "....................................................................+...+....+..............++..+..+....+.............................", "....................................................................+..++++.+....+++++......++...++...++..............................", "..................................................................#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopq................", "..................................................................#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopq................", "..................................................................#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopq................", "..................................................................#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopq................", "..................................................................#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopq................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................"}; dockapps-83c2c40/wmfsm/wmfsm_master_highcolor.xpm000066400000000000000000000441661256626321300223100ustar00rootroot00000000000000/* XPM */ static char * wmfsm_master_xpm[] = { "134 128 55 1", " c None", ". c #000000", "+ c #20B2AE", "@ c #00FF00", "# c #09FF00", "$ c #13FF00", "% c #1DFF00", "& c #27FF00", "* c #31FF00", "= c #3AFF00", "- c #44FF00", "; c #4EFF00", "> c #58FF00", ", c #62FF00", "' c #6BFF00", ") c #75FF00", "! c #7FFF00", "~ c #89FF00", "{ c #93FF00", "] c #9CFF00", "^ c #A6FF00", "/ c #B0FF00", "( c #BAFF00", "_ c #C4FF00", ": c #CDFF00", "< c #D7FF00", "[ c #E1FF00", "} c #EBFF00", "| c #F5FF00", "1 c #FFFF00", "2 c #FFF500", "3 c #FFEB00", "4 c #FFE100", "5 c #FFD700", "6 c #FFCD00", "7 c #FFC400", "8 c #FFBA00", "9 c #FFB000", "0 c #FFA600", "a c #FF9C00", "b c #FF9300", "c c #FF8900", "d c #FF7F00", "e c #FF7500", "f c #FF6B00", "g c #FF6200", "h c #FF5800", "i c #FF4E00", "j c #FF4400", "k c #FF3A00", "l c #FF3100", "m c #FF2700", "n c #FF1D00", "o c #FF1300", "p c #FF0900", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "...................................................................++..+++...+++.+++..++++.++++..++....+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+..++..............................", "..................................................................++++.+++..+....+..+.+++..+++..+..+...+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+...+..............................", "..................................................................+..+.+++...+++.+++..++++.+.....++...+++.............................", "...................................................................+++.+..+..+++.++++.+..+.+.....++..+++..............................", "..................................................................+....+..+...+.....+.+.+..+....+..+....+.............................", "..................................................................+.++.++++...+.....+.++...+......+...++..............................", "..................................................................+..+.+..+...+..+..+.+.+..+.....+......+.............................", "...................................................................++..+..+..+++..++..+..+.++++.++++.+++..............................", "...................................................................+++.+..+..++..+++...++..+++..+....++++.............................", "..................................................................+.+.+++.+.+..+.+..+.+..+.+..+.+.+..+................................", "..................................................................+.+.+++++.+..+.+++..+..+.+++..++++.+++..............................", "..................................................................+...++.++.+..+.+....+.++.+.+....+.....+.............................", "..................................................................+...++..+..++..+.....+++.+..+...+..+++..............................", "...................................................................+++..+++.+..+.+..+.+...++..+..++...+++.............................", "..................................................................+......+..+..+.+..+.+...++..+.+.......+.............................", "...................................................................++....+..+..+..++..+.+.+.++..+++.....+.............................", ".....................................................................+...+..+..+..++..+.+.++..+.+..+....+.............................", "..................................................................+++....+...++....+...+.+.+..+..++.....+.............................", "..................................................................+..+.++++.....+................++...++..............................", "..................................................................+..+....+....+................+..+.+..+.............................", "...................................................................++....+....+.......++++.......++...+++.............................", "....................................................................+...+....+..............++..+..+....+.............................", "....................................................................+..++++.+....+++++......++...++...++..............................", "..................................................................@#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnop................", "..................................................................@#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnop................", "..................................................................@#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnop................", "..................................................................@#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnop................", "..................................................................@#$%&*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnop................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................"}; dockapps-83c2c40/wmfsm/wmfsm_master_lowcolor.xpm000066400000000000000000000427611256626321300221710ustar00rootroot00000000000000/* XPM */ static char * wmfsm_master_xpm[] = { "134 128 12 1", " c None", ". c #000000", "+ c #40BFBF", "@ c #00FF00", "# c #40FF00", "$ c #80FF00", "% c #BFFF00", "& c #FFFF00", "* c #FFBF00", "= c #FF8000", "- c #FF4000", "; c #FF0000", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "...................................................................++..+++...+++.+++..++++.++++..++....+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+..++..............................", "..................................................................++++.+++..+....+..+.+++..+++..+..+...+..............................", "..................................................................+..+.+..+.+....+..+.+....+....+..+...+..............................", "..................................................................+..+.+++...+++.+++..++++.+.....++...+++.............................", "...................................................................+++.+..+..+++.++++.+..+.+.....++..+++..............................", "..................................................................+....+..+...+.....+.+.+..+....+..+....+.............................", "..................................................................+.++.++++...+.....+.++...+......+...++..............................", "..................................................................+..+.+..+...+..+..+.+.+..+.....+......+.............................", "...................................................................++..+..+..+++..++..+..+.++++.++++.+++..............................", "...................................................................+++.+..+..++..+++...++..+++..+....++++.............................", "..................................................................+.+.+++.+.+..+.+..+.+..+.+..+.+.+..+................................", "..................................................................+.+.+++++.+..+.+++..+..+.+++..++++.+++..............................", "..................................................................+...++.++.+..+.+....+.++.+.+....+.....+.............................", "..................................................................+...++..+..++..+.....+++.+..+...+..+++..............................", "...................................................................+++..+++.+..+.+..+.+...++..+..++...+++.............................", "..................................................................+......+..+..+.+..+.+...++..+.+.......+.............................", "...................................................................++....+..+..+..++..+.+.+.++..+++.....+.............................", ".....................................................................+...+..+..+..++..+.+.++..+.+..+....+.............................", "..................................................................+++....+...++....+...+.+.+..+..++.....+.............................", "..................................................................+..+.++++.....+................++...++..............................", "..................................................................+..+....+....+................+..+.+..+.............................", "...................................................................++....+....+.......++++.......++...+++.............................", "....................................................................+...+....+..............++..+..+....+.............................", "....................................................................+..++++.+....+++++......++...++...++..............................", "..................................................................@@@@######$$$$$$$%%%%%%&&&&&&&******=======------;;;;;;.............", "..................................................................@@@@######$$$$$$$%%%%%%&&&&&&&******=======------;;;;;;.............", "..................................................................@@@@######$$$$$$$%%%%%%&&&&&&&******=======------;;;;;;.............", "..................................................................@@@@######$$$$$$$%%%%%%&&&&&&&******=======------;;;;;;.............", "..................................................................@@@@######$$$$$$$%%%%%%&&&&&&&******=======------;;;;;;.............", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................", "......................................................................................................................................"}; dockapps-83c2c40/wmfsm/wmfsmrc.sample000066400000000000000000000001601256626321300176630ustar00rootroot00000000000000[exclude] /dev/pts /dev/shm /sys /proc/bus/usb /proc/sys/fs/binfmt_misc /cdrom /var/autofs/net /var/autofs/misc