Index of /afterstep//download/asfsm_lite
Name Last modified Size Description
Parent Directory 12-Apr-2007 15:53 -
README 20-Sep-2005 10:38 7k
asfsm_lite-1.0.0.tar.gz 20-Sep-2005 10:38 74k
asfsm_lite-1.0.0.tar..> 20-Sep-2005 10:38 1k
asfsm_lite-1.0pre15...> 20-Sep-2005 10:38 71k
asfsm_lite-1.0pre15...> 20-Sep-2005 10:38 1k
This is a file-system monitor for the AfterStep window manager. It fits nicely
in the Wharf.
Thus far it works on SUN, LINUX and SCO operating systems. Very minimal
porting will make it work on others.
Installation:
type ./configure
type make.
EITHER:
copy/move/link asfsm.man to a man page directory
(eg. /usr/local/man/man1/asfsm.1)
copy/move/link asfsm to a bin directory
(eg. /usr/local/bin/asfsm)
OR:
type make install ; make install.man
read the man page for usage instructions.
By M. Vitechek
Apr 26, 1998 13:00
==================
- changed memory layout/processing - it should now take less memory, it also
fixed possible buffer overflows
- added limit to the bar and it shows percentage it there's room for
it on the bar
- it doesn't use 'df' command, so hard disk trashing is gone
now :), instead it uses statfs() (or statvfs() for solaris) and
mtab file to determine the mounted FSs
- when zero block FSs are to be shown too, they are moved to the
bottom
- added Type to the FS information shown in the popup window
- added few more command line options, like
-lfg <color> : limit foreground color - the color of the bar
when a percentage limit is exceeded
-lffg <color> : limit font foreground color - the color
of the font that shows the percentage on
the usage bar
-lfn <font> : limit font name - the name of the font
to be used for the percentage display
-l <limit> : limit - the percentage limit that when
exceeded make the usage bar have another
color
-pfn1 <font> : popup font name 1 - the name of the font
used in the popup window
-pfn2 <font> : popup font name 2 - the name of the font
used in the popup menu
- removed the mount popup window thus creating asfsm-lite ;))
Apr 26, 1998 16:30
==================
- fixed the wrong number of free blocks for msdos FS, it now shows
correct block amounts in kilobytes
- added new feature: it now shows a blue line on the usage bar
which informs of the total used percentage (=counts with
reserved free blocks for root).
the popup window also shows total stats for a given FS
- added new command line options:
-nototal : disables displaying of the total percent
usage line
-tlfg <color> : total limit foreground color - the color
of the line that shows the total usage
CHANGES:
0.1-0.2 - Support for SGI, SUN, LINUX. Made popup window know where to
popup based on screen width/height, cursor position.
0.2-0.3 - Removed silly use of fork command and used XCheckWindowEvent
loop instead. Eliminated alot of bombing.
0.3-0.31 - Removed SGI support, it apparantly didn't work.
Updated Makefile.
0.31-0.4 - Included special support for 0 size filesystems, fixed bug
that would cause a crash if the system has more than
24 filesystems mounted.
0.4-0.5 - Added afterstepy features such as background pixmaps and
a Transparent or Translucent option for the popup
windows.
0.5-0.51 - fixed a bug that caused Translucent windows not to pop down
sometimes.
0.51-0.6 - added "lowered" appearance to main window.
added popup with mount/unmount functionality,
0.6-0.7 - changed program to use Xt, Event Handlers, TimeOuts, and
XtAppNextEvent rather than the busy wait loop and
XCheckWindowEvent in the body of the program.
This reduces the cpu load of the program to almost
nothing compared to what it used to use.
Thanks to Thierry Berger-Perrin for pointing out the
problem to me.
Also tweaked size and borders to make it fit into
maximum size available using a MaxSwallow. Apparantly
using XtAppInitialize creates a widget whose size
Wharf automatically adjusts to maxmum size for
Swallowing or MaxSwallowing.
Fixed the problem that caused zero sized filesystems
(like /proc) to show up as a 1 pixel wide line instead
of the width it was supposed to.
Changed to use "df -a" for linux instead of "df -v"
because "df -v" doesn't show /proc but the mounter
popup window shows /proc.
Fixed man page which didn't show all the options.
0.7-0.8 - Solved problem which caused the mount/unmount popup to not
(or erroneously) display the device name. Also correctly
calculate the size of that window now. Added different
pixmaps for unix and DOS floppies and correctly detect
DOS floppies as opposed to DOS filesystems that are not
on floppies. Changed the unix filesystem and dos
filesystem pixmap.
0.8-0.9 - made SCO use df -Bk instead of df -v which removed platform
dependance of the format, as well as allowed the
untruncated device and directory names to pass through,
unlike df -v which truncates. It also shows the block
size of the filesystem in 1024K blocks instead of
512K which is easier to read.
0.9-0.10 - fixed problem that kept long mount directories from
overriding long filesystem names in the determination
of the mount/unmount window size.
Updated Makefile so SCO users who install the
glib module from Skunkware97 can compile using
xpm.h and libXpm from it without having to modify
stuff.
Autodetect df -a or df -Bk for filesystem usage
determination.
Autodetect mnt/umnt or mount/unmnt for user mounting
and ummounting.
Autodetect /etc/default/filesys or /etc/fstab for
filesystem descriptions.
Removed $(OS) stuff from Makefile, autodetection
does away with it's necessity.
Load mounter window pixmaps at startup instead of
when you click to open the window.
0.10-1.0pre11 - fixed problem that erroneously displayed devices which
could be mounted at multiple mount points as mounted on
all of them, instead of where they were really mounted.
Freed Pixmaps loaded at startup time.
Adopted afterstep version numbering system.
1.0pre11-1.0pre12 - fixed stupidly allocated strings for mount/unmount
commands which failed on all systems that don't use
mnt/umnt. Fixed date in man page.
1.0pre12-1.0pre13 - fixed a whole bunch of small bugs that occurred on
fstab systems (most systems). Added option to view or
not view zero size filesystems such as /proc
(-showzero).
Removed proc, swap and ignored type filesystems from
the mounter window.
1.0pre13-1.0pre14 - made asfsm use popen/pclose instead of actually
writing to the hard drive, also got rid of "system"
command. Made the filesystem info popup windows
automatically size themselves. Imakefile. Added
8bit pixmaps.
1.0pre15-1.0.0 Maintainer changed to
Nick Bailey <Nick@polonius.demon.co.uk>. Fixed
bug in handling large file systems (>2GB).
Tidied up #include statements and man page.
What happened to the pre-14 -> pre15?