|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)wwend.c 3.8 8/14/85"; ! 3: #endif ! 4: ! 5: /* ! 6: * Copyright (c) 1983 Regents of the University of California, ! 7: * All rights reserved. Redistribution permitted subject to ! 8: * the terms of the Berkeley Software License Agreement. ! 9: */ ! 10: ! 11: #include "ww.h" ! 12: #include "tt.h" ! 13: ! 14: wwend() ! 15: { ! 16: wwupdate(); ! 17: if (tt.tt_insert) ! 18: (*tt.tt_setinsert)(0); ! 19: if (tt.tt_modes) ! 20: (*tt.tt_setmodes)(0); ! 21: (*tt.tt_move)(tt.tt_nrow - 1, 0); ! 22: (*tt.tt_end)(); ! 23: ttflush(); ! 24: (void) wwsettty(0, &wwoldtty, &wwnewtty); ! 25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.