aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rtty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtty.c b/rtty.c
index 6abe512..6f820c6 100644
--- a/rtty.c
+++ b/rtty.c
@@ -7,6 +7,7 @@
#include <sys/stat.h>
#include <unistd.h>
+#define INIT "export TERM=tty43 EDITOR=ed PAGER='pr -pl25'\n"
#define MAXBUF 2048
int
@@ -52,7 +53,7 @@ main(int argc, char *argv[])
if(!(fdout = open(out, O_RDONLY)))
err(1, "open");
- dprintf(fdin, "export TERM=tty43 PAGER='pr -pl25' EDITOR=ed\n");
+ dprintf(fdin, INIT);
FD_ZERO(&rfds0);
FD_ZERO(&rfds1);