Changeset 3037783 in git for Singular/fereadl.c
- Timestamp:
- Nov 16, 1999, 11:52:41 AM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5952b6d526bb76067dc7af45610780364733945c
- Parents:
- 721650e849298f036e56d58feb3f554f1bd4d84b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fereadl.c
r721650 r3037783 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: fereadl.c,v 1. 3 1999-11-15 17:19:58 obachmanExp $ */4 /* $Id: fereadl.c,v 1.4 1999-11-16 10:52:40 hannes Exp $ */ 5 5 /* 6 6 * ABSTRACT: input from ttys, simulating fgets … … 23 23 #include <pc.h> 24 24 #else 25 #ifdef HAVE_TERMCAP_H 25 26 #include <termcap.h> 27 #elif HAVE_TERMIOS_H 28 #include <termios.h> 29 #endif 30 26 31 #ifdef atarist 27 32 #include <ioctl.h> … … 30 35 #include <sgtty.h> 31 36 #include <sys/ioctl.h> 32 #else33 #include <termios.h>34 37 #endif 35 38 #endif … … 70 73 #ifndef MSDOS 71 74 #ifndef HAVE_ATEXIT 72 extern "C" int on_exit(void (*f)(int, void *), void *arg); 73 75 int on_exit(void (*f)(int, void *), void *arg); 74 76 void fe_reset_fe (int i, void *v) 75 77 #else … … 174 176 { 175 177 #ifdef MSDOS 176 extern short ospeed;178 /*extern short ospeed;*/ 177 179 #endif 178 180 fe_is_initialized=TRUE; … … 242 244 tcsetattr (STDIN_FILENO, TCSAFLUSH, &tattr); 243 245 #endif 244 ospeed=cfgetospeed(&tattr);246 /*ospeed=cfgetospeed(&tattr);*/ 245 247 #endif 246 248 }
Note: See TracChangeset
for help on using the changeset viewer.