Jeffrey E Altman <jaltman@secure-endpoints.com>
Secure Endpoints Inc., New York City
- Copyright (C) 1985, 2010,
+ Copyright (C) 1985, 2011,
Trustees of Columbia University in the City of New York.
All rights reserved. See the C-Kermit COPYING.TXT file or the
copyright text in the ckcmai.c module for disclaimer and permissions.
setflow() {
extern int flow, autoflow, mdmtyp, cxtype, cxflow[];
#ifndef NODIAL
- extern int dialcapas, dialfc;
+ extern int dialfc;
+ extern long dialcapas;
extern MDMINF * modemp[];
MDMINF * p = NULL;
long bits = 0;
if (what & W_SEND) { /* If we're sending... */
#ifdef NEWFTP
if (what & W_FTP) { /* FTP */
- move(CW_NAM,13);
- printw("FTP PUT:");
+ move(CW_NAM,10);
+ printw(" FTP PUT:");
} else
#endif /* NEWFTP */
#ifdef CK_RESEND
switch (sendmode) { /* Kermit */
case SM_RESEND:
- move(CW_NAM,11);
- printw("RESENDING:");
+ move(CW_NAM,10);
+ printw(" RESENDING:");
break;
default:
- move(CW_NAM,13);
- printw("SENDING:");
+ move(CW_NAM,10);
+ printw(" SENDING:");
break;
}
#else
- move(CW_NAM,13);
- printw("SENDING:");
+ move(CW_NAM,10);
+ printw(" SENDING:");
#endif /* CK_RESEND */
} else if (what & W_RECV) { /* If we're receiving... */
#ifdef NEWFTP
if (what & W_FTP) { /* FTP */
- move(CW_NAM,13);
- printw("FTP GET:");
+ move(CW_NAM,10);
+ printw(" FTP GET:");
} else {
#endif /* NEWFTP */
- move(CW_NAM,11);
- printw("RECEIVING:");
+ move(CW_NAM,10);
+ printw(" RECEIVING:");
#ifdef NEWFTP
}
} else if (what == (W_FTP|W_FT_DELE)) {
printw("FTP DELETE:");
#endif /* NEWFTP */
} else { /* If we don't know... */
- move(CW_NAM,11); /* (should never see this) */
- printw("File Name:");
+ move(CW_NAM,10); /* (should never see this) */
+ printw(" File Name:");
}
move(CW_NAM,22); /* Display the filename */
if (len > 57) {