annotate lib-src/leditcfns.c @ 90401:5ac810cdd794
(ALL_CFLAGS): Add @FREETYPE_CFLAGS@,
@FONTCONFIG_CFLAGS@, and @LIBOTF_CFLAGS@.
(LIB_X11_LIB): If HAVE_XFT is defined, set to @XFT_LIBS@.
(FONTSRC, FONTOBJ): New variables.
(obj): Add $(FONTOBJ).
(SOME_MACHINE_OBJECTS): Lib_X11_Lib.
(LIBES): Add @FREETYPE_LIBS@, @FONTCONFIG_LIBS@, and
@LIBOTF_LIBS@.
(font.o, ftfont.o, xfont.o, xftfont.o, ftxfont.o): New targets.
(fontset.o, xdisp.o, xfaces.o, xfns.o, xterm.o): Depends on
$(FONTSRC).
author |
Kenichi Handa <handa@m17n.org> |
date |
Tue, 06 Jun 2006 03:47:33 +0000 |
parents |
68c22ea6027c |
children |
|
rev |
line source |
0
|
1 #include <sgtty.h>
|
|
2 #include <signal.h>
|
|
3 #define STRLEN 100
|
|
4 static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */
|
|
5
|
|
6 switch_to_proc(){
|
|
7 char *ptr = str;
|
|
8 while (*ptr) ioctl(0, TIOCSTI, ptr++);
|
|
9 ioctl(0, TIOCSTI, "\n");
|
|
10 kill(getpid(), SIGTSTP);
|
|
11 }
|
|
12
|
|
13 set_proc_str(ptr) char *ptr; {
|
|
14 if (strlen(ptr) <= STRLEN)
|
|
15 strcpy(str, ptr);
|
|
16 else
|
|
17 printf("string too long for set-proc-str: %s\n", ptr);
|
|
18 }
|
89909
|
19
|
|
20 /* arch-tag: eb7ae804-0d6e-4077-ab42-7173821410c3
|
|
21 (do not change this comment) */
|