X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=024f6049fb363601540164e4ef25a128655c6edf;hb=853cad7faa5eed9a5988825ac24f462887e12494;hp=2f39f29d4cc1e72dbb6609164a37f38f986549ed;hpb=fc71710f8695ea07d852284286b058ecb3955317;p=mmh diff --git a/uip/prompter.c b/uip/prompter.c index 2f39f29..024f604 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -33,11 +33,11 @@ static struct swit switches[] = { #define PREPSW 2 { "prepend", 0 }, #define NPREPSW 3 - { "noprepend", 0 }, + { "noprepend", 2 }, #define RAPDSW 4 { "rapid", 0 }, #define NRAPDSW 5 - { "norapid", 0 }, + { "norapid", 2 }, #define BODYSW 6 { "body", -4 }, #define NBODYSW 7 @@ -45,9 +45,9 @@ static struct swit switches[] = { #define DOTSW 8 { "doteof", 0 }, #define NDOTSW 9 - { "nodoteof", 0 }, + { "nodoteof", 2 }, #define VERSIONSW 10 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 11 { "help", 0 }, { NULL, 0 } @@ -397,10 +397,6 @@ getln(char *buffer, int n) static void intrser(int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL(SIGINT, intrser); -#endif - if (wtuser) longjmp(sigenv, NOTOK); sigint++;