From: Daniel S. <da...@bi...> - 2004-09-30 21:14:58
|
A while ago I posted the mail below. I did a bit extra and found the following: The wrong memory usage in cygwin happens only with windows NT, it doesn't in XP. With version ngspice15c, the problem with the temporary file expansion persists. At the bottom of this mail there is an example of this. The file "bug2.spi" should be filtered by "spiceprm" (in the "contrib" directory), e.g. into "bug2filtered.spi". If you later do: $ ngspice bug2filtered.spi $ source bug2filtered.spi $ edit $ run everything will be kosher. However if you don't do step 2 (source bug2filtered.spi), then "vi" will edit an expanded file that will be wrong. The other problem is scrolling down the text of the help windows. This might be a problem of the window manager, but with my systems the only way I have is by keeping the right arrow key pressed for a long.... time. I hope this helps. Dan P.D. Forza Boca Juniors! >I just compiled ngspice15b on a cygwin system, and for whatever is >worth, I observed the following: > >1) The xspice options does not compile, there are missing definitions >in the respective source files. > >2) There was an issue with a system include file: >"/usr/include/w32api/winnt.h". The line in that file says: > >typedef BYTE BOOLEAN,*PBOOLEAN; > >which generated a compilation error. This is probably a problem >of cygwin rather than ngspice, but I fixed it by modifying it to: > >typedef BYTE *PBOOLEAN; > >3) It appears that cygwin is getting the wrong memory usage >information from cygwin (negative values), so it constantly >writes the message: > >Warning - approaching max data size: current size = 1511424, limit = -496762880. > >4) The expansion into the temporary file is broken, if you just >type "edit" at the prompt it will expand the netlist improperly. >You can overcome this by explicitely writing "source ><yourrealfilename>", and then every time you edit will go to the >real file. > >Dan > begin 644 ngspicebugs.tar.gz M'XL(`%5W7$$``^V8RY+;NA&&O16?`I6-/5)$XTJ0KII55EEDE:R3XDTR+8KB M(2EI4JF\>WZ`X&U&<L;'L4].U:!J-",T&F@T&MT?)CGON=_6Q;L?V!BE@93$ M_*:4D7?$-.I^$\*IEH11QC4-M.:<$,:XDN\(_9%&#>W<=G%#R+LLKHJ\O#_N M^CG_FOCWVI(B;DE:-.FYZ+RUMR;=J29E?LE+[XFN+DG"5N93XJ-=K?95AJ_7 MO"Q7ERQ;&66H+.;PVW.2'CK;"26&GU[9Z(ZJ=BE(R3ZO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