Last modified: 13-Dec-04 at 04:21AM
Useful Stuff
Netscape
Servers
Starting a Netscape server via a rsh:
rsh server "/usr/ns-home/https-whatever/start < /dev/null > /dev/null
2>&1"
NSAPI
Information on calling NSAPI internal functions from your own NSAPI routines
can be found at http://help.netscape.com/kb/server/960513-119.html.
The cookie values passed in a HTTP request can be gotten via:
char *cookies = pblock_findval("cookie",rq->headers);
To pass a cookie back to the client, use:
pblock_nvinsert("Set-cookie",cookieinfo,rq->srvhdrs);
Navigator/Communicator
If you want Netscape to check whether or not it's the default browser and ask if it's not, find the file called prefs.js and delete the line that reads:
user_pref("browser.wfe.ignore_def_check", true);
Sun
Solaris
If the /etc/path_to_inst file gets corrupted (or disappears),
do a boot -ar from the ok prompt to rebuild it.
To get top 3.4 to compile under Solaris 2.6, apply the following patch to machine/m_sunos5.c:
127c127
< {"anoninfo"}, /* 5 */
---
> {"k_anoninfo"}, /* 5 */
1115c1115
< setpriority (int dummy, int who, int niceval)
---
> setpriority (int dummy, id_t who, int niceval)
JumpStart
To inhibit the starting of OpenWindows under JumpStart, set RUN_WIN to 0 in Tools/Boot/sbin/startup
To inhibit the prompting for a naming service when you have none, comment out the invocation of sysidnis in Tools/Boot/sbin/sysconfig
Cisco
LocalDirector
If you have hosts behind your LocalDirector which do not share the same net
number as your LocalDirector, but are on the same network segment, you must
create a static route to them, if you're running pre-1.6 software. For example:
route 1.2.3.4 255.255.255.255 1.2.3.4
LocalDirector Documentation can be found here
Ghostscript
The Aladdin Ghostscript home page is here
To enable anti-aliasing for text and/or graphics in the PPM device, use -dTextAlphaBits=4 or -dGraphicsAlphaBits=4
Dj Padzensky
djpadz@padz.net