Changeset 3037783 in git for Singular/fereadl.c


Ignore:
Timestamp:
Nov 16, 1999, 11:52:41 AM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5952b6d526bb76067dc7af45610780364733945c
Parents:
721650e849298f036e56d58feb3f554f1bd4d84b
Message:
* hannes: libreadline and sunsos-4


git-svn-id: file:///usr/local/Singular/svn/trunk@3828 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/fereadl.c

    r721650 r3037783  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: fereadl.c,v 1.3 1999-11-15 17:19:58 obachman Exp $ */
     4/* $Id: fereadl.c,v 1.4 1999-11-16 10:52:40 hannes Exp $ */
    55/*
    66* ABSTRACT: input from ttys, simulating fgets
     
    2323  #include <pc.h>
    2424 #else
     25  #ifdef HAVE_TERMCAP_H
    2526  #include <termcap.h>
     27  #elif HAVE_TERMIOS_H
     28  #include <termios.h>
     29  #endif
     30
    2631  #ifdef atarist
    2732   #include <ioctl.h>
     
    3035    #include <sgtty.h>
    3136    #include <sys/ioctl.h>
    32    #else
    33     #include <termios.h>
    3437   #endif
    3538  #endif
     
    7073#ifndef MSDOS
    7174  #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);
    7476    void fe_reset_fe (int i, void *v)
    7577  #else
     
    174176{
    175177  #ifdef MSDOS
    176   extern short ospeed;
     178  /*extern short ospeed;*/
    177179  #endif
    178180  fe_is_initialized=TRUE;
     
    242244            tcsetattr (STDIN_FILENO, TCSAFLUSH, &tattr);
    243245          #endif
    244           ospeed=cfgetospeed(&tattr);
     246          /*ospeed=cfgetospeed(&tattr);*/
    245247        #endif
    246248      }
Note: See TracChangeset for help on using the changeset viewer.