Index of /afterstep//download/asppp
Name Last modified Size Description
Parent Directory 12-Apr-2007 15:53 -
README 20-Sep-2005 10:32 5k
asppp-0.1.3.tar.gz 20-Sep-2005 10:32 33k
asppp-0.1.3.tar.gz.asc 20-Sep-2005 10:32 1k
asppp version 0.1.3 19 Nov 1998
Albert Dorofeev albert@mail.dma.be
I removed the RCS stuff and put the icons
back into the common directory whatever you
might think about it.
I basically merged the 0.1.1 which was
autoconf'ed in the AS distro and the 0.1.2
which was inaccessible during the time
when ftp.afterstep.org was down.
I changed the command-line processing so
that it prints usage anytime something strange
is seen on the command line and not only when
you give the obscure "--h".
asppp version 0.1.2 hak ALPHA
extended by Andreas Haack (0.1.1 is written by Brad Hughes )
ahaack@bigfoot.com
I extended these program in 3 ways
1) the possibility to specify dial and hangup script via command line
parameters -dailCmd and -hangupCmd
e.c.: -dailCmd /etc/ppp/ppp-on -hangupCmd /etc/ppp/ppp-off &
The dial script is forked since it may be blocking
2) I changed the hangup icon to a "telephone in use" and a stopwatch.
Now the status of the "ppp line in use" is (hopefully) clearer.
The other things is the old problem what a button should show
- the status or the action that is performed (or both).
Both would be best but since the first one that shows
the telephone points out the status I decided to show the status
to for the "in use" icon, leaving the exit icon showing the action.
I used gimp for the image manupilation and OS/2 PMView to write the
xpm resource, since xv/gimp could not handle this format properly. At
least it did not look like it used to look before.
3) I put everything under RCS and changed the makefile not to cleanup every
time , since the dependency mechanism would not make sense this way.
Copyright
Thanks to Brad Hughes for this tools. This is also this first time
for me that I do some GPL stuff. So if I did something wrong
I apologize. Please tell me.
The changes to version 0.1.1 are copyright by Andreas Haack.
No guarantees or warranties are provided, use this program at
your own risk.
It may be freely copied, changed and used as long as this
copyright-notice is left intact.
Background
Although I work and developed software for a long time for commercial
Unixes as well as for Windows NT and a little OS/2, OS/2 was my private
choice until half year ago.
Of course I had all the GNU tools like perl, vi (yes I love it) and all
the other ones. Half a year ago I decided to go Linux since OS/2 is
pretty dead. I have had the plan that I had to find an Linux-replacement for all the wonderful tools I had on OS/2 with in 6 month.
I can tell you that I succeeded. I missed the OS/2 Workplace-shell a
lot, which is really the most powerful and consistent window manager
(if you would call it that way) still available today (if you know
how to use it). Mostly I missed that drag and drop and consistent
clipboard support. The Clipboard does not work always between
Netscape and bash and even with in Netscape there are different ways
to do it and sometimes you cant do that at all. Other things that
I used to do with the WPS I am doing now with my Intra net-Space
even in a better way.
asppp version 0.1.1 ALPHA
written by Brad Hughes
bhughes@arn.net
I wrote this program basically to get a little experience with Xt
programming. If you read the source carefully enough, you can see that i
did take bits and pieces of code from asmail and a little from asclock.
I'd like to thank those two authors... because with out hacking through
their code I'd still be playing with libXaw3d. :)
Like I said, this is my first X program. I used some of the icons i got
off the web as the defaults (PhoneTT.xpm and 2 others derived
therefrom). I'd like to thank the creator of this icon.
Brief description:
asppp manages your ppp session graphically...
it checks /proc/net/route for a ppp entry every 5 seconds...
when a ppp route exists... you have an icon to send SIGTERM to
pppd (hang up the modem essentially)
when you don't have a ppp route in /proc/net/route... then the
icon lets you invoke pppd (dial up the modem)
left click: executes the current icons "function" (dial. hup, exit)
right click: cycle thru available options (either dial/hup, and exit)
NOTE: there is a command line option '-wharfShape' that takes out the
exit icon (so that you don't accidentally kill it in your Wharf)
asppp looks really neat in either Wharf or on the desktop (with
the options NoTitle, Sticky, AlwaysOnTop)
TODO:
- a configuration file
- more command line options (over ride options in config file)
- user specified pixmaps
- plagarize asmail and use animations (maybe)
- help / about windows/icons
- better support for pppd startup
(like a config window for ~/.ppprc maybe)
(I included my .ppprc)
- anything that is suggested that sounds reasonable :)
Thanks to:
authors of asmail, asclock, PhoneTT.xpm (i'm gonna get them
names in here soon!)
Tim Ward (for telling me that asppp wont load on an 8bit display)