diff options
Diffstat (limited to 'usr.bin/tn3270')
-rw-r--r-- | usr.bin/tn3270/api/asc_ebc.c | 2 | ||||
-rw-r--r-- | usr.bin/tn3270/ascii/map3270.c | 2 | ||||
-rw-r--r-- | usr.bin/tn3270/ascii/mset.c | 4 | ||||
-rw-r--r-- | usr.bin/tn3270/ctlr/api.c | 2 | ||||
-rw-r--r-- | usr.bin/tn3270/ctlr/api.h | 4 | ||||
-rw-r--r-- | usr.bin/tn3270/ctlr/inbound.c | 2 | ||||
-rw-r--r-- | usr.bin/tn3270/distribution/utilities/srccmd/tar/tarread.c | 4 | ||||
-rw-r--r-- | usr.bin/tn3270/sys_curses/termout.c | 4 | ||||
-rw-r--r-- | usr.bin/tn3270/tools/mkastosc/mkastosc.c | 2 |
9 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/tn3270/api/asc_ebc.c b/usr.bin/tn3270/api/asc_ebc.c index 14061f0..1e999dc 100644 --- a/usr.bin/tn3270/api/asc_ebc.c +++ b/usr.bin/tn3270/api/asc_ebc.c @@ -77,7 +77,7 @@ unsigned char ebc_asc[NEBC] = { /* 38 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', /* 40 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', -/* 48 */ ' ', ' ', +/* 48 */ ' ', ' ', #if !defined(MSDOS) /* 4A */ '\\', #else /* !defined(MSDOS) */ diff --git a/usr.bin/tn3270/ascii/map3270.c b/usr.bin/tn3270/ascii/map3270.c index 0295509..9ae1b2a 100644 --- a/usr.bin/tn3270/ascii/map3270.c +++ b/usr.bin/tn3270/ascii/map3270.c @@ -441,7 +441,7 @@ EatToNL() lex = Get(); - while (!((lex.type != LEX_ESCAPED) && (lex.type != LEX_CARETED) && + while (!((lex.type != LEX_ESCAPED) && (lex.type != LEX_CARETED) && (lex.value == '\n')) && (!(lex.type == LEX_END_OF_FILE))) { lex = Get(); } diff --git a/usr.bin/tn3270/ascii/mset.c b/usr.bin/tn3270/ascii/mset.c index 508fe66..b87a1ec 100644 --- a/usr.bin/tn3270/ascii/mset.c +++ b/usr.bin/tn3270/ascii/mset.c @@ -286,7 +286,7 @@ char *begin, *tc_name; case '\\': case '\'': if (toshell) { - numbchars += 2; + numbchars += 2; printf("%c%c", '\\', pchar); } else { @@ -397,7 +397,7 @@ char *argv[]; recurse(0, head); /* now print them out */ for (rptr = regstates[0].forward; rptr->result != 0; - rptr = rptr->forward) { + rptr = rptr->forward) { printString(rptr->match_end, rptr->match_start, rptr->result); } if (toshell) { diff --git a/usr.bin/tn3270/ctlr/api.c b/usr.bin/tn3270/ctlr/api.c index 1113295..8a9ea3e 100644 --- a/usr.bin/tn3270/ctlr/api.c +++ b/usr.bin/tn3270/ctlr/api.c @@ -305,7 +305,7 @@ struct SREGS *sregs; parms.rc = 0; if (parms.options == OPTION_SINGLE_KEYSTROKE) { KeystrokeEntry *entry = &parms.keystroke_specifier.keystroke_entry; - + if (AcceptKeystroke(entry->scancode, entry->shift_state) == 0) { parms.rc = 0x10; /* XXX needs 0x12 too! */ } diff --git a/usr.bin/tn3270/ctlr/api.h b/usr.bin/tn3270/ctlr/api.h index 8004f34..ba0df8d 100644 --- a/usr.bin/tn3270/ctlr/api.h +++ b/usr.bin/tn3270/ctlr/api.h @@ -264,7 +264,7 @@ typedef struct { short begin; /* Offset within buffer */ } BufferDescriptor; - + typedef struct { char rc, @@ -345,7 +345,7 @@ typedef struct { #if defined(vax) || defined(ns32000) || defined(i386) || (defined(mips)&&defined(MIPSEL)) #define BYTE_ORDER LITTLE_ENDIAN -#endif /* defined(vax) || defined(ns32000) */ +#endif /* defined(vax) || defined(ns32000) */ #if defined(sun) || defined(tahoe) || defined(ibm032) || defined(pyr) || defined(gould) || (defined(mips)&&defined(MIPSEB)) #define BYTE_ORDER BIG_ENDIAN diff --git a/usr.bin/tn3270/ctlr/inbound.c b/usr.bin/tn3270/ctlr/inbound.c index fe8d142..6f530c3 100644 --- a/usr.bin/tn3270/ctlr/inbound.c +++ b/usr.bin/tn3270/ctlr/inbound.c @@ -210,7 +210,7 @@ EraseEndOfField() AddHost(i, 0); i = ScreenInc(i); } while (i != HighestScreen()); - } + } } } diff --git a/usr.bin/tn3270/distribution/utilities/srccmd/tar/tarread.c b/usr.bin/tn3270/distribution/utilities/srccmd/tar/tarread.c index fedeb69..6b71090 100644 --- a/usr.bin/tn3270/distribution/utilities/srccmd/tar/tarread.c +++ b/usr.bin/tn3270/distribution/utilities/srccmd/tar/tarread.c @@ -118,7 +118,7 @@ FILE *fp; if(extract(name, size, mode, mtime, fp)) skip = 0; - + if (verbose) printf("\n"); break; @@ -171,7 +171,7 @@ FILE *ifp; return (0); } } - + for(copied = 0; copied < size; copied += TBLOCK) { if(fread(fbuf, TBLOCK, 1, ifp) != 1) { perror("fread"); diff --git a/usr.bin/tn3270/sys_curses/termout.c b/usr.bin/tn3270/sys_curses/termout.c index 5dbe311..bf5284c 100644 --- a/usr.bin/tn3270/sys_curses/termout.c +++ b/usr.bin/tn3270/sys_curses/termout.c @@ -204,7 +204,7 @@ SlowScreen() register int fieldattr, termattr; register int columnsleft; -#define NORMAL 0 +#define NORMAL 0 #define HIGHLIGHT 1 /* Mask bits */ #define NONDISPLAY 4 /* Mask bits */ #define UNDETERMINED 8 /* Mask bits */ @@ -633,7 +633,7 @@ InitTerminal() 2400, 4800, 9600 }; #endif extern void InitMapping(); - + InitMapping(); /* Go do mapping file (MAP3270) first */ if (!screenInitd) { /* not initialized */ #if defined(unix) diff --git a/usr.bin/tn3270/tools/mkastosc/mkastosc.c b/usr.bin/tn3270/tools/mkastosc/mkastosc.c index 697122d..932a388 100644 --- a/usr.bin/tn3270/tools/mkastosc/mkastosc.c +++ b/usr.bin/tn3270/tools/mkastosc/mkastosc.c @@ -133,7 +133,7 @@ char *argv[]; } printf(" */\n"); } - + for (attable = &table[0]; attable <= &table[highestof(table)]; attable++) { for (this = *attable; this; this = this->next) { |