Lines Matching +defs:val +defs:ct
557 register int val = 0;
587 val = cpp - telopts;
592 val *= 10;
593 val += *cp - '0';
601 } else if (val < 0 || val > 255) {
612 (*func)(val, 1);
666 togbinary(val)
667 int val;
671 if (val >= 0) {
672 binmode = val;
681 val = binmode ? 0 : 1;
684 if (val == 1) {
709 togrbinary(val)
710 int val;
714 if (val == -1)
715 val = my_want_state_is_do(TELOPT_BINARY) ? 0 : 1;
717 if (val == 1) {
738 togxbinary(val)
739 int val;
743 if (val == -1)
744 val = my_want_state_is_will(TELOPT_BINARY) ? 0 : 1;
746 if (val == 1) {
1051 struct setlist *ct;
1061 for (ct = Setlist; ct->name; ct++)
1062 (void) printf("%-15s %s\n", ct->name, ct->help);
1069 ct = getset(argv[1]);
1070 if (ct == 0) {
1104 } else if (Ambiguous(ct)) {
1108 } else if (ct->handler) {
1109 (*ct->handler)(argv[2]);
1111 "%s set to \"%s\".\n", ct->name, (char *)ct->charp);
1118 *(ct->charp) = (cc_t)value;
1119 (void) printf("%s character is '%s'.\n", ct->name,
1120 control(*(ct->charp)));
1131 struct setlist *ct;
1141 for (ct = Setlist; ct->name; ct++)
1142 (void) printf("%-15s %s\n", ct->name, ct->help);
1153 ct = getset(name);
1154 if (ct == 0) {
1176 } else if (Ambiguous(ct)) {
1180 } else if (ct->handler) {
1181 (*ct->handler)(0);
1182 (void) printf("%s reset to \"%s\".\n", ct->name,
1183 (char *)ct->charp);
1185 *(ct->charp) = _POSIX_VDISABLE;
1186 (void) printf("%s character is '%s'.\n", ct->name,
1187 control(*(ct->charp)));