summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-08 09:03:09 +0000
committerache <ache@FreeBSD.org>1996-03-08 09:03:09 +0000
commit60108c50eda0b8364cdd265fad8bf523a1a4d49f (patch)
tree434653e4c736dc05201645fd555da448e439f078 /usr.sbin/ppp/main.c
parent9acf1cecfc141db5d0fc49519e5b2ed71a4a5996 (diff)
downloadFreeBSD-src-60108c50eda0b8364cdd265fad8bf523a1a4d49f.zip
FreeBSD-src-60108c50eda0b8364cdd265fad8bf523a1a4d49f.tar.gz
1) Add multi-phone dialing/redialing, several phones separated by ':'
2) Improve on-line help subsystem 3) Make 'term' mode works even carrier dropped (old code close line forever here) 4) Make 'term' mode 8bit clean. 5) Improve manual page 6) #ifdef DEBUG diagnostic about missing optional files. 7) Don't put interactive dialing info to logfile
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index cae46e1..87f9740 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.13 1996/01/11 17:48:52 phk Exp $
+ * $Id: main.c,v 1.14 1996/01/30 11:08:41 dfr Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -67,7 +67,7 @@ static void TerminalStop();
static struct termios oldtio; /* Original tty mode */
static struct termios comtio; /* Command level tty mode */
-static int TermMode;
+int TermMode;
static int server;
struct sockaddr_in ifsin;
char pid_filename[128];
@@ -446,7 +446,10 @@ ShowHelp()
{
fprintf(stderr, "The following commands are available:\r\n");
fprintf(stderr, " ~p\tEnter to Packet mode\r\n");
+ fprintf(stderr, " ~-\tDecrease log level\r\n");
+ fprintf(stderr, " ~+\tIncrease log level\r\n");
fprintf(stderr, " ~.\tTerminate program\r\n");
+ fprintf(stderr, " ~?\tThis help\r\n");
}
static void
OpenPOWER on IntegriCloud