Mercurial > emacs
view lib-src/leditcfns.c @ 4607:81ee2854ccb5
Check for XScreenNumberOfScreen.
Add * to end of all configuration alternatives.
(m68*-sony-newsos3*): New alternative.
For --help, use $PAGER if it is set.
(LIB_X11_LIB): Default to -lX11.
(mips-sgi-irix5.*): New alternative.
(m68*-hp-hpux*, hppa*-hp-hpux*): Recognize *.B8.* as hpux version 8.
(m68*-tektronix-bsd*): Fix typo in tek4300.
(AC_HAVE_FUNCS): Add ftime.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 13 Aug 1993 22:18:34 +0000 |
parents | da530eb93c1a |
children | 695cf19ef79e |
line wrap: on
line source
#include <sgtty.h> #include <signal.h> #define STRLEN 100 static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */ switch_to_proc(){ char *ptr = str; while (*ptr) ioctl(0, TIOCSTI, ptr++); ioctl(0, TIOCSTI, "\n"); kill(getpid(), SIGTSTP); } set_proc_str(ptr) char *ptr; { if (strlen(ptr) <= STRLEN) strcpy(str, ptr); else printf("string too long for set-proc-str: %s\n", ptr); }