From: fingerhu@ircam.fr (Michel Fingerhut)
Subject: Re: Ultrix 4.1 rexec-problems
Date: 20 Jun 91 07:31:50 GMT [thread overview]
Message-ID: <1991Jun20.073150.15089@ircam.fr> (raw)
In-Reply-To: michaelp.677329070@forst
Michael Portz complains about unresolved references to macnum, proxy, macros and macbuf
when using the rexec library call.
These are variables which are used by ruserpass (as called from rexec) in order to execute
macros and proxy commands which might be found in a .netrc file as needed by the ftp command in
auto-login mode.
Actually, 4.3 has two different ruserpass sources, one specific for ftp, which contains this
code together with a .h defining these (and other) global variables, while the one in their libc
does not contain it nor those variables. I guess ultrix used the same routine. Since no
utility actually uses rexec, I suppose they never were aware of the missing variables.
Anyway, I suggest you include the following lines in your code:
int proxy; /* proxy server connection active */
int macnum; /* number of defined macros */
struct macel {
char mac_name[9]; /* macro name */
char *mac_start; /* start of macro in macbuf */
char *mac_end; /* end of macro in macbuf */
};
char macbuf[4096];
struct macel macros[16];
Michael Fingerhut
prev parent reply other threads:[~1991-06-20 7:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-06-19 10:57 Ultrix 4.1 rexec-problems Michael Portz
1991-06-20 7:31 ` Michel Fingerhut [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox