projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separated send from whatnow, similar to the previous commit.
[mmh]
/
uip
/
mhlsbr.c
diff --git
a/uip/mhlsbr.c
b/uip/mhlsbr.c
index
1764aa5
..
786178d
100644
(file)
--- a/
uip/mhlsbr.c
+++ b/
uip/mhlsbr.c
@@
-63,25
+63,21
@@
static struct swit mhlswitches[] = {
{ "width columns", 0 },
#define SLEEPSW 10
{ "sleep seconds", 0 },
{ "width columns", 0 },
#define SLEEPSW 10
{ "sleep seconds", 0 },
-#define BITSTUFFSW 11
- { "dashstuffing", -12 }, /* interface from forw */
-#define NBITSTUFFSW 12
- { "nodashstuffing", -14 }, /* interface from forw */
-#define VERSIONSW 13
+#define VERSIONSW 11
{ "version", 0 },
{ "version", 0 },
-#define HELPSW 14
+#define HELPSW 12
{ "help", 0 },
{ "help", 0 },
-#define FORW1SW 15
+#define FORW1SW 13
{ "forward", -7 }, /* interface from forw */
{ "forward", -7 }, /* interface from forw */
-#define FORW2SW 16
+#define FORW2SW 14
{ "forwall", -7 }, /* interface from forw */
{ "forwall", -7 }, /* interface from forw */
-#define DGSTSW 17
+#define DGSTSW 15
{ "digest list", -6 },
{ "digest list", -6 },
-#define VOLUMSW 18
+#define VOLUMSW 16
{ "volume number", -6 },
{ "volume number", -6 },
-#define ISSUESW 19
+#define ISSUESW 17
{ "issue number", -5 },
{ "issue number", -5 },
-#define NBODYSW 20
+#define NBODYSW 18
{ "nobody", -6 },
{ NULL, 0 }
};
{ "nobody", -6 },
{ NULL, 0 }
};
@@
-189,7
+185,6
@@
static struct triple triples[] = {
static int bellflg = 0;
static int clearflg = 0;
static int bellflg = 0;
static int clearflg = 0;
-static int dashstuff = 0;
static int dobody = 1;
static int forwflg = 0;
static int forwall = 0;
static int dobody = 1;
static int forwflg = 0;
static int forwall = 0;
@@
-406,13
+401,6
@@
mhl(int argc, char **argv)
clearflg = -1;/* XXX */
continue;
clearflg = -1;/* XXX */
continue;
- case BITSTUFFSW:
- dashstuff = 1; /* trinary logic */
- continue;
- case NBITSTUFFSW:
- dashstuff = -1; /* trinary logic */
- continue;
-
case NBODYSW:
dobody = 0;
continue;
case NBODYSW:
dobody = 0;
continue;
@@
-696,8
+684,6
@@
evalvar(struct mcomp *c1)
return ptoi(name, &c1->c_cwidth);
if (!mh_strcasecmp(name, "length"))
return ptoi(name, &c1->c_length);
return ptoi(name, &c1->c_cwidth);
if (!mh_strcasecmp(name, "length"))
return ptoi(name, &c1->c_length);
- if (!mh_strcasecmp(name, "nodashstuffing"))
- return (dashstuff = -1);
for (ap = triples; ap->t_name; ap++)
if (!mh_strcasecmp(ap->t_name, name)) {
for (ap = triples; ap->t_name; ap++)
if (!mh_strcasecmp(ap->t_name, name)) {
@@
-1379,7
+1365,7
@@
putch(char ch)
** If we are forwarding this message, and the first
** column contains a dash, then add a dash and a space.
*/
** If we are forwarding this message, and the first
** column contains a dash, then add a dash and a space.
*/
- if (column == 0 && forwflg && (dashstuff >= 0) && ch == '-') {
+ if (column == 0 && forwflg && ch == '-') {
putchar('-');
putchar(' ');
}
putchar('-');
putchar(' ');
}