Commit graph

138 commits

Author SHA1 Message Date
Richard M. Stallman
f560db785e (rmdir): Fix up Aug 19 1993 change that wasn't done right. 1995-06-20 00:00:14 +00:00
Richard M. Stallman
394049ecab (emacs_set_tty): Swap TCSETAF and TCSETAW.
Rename arg waitp to flushp.
1995-06-14 23:17:44 +00:00
Karl Heuer
7e32a4fbae (old_tty_valid): New variable.
(init_sys_modes): Set old_tty_valid if we set old_tty.
(reset_sys_modes): Restore tty settings only if old_tty_valid.
1995-06-05 12:35:03 +00:00
Karl Heuer
e336874bf4 (VFORK_RETURN_TYPE): Use int if not already defined.
(vfork): Declare the return type.
1995-05-26 22:10:20 +00:00
Karl Heuer
cc6e72699c (init_system_name): Clean up signedness mismatch. 1995-05-12 06:52:50 +00:00
Richard M. Stallman
c7f93f2840 (bcmp, bcopy): Fix backward BSTRING conditionals. 1995-05-06 20:15:46 +00:00
Richard M. Stallman
dca8521c5a [HAVE_UNISTD_H]: Include unistd.h. 1995-04-29 23:02:54 +00:00
Karl Heuer
45b6727704 (sys_subshell) [WINDOWSNT]: Don't invoke restore_console. 1995-04-12 02:33:01 +00:00
Karl Heuer
2ac53dfa6d Update copyright. 1995-04-08 02:10:53 +00:00
Richard M. Stallman
5141799643 (bcopy): If NEED_BCOPY, do compile this. 1995-04-07 18:26:02 +00:00
Karl Heuer
30bef8ec51 (read_input_waiting): Fix Lisp_Object vs. int problem. 1995-03-08 22:49:11 +00:00
Karl Heuer
86d1f23add (sys_select): Renamed from select. Use SELECT_TYPE instead of int. Defer to
native select if that function is usable.
1995-01-23 23:26:29 +00:00
Karl Heuer
4bb8c8b792 (seed_random): Renamed from srandom.
(get_random): Renamed from random.  Return VALBITS random bits.
1995-01-19 23:37:10 +00:00
Karl Heuer
155add3557 Delete obsolete comment. 1995-01-06 23:23:38 +00:00
Richard M. Stallman
6056c55b04 (sys_siglist) [AIX]: Add AIXHFT conditional. 1994-12-10 07:47:21 +00:00
Richard M. Stallman
441f6399d8 (child_setup_tty): Use CDISABLE for setting VERASE, VKILL.
(init_sys_modes) [SET_LINE_DISCIPLINE]: Set specified line discipline.
(reset_sys_modes) [SET_LINE_DISCIPLINE]: Restore old line discipline.
1994-12-04 17:06:56 +00:00
Richard M. Stallman
b97ab886b8 (init_sys_modes): Tes AIXHFT, not AIX.
(reset_sys_modes): Test AIXHFT.
(hft_init, hft_reset): Test AIXHFT, not AIX.
1994-11-22 19:24:38 +00:00
Richard M. Stallman
d228f20729 (init_sys_modes): Maybe call tcflow. 1994-11-15 17:04:22 +00:00
Richard M. Stallman
fe03522be2 [WINDOWSNT]: Add includes for NT.
Define _P_WAIT.  Declare _spawnlp, _getpid.
[WINDOWSNT] (select, strerror, vfork): Don't use these definitions.

(init_sys_modes): Test DOS_NT, not MSDOS.
(emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto.

(sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork.
(wait_for_termination) [WINDOWSNT]: Use wait.
(discard_tty_input) [WINDOWSNT]: Do nothing at all.
1994-11-01 08:39:49 +00:00
Richard M. Stallman
23dab951ec Never use input_fd if using X.
(stuff_char): Do nothing if read_socket_hook.
(setpgrp_of_tty): Function deleted.
(init_sigio): Take fd as argument.  Callers changed.
Don't call request_sigio; do the work here.
(request_sigio, unrequest_sigio): Do nothing if read_socket_hook.
(init_sys_modes): Don't call EMACS_GET_TTY unless we are going
to change the settings.
1994-10-25 09:51:50 +00:00
Richard M. Stallman
0217ed574e (input_fd): No longer static. 1994-10-22 03:55:00 +00:00
Morten Welinder
87485d6fc9 *** empty log message *** 1994-10-17 08:42:36 +00:00
Richard M. Stallman
bd513d9d32 (read_input_waiting): Set e.frame_or_window w/ XSETFRAME. 1994-10-14 09:33:49 +00:00
Karl Heuer
0e7e7a58b7 (sys_subshell): Use NILP macro directly, not its expansion. Previous code was
leftover from when NULL was a bad word.
1994-10-11 01:47:06 +00:00
Karl Heuer
c81d47b43d (kbd_input_ast, read_input_waiting): Use new accessor macros instead of
calling XSET directly.
1994-10-04 12:26:19 +00:00
Karl Heuer
d79998bcf9 Include <utime.h> here instead of in systime.h.
(set_file_times): Move struct declaration to top of file.
1994-10-02 21:51:57 +00:00
Karl Heuer
914e81a288 (sys_subshell): Use type test macros. 1994-09-27 01:18:46 +00:00
Richard M. Stallman
061ea32632 (set_file_times): Fix typo in previous change. 1994-09-25 00:48:04 +00:00
Richard M. Stallman
8334eb211b (set_file_times): Don't test HAVE_UTIME.
Assume utime exists if utimes does not.
1994-09-25 00:40:46 +00:00
Richard M. Stallman
c238be244b [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions. 1994-09-24 22:15:56 +00:00
Richard M. Stallman
260fe597ab (start_of_text): Don't test CANNOT_UNEXEC. 1994-09-24 00:30:52 +00:00
Richard M. Stallman
b79b5bff94 Delete BROKEN_FASYNC conditional. 1994-09-24 00:20:07 +00:00
Karl Heuer
53ea491aa5 (set_file_times): Move this out of the USG conditional. 1994-09-20 04:07:48 +00:00
Karl Heuer
546ec8fb4c (set_file_times): New function. 1994-09-18 19:13:39 +00:00
Karl Heuer
76425a494d (srandom): Pass arg to srand48; no return value. 1994-09-05 00:13:01 +00:00
Richard M. Stallman
8063726f31 (random, srandom): Check HAVE_LRAND48, not HAVE_RAND48.
Call lrand48, nor rand48.
1994-09-04 07:01:28 +00:00
Richard M. Stallman
5baff9cebf (init_baud_rate): Test that getobaud is actually defined. 1994-09-04 02:09:55 +00:00
Richard M. Stallman
2f43149bd6 (init_baud_rate) [USE_GETOBAUD]: Use getobaud. 1994-09-03 04:34:17 +00:00
Richard M. Stallman
f8b53a822c (random): Use rand differently, and distinguish BSD/USG. 1994-07-28 12:50:34 +00:00
Richard M. Stallman
2e46c7c6b3 (random, srandom): Obey HAVE_RAND48 flag.
Test that random is not a macro.  Don't test USG or BSD4_1.
1994-07-27 17:40:29 +00:00
Richard M. Stallman
e24f1d5575 [!HAVE_H_ERRNO]: Declare h_errno.
(init_system_name): Set h_errno to 0 initially.
1994-07-25 20:47:20 +00:00
Richard M. Stallman
efa04277fd (init_system_name): Retry gethostbyname after TRY_AGAIN failure.
(sys_subshell): Expand ~ in dir.
Do the processing of dir before calling fork.
Use vfork.
1994-07-19 19:34:17 +00:00
Richard M. Stallman
421dd92fa7 (init_sys_modes): Turn off VSTART and VSTOP chars. On
DGUX, turn off INPCK.
1994-07-01 15:34:42 +00:00
Karl Heuer
c0c868359c (init_system_name): New function, replaces get_system_name. 1994-06-15 05:29:08 +00:00
Richard M. Stallman
d6a9be454a (init_sys_modes): Don't set up sigio here if window system. 1994-06-14 20:33:44 +00:00
Richard M. Stallman
4b311aafcc (init_sys_modes): Don't call set_terminal_modes
if using a window system.
1994-06-13 23:56:48 +00:00
Richard M. Stallman
8dca31790b [BROKEN_TIOCGWINSZ]: Undef TIOCSWINSZ too. 1994-05-19 20:25:52 +00:00
Richard M. Stallman
6f8b4d0102 (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Don't call nice if emacs_priority is positive.
1994-05-13 07:18:38 +00:00
Richard M. Stallman
8144490793 Test ISC4_0 along with TIOCGWINSZ. 1994-05-04 23:27:39 +00:00
Richard M. Stallman
2da0df4def (sys_siglist) [sun]: Check SIGFREEZE and SIGTHAW defined. 1994-04-15 22:00:44 +00:00