summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-09-20 07:22:22 +0000
committerBrian Somers <brian@FreeBSD.org>1999-09-20 07:22:22 +0000
commite83358b444c3dcb93b56eb53e3150eb2e327ad1f (patch)
treee823916065e04033ee3ece4c7590e3d0d21273ab
parenta77cab77c5232e4a621fbc90124adac05e350495 (diff)
Notes
-rw-r--r--usr.sbin/pppctl/pppctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c
index 46c55c9919f0..7cb649edd0e9 100644
--- a/usr.sbin/pppctl/pppctl.c
+++ b/usr.sbin/pppctl/pppctl.c
@@ -369,10 +369,11 @@ main(int argc, char **argv)
size = 20;
#ifdef __NetBSD__
history(hist, NULL, H_SETSIZE, size);
+ edit = el_init("pppctl", stdin, stdout, stderr);
#else
history(hist, H_EVENT, size);
-#endif
edit = el_init("pppctl", stdin, stdout);
+#endif
el_source(edit, NULL);
el_set(edit, EL_PROMPT, GetPrompt);
if ((env = getenv("EL_EDITOR"))) {