aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (random): Use rand differently, and distinguish BSD/USG.Richard M. Stallman1994-07-281-2/+9
|
* (random, srandom): Obey HAVE_RAND48 flag.Richard M. Stallman1994-07-271-17/+12
| | | | Test that random is not a macro. Don't test USG or BSD4_1.
* [!HAVE_H_ERRNO]: Declare h_errno.Richard M. Stallman1994-07-251-0/+7
| | | | (init_system_name): Set h_errno to 0 initially.
* (init_system_name): Retry gethostbyname after TRY_AGAIN failure.Richard M. Stallman1994-07-191-25/+38
| | | | | | (sys_subshell): Expand ~ in dir. Do the processing of dir before calling fork. Use vfork.
* (init_sys_modes): Turn off VSTART and VSTOP chars. OnRichard M. Stallman1994-07-011-0/+10
| | | | DGUX, turn off INPCK.
* (init_system_name): New function, replaces get_system_name.Karl Heuer1994-06-151-98/+74
|
* (init_sys_modes): Don't set up sigio here if window system.Richard M. Stallman1994-06-141-1/+2
|
* (init_sys_modes): Don't call set_terminal_modesRichard M. Stallman1994-06-131-1/+3
| | | | if using a window system.
* [BROKEN_TIOCGWINSZ]: Undef TIOCSWINSZ too.Richard M. Stallman1994-05-191-0/+1
|
* (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.Richard M. Stallman1994-05-131-2/+2
| | | | Don't call nice if emacs_priority is positive.
* Test ISC4_0 along with TIOCGWINSZ.Richard M. Stallman1994-05-041-2/+2
|
* (sys_siglist) [sun]: Check SIGFREEZE and SIGTHAW defined.Richard M. Stallman1994-04-151-0/+4
|
* (set_window_size): New function.Richard M. Stallman1994-04-121-3/+40
|
* Comment change.Richard M. Stallman1994-04-111-0/+14
|
* (reset_sys_modes): Turn off O_NDELAY.Karl Heuer1994-03-231-0/+3
|
* (sys_subshell): New function, split from sys_suspend.Karl Heuer1994-02-261-8/+17
|
* (child_setup_tty): Typo in previous change.Richard M. Stallman1994-02-171-1/+1
|
* (child_setup_tty): Use IUCLC, OLCUC, NLDLY only if defined.Richard M. Stallman1994-02-171-4/+8
|
* (init_sys_modes, reset_sys_modes): Test BSD_PGRPS.Richard M. Stallman1994-02-171-4/+4
| | | | (narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS.
* (init_sys_modes): IEXTEN is in c_lflag, not c_iflag.Richard M. Stallman1994-02-161-1/+1
|
* (sys_write): If any bytes were written, return how many.Richard M. Stallman1994-02-151-1/+1
|
* (start_of_text): Don't define #ifdef HAVE_TEXT_START.Roland McGrath1994-02-131-2/+2
|
* Fix conditional compilation.Karl Heuer1994-02-121-2/+0
|
* (get_system_name): Remove restriction on hostname size.Karl Heuer1994-02-021-74/+88
|
* (mkdir): Use MKDIR_PROTOTYPE if defined.Richard M. Stallman1994-01-261-0/+4
|
* (request_sigio, unrequest_sigio): Add new versions ofRichard M. Stallman1994-01-151-0/+34
| | | | | these routines for the CX/UX operating system. (sys_signal) [SA_RESTART]: Set this flag.
* (sys_siglist) [sun]: Additional Sun-specific signal names.Richard M. Stallman1994-01-121-0/+18
|
* Restore big block of #ifdef and #include lines for fcntl.h and friends,Roland McGrath1994-01-091-1/+35
| | | | apparently accidentally removed in 1994-01-03T07:21:12Z!rms@gnu.org.
* [! VMS]: Don't declare sys_errlist here.Roland McGrath1994-01-081-40/+18
| | | | | [! HAVE_STRERROR] (strerror): New function. (dup2): Use strerror instead of sys_errlist.
* [MSDOS]: #include <dos.h>, "dosfns.h", "msdos.h", andRichard M. Stallman1994-01-081-10/+71
| | | | | | | | | | | | | | <sys/param.h> needed for the following changes, but not <sys/ioctl.h> (discard_tty_input) [MSDOS]: Do it by reading till no more keys available. (init_baud_rate) [MSDOS]: Assume highest possible speed. (sys_suspend) [MSDOS]: Save default directory. Call via system, not via fork. (emacs_get_tty, emacs_set_tty) [MSDOS]: Don't do anything. (init_sys_modes) [MSDOS]: Use raw mode. (get_frame_size) [MSDOS]: Get from bios. (reset_sys_modes) [MSDOS]: Back to cooked mode. (start_of_text) [MSDOS]: Reference _tstart. (select) [MSDOS]: Don't use signals, use sleeping. (init_sys_modes) [MSDOS]: Initialize internal terminal.
* (get_system_name): If the official name of the host isRichard M. Stallman1994-01-031-0/+10
| | | | | not a fully qualified domain name, then try to find one in the list of alternate names.
* [VMS] (wait_for_kbd_input): Call prepare_menu_bars.Richard M. Stallman1993-12-231-0/+1
|
* (closedir): Test BROKEN_CLOSEDIR, not INTERRUPTIBLE_CLOSE.Richard M. Stallman1993-11-261-2/+2
|
* (init_baud_rate): Avoid referring to sg uninitialized.Richard M. Stallman1993-11-251-3/+3
|
* (closedir): Pass on the value from sys_closedir.Richard M. Stallman1993-11-241-3/+8
| | | | Do use this definition, if INTERRUPTIBLE_CLOSE.
* (getwd): If getcwd returns 0, we return 0.Richard M. Stallman1993-11-231-26/+48
| | | | | | | | (getwd for VMS): Likewise. (read_input_waiting): read_socket_hook delivers events, not characters. Make buf smaller in the case where we actually call read itself.
* (sys_suspend): Use EMACS_GETPGRP macro.Richard M. Stallman1993-11-101-5/+1
|
* (read_input_waiting): Don't mess with meta bitRichard M. Stallman1993-11-101-14/+20
| | | | | | | if read_socket_hook is nonzero. (LPASS8, LNOFLSH): Move definitions earlier. (child_setup_tty): Turn on LPASS8.
* (child_setup_tty): Make the pty handle 8-bit characters.Richard M. Stallman1993-11-061-0/+2
|
* (sys_write): Keep trying to write out the data untilBrian Fox1993-09-221-4/+26
| | | | | all of the data is written, or until we receive an error which is not an interrupted write.
* (bzero, bcopy, bcmp): Don't define as functionsRichard M. Stallman1993-09-121-0/+9
| | | | if they are defined as macros.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (stuff_char): Use input_fd.Richard M. Stallman1993-09-081-22/+36
| | | | | | (narrow_foreground_group, widen_foreground_group, init_sys_modes) (init_baud_rate, init_sigio, request_sigio, unrequest_sigio): Likewise. (change_input_fd): New function.
* (mkdir, rmdir): Use wait_for_termination to wait.Richard M. Stallman1993-08-151-9/+25
| | | | Redirect descriptors 0...2 to /dev/null.
* Include syswait.h.Richard M. Stallman1993-08-151-8/+1
|
* * config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, forJim Blandy1993-08-031-0/+112
| | | | | | | | configure to edit. * sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar, for use on systems lacking the mkdir function. [not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on systems lacking the rmdir function.
* (vfork): Move this outside the USG conditional.Richard M. Stallman1993-08-031-13/+13
|
* * xterm.c, sysdep.c (F_SETOWN_BUG): Defined.Jim Blandy1993-07-181-0/+6
| | | | * m/dpx2.h: New file.
* * sysdep.c (rename): Make arguments const. autoconf #definesJim Blandy1993-06-191-2/+2
| | | | | | const away on systems which don't have it; any system with prototypes will declare the arguments const (the ones to which I have access do); and systems without prototypes won't notice.
* Changes for Irix 4.0, tested this time:Jim Blandy1993-06-181-1/+8
| | | | | | | | | | | | | | | | * s/irix4-0.h: Get rid of our fake definitions for setpgrp and getpgrp. * callproc.c (Fcall_process): Go ahead and use the USG calling convention for setpgrp. * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help separate-source-directory compilation. * emacs.c (shut_down_emacs): Some USG systems #define EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and non-USG. * process.c [IRIX] (create_process): Don't put child in process group zero before opening the tty; Irix is like USG in this regard.