aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/leditcfns.c
diff options
context:
space:
mode:
authorMiles Bader2006-06-07 18:05:10 +0000
committerMiles Bader2006-06-07 18:05:10 +0000
commitb883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch)
treede3804210a8cd955e0d3b9abc15679480930bc82 /lib-src/leditcfns.c
parent885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff)
parent26c9afc3239e18b03537faaea33e3e82e28099e6 (diff)
downloademacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz
emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 285-296) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: admin/FOR-RELEASE: Update refcard section. * gnus--rel--5.10 (patch 102-104) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'lib-src/leditcfns.c')
-rw-r--r--lib-src/leditcfns.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib-src/leditcfns.c b/lib-src/leditcfns.c
deleted file mode 100644
index 239db1cd1fa..00000000000
--- a/lib-src/leditcfns.c
+++ /dev/null
@@ -1,21 +0,0 @@
1#include <sgtty.h>
2#include <signal.h>
3#define STRLEN 100
4static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */
5
6switch_to_proc(){
7 char *ptr = str;
8 while (*ptr) ioctl(0, TIOCSTI, ptr++);
9 ioctl(0, TIOCSTI, "\n");
10 kill(getpid(), SIGTSTP);
11 }
12
13set_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 }
19
20/* arch-tag: eb7ae804-0d6e-4077-ab42-7173821410c3
21 (do not change this comment) */