Richard M. Stallman
89d7280dcf
Comment change.
1996-06-11 19:50:32 +00:00
Richard M. Stallman
0b75e9a419
(wait_reading_process_input): Move the O_NONBLOCK and
...
O_NDELAY conditionals out of the EWOULDBLOCK conditional.
1996-06-11 19:48:13 +00:00
Richard M. Stallman
e9bf058bce
(create_process): Add DONT_OPEN_PTY conditional.
1996-06-09 20:15:20 +00:00
Richard M. Stallman
bff3ed0ac3
(Fopen_network_stream)[WINDOWSNT]: Ensure Windows
...
socket library is loaded if available.
1996-06-08 00:14:31 +00:00
Richard M. Stallman
7795ff9bc0
(Fopen_network_stream): Set process infd to inch.
...
(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
Remove conditional NT code.
1996-04-26 19:55:27 +00:00
Richard M. Stallman
f854a00b99
(wait_reading_process_input, both definitions):
...
If wait_for_cell, don't call timer_check, and use
detect_input_pending instead of detect_input_pending_run_timers.
1996-04-23 20:32:33 +00:00
Richard M. Stallman
1861b21427
(wait_reading_process_input) [!subprocesses]:
...
Get rid of the loop around the detect_input_pending call.
1996-04-15 19:12:01 +00:00
Richard M. Stallman
0a65b03282
(wait_reading_process_input) [!subprocesses]: Handle
...
the case of READ_KBD being a cons cell. Retry the timer check
after a timer fired. (All of these make this definition
consistent with the one that supports async subprocesses.)
(wait_reading_process_input, both definitions):
Use plain detect_input_pending just before the select call.
1996-04-14 17:45:31 +00:00
Richard M. Stallman
3d6163992d
(wait_reading_process_input, both definitions):
...
Don't call detect_input_pending; use detect_input_pending_run_timers.
1996-04-12 06:02:54 +00:00
Richard M. Stallman
4abca5e732
(wait_reading_process_input): Don't call
...
wait_reading_process_input_1 if time_limit is -1.
1996-04-03 19:30:03 +00:00
Richard M. Stallman
c573ae8ec0
(wait_reading_process_input_1): New (empty) function.
...
(wait_reading_process_input): Call wait_reading_process_input_1.
If timer_check runs some timers, retry it.
1996-03-27 02:35:15 +00:00
Richard M. Stallman
38f17cb22e
(wait_reading_process_input): Eliminate bogus test
...
that was trying to check read_kbd and failing.
1996-03-22 22:06:10 +00:00
Richard M. Stallman
501ebe0e34
(wait_reading_process_input): Extract the number from read_kbd with XINT.
1996-03-19 23:43:50 +00:00
Karl Heuer
f694e5d271
(wait_reading_process_input) [! subprocesses]: Run
...
timers and redisplay if they were run, like the code for systems
which support subprocesses does.
1996-03-14 05:20:44 +00:00
Richard M. Stallman
bae8d1375f
[!subprocesses] (wait_reading_process_input):
...
Port the timer changes from the other wait_reading_process_input.
1996-03-10 14:38:37 +00:00
Richard M. Stallman
5de50bfbba
(wait_reading_process_input):
...
Redisplay after timer_check if timers were actually run.
1996-03-08 03:51:46 +00:00
Richard M. Stallman
5d6c2aa300
(wait_reading_process_input):
...
Pass DO_DISPLAY to detect_input_pending_run_timers.
(Fopen_network_stream): Set immediate_quit around gethostbyname.
1996-03-05 17:33:27 +00:00
Richard M. Stallman
e643c5beab
(wait_reading_process_input): Use getpid when generating SIGIO.
1996-03-03 05:34:59 +00:00
Richard M. Stallman
0f2ee0c100
(Fopen_network_stream): Set immediate_quit for the connect.
1996-02-26 00:07:45 +00:00
Karl Heuer
6ed6233b68
(wait_reading_process_input):
...
Pass new arg to swallow_events.
(wait_reading_process_input): If read_kbd is 1,
use detect_input_pending_run_timers instead of detect_input_pending.
1996-02-21 21:08:31 +00:00
Erik Naggum
ada9a4fdf9
(Faccept_process_output): Accept sub-second timeouts.
1996-02-21 01:45:21 +00:00
Richard M. Stallman
8777fbe2bb
(Fopen_network_stream): Use sizeof, not strlen, for numeric_addr.
1996-02-11 19:26:25 +00:00
Richard M. Stallman
81c63241a9
(remove_process): Don't unlink the process marker.
1996-02-08 04:19:31 +00:00
Karl Heuer
7968cc2d4b
(sigchld_handler): Use cleaner end-of-list test.
1996-02-05 20:32:20 +00:00
Richard M. Stallman
c0239a0b8b
(wait_reading_process_input): If select times out,
...
return only if we had no timers to shorten the wait.
Don't shorten the wait for timers if time_limit is -1.
1996-02-01 20:35:59 +00:00
Richard M. Stallman
038328930d
(create_process): Set outchannel to be non-blocking.
1996-01-29 04:52:15 +00:00
Richard M. Stallman
fb4c362712
(wait_reading_process_input): Call timer_check
...
and shorten the inner delay if appropriate.
1996-01-29 04:50:16 +00:00
Karl Heuer
8db121c493
(wait_reading_process_input) [not subprocesses]: Do
...
not assume SELECT_TYPE is an int.
1996-01-24 21:21:07 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
4a127b3b17
(create_process): Restore the signal state
...
after vfork whether it succeeds or not.
1996-01-09 23:40:33 +00:00
Erik Naggum
4ee3e30977
(Fprocessp, Fget_buffer_process, Fdelete_process, Fprocess_status,
...
Fprocess_exit_status, Fprocess_id, Fprocess_name, Fprocess_command,
Fprocess_tty_name, Fset_process_buffer, Fprocess_buffer, Fprocess_mark,
Fset_process_filter, Fprocess_filter, Fset_process_sentinel,
Fprocess_sentinel, Fset_process_window_size, Fprocess_kill_without_query,
Faccept_process_output): Harmonize arguments with documentation.
1996-01-09 00:33:39 +00:00
Karl Heuer
8e6208c5d2
Comment fixes.
1996-01-05 10:03:17 +00:00
Karl Heuer
798b64bbf6
(Fopen_network_stream): Call bind_polling_period earlier.
1995-12-21 17:13:25 +00:00
Karl Heuer
0dc70c33a0
(create_process): Use Posix signal handling to
...
block signals, if available. If HAVE_VFORK, save and restore
signal handlers that the child might change, since in many
systems (e.g. Solaris 2.4) if the child changes the signal
handlers this munges the parent's handler.
1995-12-13 01:52:07 +00:00
Geoff Voelker
583dcae42e
[HAVE_NTGUI] (POLL_FOR_INPUT): Define macro.
...
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
1995-11-07 07:23:14 +00:00
Richard M. Stallman
927e08bef8
(exec_sentinel, read_process_output):
...
Call record_asynch_buffer_change only if caller is reading kbd input.
1995-10-09 00:31:24 +00:00
Richard M. Stallman
7973cfa85e
(read_process_output, exec_sentinel): Call
...
record_asynch_buffer_change after any eval. Don't call
prepare_menu_bars.
(wait_reading_process_input): Don't call prepare_menu_bars.
1995-08-08 21:22:16 +00:00
Richard M. Stallman
f2cfa9a63e
Maybe include net/errno.h.
1995-08-02 18:31:46 +00:00
Richard M. Stallman
f8a8749802
(Fstart_process): Don't expand the file name before trying openp.
1995-07-25 01:42:05 +00:00
Karl Heuer
ee8e09af76
(keyboard_bit_set): Fix one-off in loop end.
1995-07-17 22:21:21 +00:00
Richard M. Stallman
13373f4ece
(Fstart_process): Expand PROGRAM.
...
Error if it is a directory.
1995-07-07 13:34:16 +00:00
Richard M. Stallman
4590788aa9
(Fopen_network_stream): Sleep 1 sec before connect retry.
1995-06-25 18:57:25 +00:00
Richard M. Stallman
5fc0154cf4
(sigchld_handler): Change XSETFASTINT to XSETINT.
1995-06-19 23:18:54 +00:00
Richard M. Stallman
306230858e
(status_notify): Undo May 18 change.
...
Set update_tick at the beginning not at end.
1995-06-14 14:10:27 +00:00
Karl Heuer
81afb6d1eb
[!subprocesses]: Include sysselect.h.
1995-06-08 19:21:05 +00:00
Karl Heuer
ecd1f654a1
(create_process, send_process): Add volatile qualifiers.
...
(wait_reading_process_input) [both versions]: Cast args of select.
1995-05-26 03:21:30 +00:00
Karl Heuer
bf351cc2be
(status_notify): If Vprocess_alist changes within
...
the loop, do the whole loop again.
1995-05-18 16:54:42 +00:00
Richard M. Stallman
7efe788e31
(wait_reading_process_input): Pass arg in new call to set_waiting_for_input.
1995-05-07 22:23:26 +00:00
Richard M. Stallman
7286affd2a
(wait_reading_process_input): Don't call prepare_menu_bars.
...
Clear waiting_for_input around calling redisplay_preserve_echo_area.
1995-05-06 23:07:51 +00:00
Richard M. Stallman
3162bafa9e
(list_processes_1): Cast XFASTINT for passing to sprintf.
1995-05-05 02:16:54 +00:00