DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5d79d850c⟧ TextFile

    Length: 436 (0x1b4)
    Types: TextFile
    Names: »resync.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/uutty/resync.c« 

TextFile

#include "uutty.h"
/* 
** Discard buffered input, and try to get us to a start where
** the next input will be a response to the most recent (or next)
** output.
*/
resync()
{
	if (ibfa < ibfz) {
		dbgtimep = getime();
		if (debug >= 2) Ascdnm(ibfa,ibfz-ibfa,"Drop:");
		if (debug >= 4) Hexdnm(ibfa,ibfz-ibfa,"Drop:");
		restdev();		/* Make sure the device is OK */
		sleep(5);		/* Try not to respond to garbage */
	}
	ibfa = ibfz+1;
}