|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T t
Length: 895 (0x37f) Types: TextFile Names: »tppp.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« └─⟦e5a54fb17⟧ └─⟦this⟧ »pp-5.0/Chans/grey/tppp.c«
/* program/subroutines name: brief description of what this is */ # ifndef lint static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Chans/grey/RCS/tppp.c,v 5.0 90/09/20 15:48:38 pp Exp Locker: pp $"; # endif /* * $Header: /cs/research/pp/hubris/pp-beta/Chans/grey/RCS/tppp.c,v 5.0 90/09/20 15:48:38 pp Exp Locker: pp $ * * $Log: tppp.c,v $ * Revision 5.0 90/09/20 15:48:38 pp * rcsforce : 5.0 public release * */ #include "util.h" #include "ppp.h" main (argc, argv) int argc; char **argv; { char *host, *bp; int res, len; ppp_init (argc, argv); while (ppp_getnextmessage (&host) == OK) { printf ("*** Transfer to %s\n", host); while ((res = ppp_getdata (&bp, &len)) == OK) fwrite (bp, 1, len, stdout); if (res == DONE) printf ("*** Terminated OK\n"); else printf ("*** FAILED\n"); ppp_status (PPP_STATUS_DONE, ""); } ppp_terminate (); }