* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)prf.c 7.8 (Berkeley) 5/4/91
#include "../include/mtpr.h"
* Print a character on console.
* Try waiting for the console tty to come ready,
* otherwise give up after a reasonable time.
while((mfpr(TXCS
)&TXCS_RDY
) == 0)
while((mfpr(RXCS
)&RXCS_DONE
) == 0)
if (c
!= '\b' && c
!= '\177')