comparison src/sysdep.c @ 30:ec9a17fef872 r19-15b98

Import from CVS: tag r19-15b98
author cvs
date Mon, 13 Aug 2007 08:52:29 +0200
parents 4103f0995bd7
children 6a22abad6937
comparison
equal deleted inserted replaced
29:7976500f47f9 30:ec9a17fef872
729 /* On a system where suspending is not implemented, 729 /* On a system where suspending is not implemented,
730 instead fork a subshell and let it talk directly to the terminal 730 instead fork a subshell and let it talk directly to the terminal
731 while we wait. */ 731 while we wait. */
732 sys_subshell (); 732 sys_subshell ();
733 733
734 #endif
735 }
736
737 /* Suspend a process if possible; give terminal to its superior. */
738 void
739 sys_suspend_process (process)
740 int process;
741 {
742 /* I don't doubt that it is possible to suspend processes on
743 * VMS machines or thost that use USG_JOBCTRL,
744 * but I don't know how to do it, so...
745 */
746 #if defined (SIGTSTP) && !defined (MSDOS)
747 kill(process, SIGTSTP);
734 #endif 748 #endif
735 } 749 }
736 750
737 /* Set the logical window size associated with descriptor FD 751 /* Set the logical window size associated with descriptor FD
738 to HEIGHT and WIDTH. This is used mainly with ptys. */ 752 to HEIGHT and WIDTH. This is used mainly with ptys. */