🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #4165

Re: Ultrix 4.1 rexec-problems

#4165
From: Michel Fingerhut
Date: Thu, 20 Jun 1991 07:31
25 lines
1609 bytes
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
Technical Details
Message-ID: <1991Jun20.073150.15089@ircam.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!corton!ircam!fingerhu
References: <michaelp.677329070@forst>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!corton!ircam!fingerhu
From: fingerhu@ircam.fr (Michel Fingerhut)
Newsgroups: comp.sys.dec
Subject: Re: Ultrix 4.1 rexec-problems
Keywords: rexec, libraries
Message-ID: <1991Jun20.073150.15089@ircam.fr>
Date: 20 Jun 91 07:31:50 GMT
References: <michaelp.677329070@forst>
Distribution: comp
Organization: IRCAM, Paris (France)
Lines: 25