r X-NEWS: spcvxb comp.protocols.tcp-ip: 1927Relay-Version: VMS News - V6.0 10/3/90 VAX/VMS V5.3; site spcvxb.spc.eduO Path: spcvxb.spc.edu!njin!rutgers!ucsd!ucbvax!SPICE.CS.CMU.EDU!Alessandro.Forin ! Newsgroups: comp.protocols.tcp-ip + Subject: Re: interesting uses of networking + Message-ID: <648563986.af@SPICE.CS.CMU.EDU> ' From: Alessandro.Forin@SPICE.CS.CMU.EDU  Date: 21 Jul 90 12:39:00 GMT" Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet
 Lines: 113  ? The old 'coke' program that once ran in our department has been A resurvived and extended.  Its major lack in functionality is now  @ covered, and the program appropriately renamed "jf" (junk food).+ The man pages for jf and xmnm are included. ? Enquiries about this important progress of the Computer Science " field should be directed to eddie. sandro- M -----------------------------------------------------------------------------       A JF(6/22/90)         UNIX Programmer's Manual          JF(6/22/90)        NAME<      jf - Inquire about availability of junk foods in CMU CS      vending machines.   SYNOPSIS#      jf [coke | mnm | mm ] [-reset]    DESCRIPTION =      jf inquires about the availability of Coke/Diet-Coke and @      M&Ms in the CMU CS vending area to save addicts an abortive%      trip from their distant offices.   ?      With no argument or with single argument coke jf gives the =      status of the buttons of 16oz bottles in the CMU CS Coke ?      machine.  With argument mnm or mm it will give an estimate :      of the number of servings of M&Ms left in the vending
      machine.   @      Providing an argument to identify the machine and the argu-A      ment -reset allows the vending machine fillers to inform the :      server when the machines have been refilled.  This is=      currently applicable only to the M&M machine because the ;      Coke interface is essentially self-monitoring.  Proper ?      credentials are requested before a reset may be performed.      BUGS>      As of 22-June-90, only the M&M interface is working.  The,      Coke interface is still being prepared.     SEE ALSO      xmnm(1)     HISTORY @      22-Jun-90  eddie caplan (egc) at Carnegie Mellon University@           Updated man entry to reflect the new Coke machine con-?           figuration.  Added BUGS section while the Coke inter-            face is down.   >      29-Oct-85  Ivor Durham (id) at Carnegie Mellon University@           Created man entry. Client and server software by David<           Nichols with contributions from Ivor Durham.  Coke;           machine interface by John Zsarnay and M&M machine %           interface by Mark Zaremsky. M -----------------------------------------------------------------------------       A XMNM(6/22/90)       UNIX Programmer's Manual        XMNM(6/22/90)        NAME<      xmnm - X11 program to monitor the availability of M&Ms.   SYNOPSIS=      xmnm [-update <rate>] [-shape | -noshape] [X11 switches]    DESCRIPTION ;      Using an X11 window, xmnm graphically and continuously @      inquires about the availability of M&Ms in the CMU CS vend-A      ing area to save addicts an abortive trip from their distant 
      offices.   ?      With no -update argument xmnm will check the status of the ?      M&M machine every 1200 seconds (20 minutes).  By providing ;      the -update argument, users can cause the status to be <      checked less or more frequently.  To keep the junk food<      server from becoming flooded with status requests, xmnm0      enforces a minimum sleeptime of 60 seconds.  =      The -shape and -noshape arguments indicate whether the X ;      window should take on the form of the M&M machine.  By '      default, shaping will not be done.      COMMANDS=      Clicking any of the mouse buttons in the M&M window will =      cause an update to occur.  That is, the junk food server       will be queried.      BUGS9      Shaping just doesn't work sometimes, even though the @      software thinks it can be done.  Different window managers,=      mismatched versions of X, etc. can all contribute to the 
      problem.      SEE ALSO      jf(1), X(1)     HISTORY @       9-Jul-90  eddie caplan (egc) at Carnegie Mellon University           Created man entry.