I have now made progress through changing the PSCMD variable in the file

net-snmp/net-snmp-config.h

from "/bin/ps -eW" to "/usr/bin/ps.perl -eW"

(ps.perl is a shell I have written that removes the path from the
COMMAND column of ps)

This works but it is a cheat really as net-snmp-config.h is auto
generated by the configure and configure.in files during configuration
and I'm not sure how to alter these files in order to generate the
desired net-snmp-config.h

I will use the DOS file /X names as the parameter to the procfix command
in order to restart a Windows process with a space in its path name.

Thanks for all the useful responses,

Mark

Baggesen wrote:
> On Sun, Nov 20, 2005 at 10:33:03AM -0500, Robert Story wrote:
> > On Fri, 18 Nov 2005 19:12:05 -0500 Alex wrote:
> > AB>   c:\Progra~1\MOZILL~1\
> > 
> > This should probably make it's way into the documentation somewhere.
> 
> I dont think you can make the cygwin ps use the 8.3 name in any way.
> 
> /Niels



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to