From owner-freebsd-questions Wed Feb 8 09:14:35 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA13065 for questions-outgoing; Wed, 8 Feb 1995 09:14:35 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id JAA13059 for ; Wed, 8 Feb 1995 09:14:30 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA18950; Wed, 8 Feb 95 10:06:25 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9502081706.AA18950@cs.weber.edu> Subject: Re: Netscape and XNLSPATH To: splyaski@cmp.com (Plyaskin Sergey) Date: Wed, 8 Feb 95 10:06:24 MST Cc: freebsd-questions@FreeBSD.org In-Reply-To: <2F390932@mailgate.cmp.com> from "Plyaskin Sergey" at Feb 8, 95 10:10:00 am X-Mailer: ELM [version 2.4dev PL52] Sender: questions-owner@FreeBSD.org Precedence: bulk > > The same for me please :-) Thanks. > SAVE THIS ON FREEFALL, ADD THE LSTAT PATCHES FOR 1.1, MAKE A POINTER, AND PUT IT IN THE FAQ, SOMEONE, PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AND I AM ON MOST OF THESE LISTS, DON'T CC ME! Sheesh. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > I heard it on good authority that you've licked the problem of > voluminous complaints about undefined keysyms in Netscape. How? > I didn't keep a copy (Jordan: that's why I haven't gotten back to you yet...). The main sticking point is the definition of these variables: setenv XNLSPATH /usr/X11R6/lib/X11/nls setenv XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB And the creation of the /usr/X11R6/lib/X11/nls directory, since all of the locale stuff has changed with X11R6. Ignore the extract if you have XFree86 2.x instead of 3.x. Here is a tar'd, gzip'ped, uuencode'd version. It is relatively pathed, so you should be in the /usr/X11R6/lib/X11 directory when you extract it. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. ========================================================================= begin 644 nls.tar.gz M'XL("(P.[BX``VYLN\U_MB_L^MLZ[)?__?Y/6Z?T\JTK"BDJQ>O-D-SV+=F='EW8KZSS5]T+ZEI#RQXB1_Y6I:@RQ471IC!-*1$K=9=5[-$= MT'P66;&DD)>E*"AE.;NILG)M!G6O7(OB$ADM6;;B4(",E"`9M6H"R31NQY"MKOY MLX[?23O@@B>:,[W.2Z-^>I[S!5=;+4YEO-#C2,LA!UHLG,$S MN`[KOU]%6;(%7_%%F^XJKA0KL*1**5-]A>"$U2QLF)R'[S4 M^:AWD\0^4IO@$.2?\XD^C\?Q+-[[0EK68&&;\J< MZ_V157JG;#MFKS[4'HW3:R?V/JRQ$X[VRD=^X@:./R,G"`A38B=,?2^A:S^= M4NQ-G'@$JC2B=.HG#WC\T`VN1GXX,8;^[#+PO=%#@FA,,R]VI^@Z;_S`3]^! M1SL>^VGH)8FFH#`B[T\OA,"IIOFRXBC>"W[C@2?PG3>!1V,,.^$[2BX]UW<" M33GR8\]-]7PW"A/OCRNPXQ:-G)DST;)V%OLNN*ZG3II$D!$CWN0J2'50XSB: M41`E)HZK!#)&3NIHZ\LX0@20?SWUTBF,$(83ZMCZ\094K"$WH[3)`/&6HG1X,4(?>88 MWO'CU)C/V`H/N7FLQZ+: M9&H(@_'(W',2U_>'Y"<1O7[=O_C-;G$I=O\-)\&!?$]GN.''VW.K;ZP.2H+GC2)-VP@F$I\=RA1.-!197>8)]$V-4I MZ8T_\C7EV M'UEJ_=TB%R_/9[1O09!8[>>TAN';,82C]G-:0_!?(*#G2_C'%*ETK<\0>2[N M=(E:B`(')7-6,]7*G"3OESCN;+)\=SC`)AKN:F;[8;OWH+Y,&WP/Z^Q^ML^35T7Q\Y?L?Z#W^_L=O\_W_?6#C E]/:C-31HT*!!@P8-&C1HT*!!@P8-&C1HT.`X^!?>HG3=`"@``,=O ` end ========================================================================= And here are the patches to 1.1.x to make netscape run on it: ========================================================================= ] Brian Ellis (zellis@panix.com) writes: ] ] Netscape is such a cool must-have piece of software that I had to have ] it on my FreeBSD 1.1.5.1 system. If you've tried that, you may notice ] that the binary distribution of netscape for unknown-bsd almost works, ] but dumps core on a bad system call. It turns out that the bad system ] calls are stat() and fstat() which have new IDs under 4.4Lite. I have ] a very short patch to 1.x kernels that works around the problem. ] ] Here's what you have to do: ] ] 1. in /sys/kern : ] apply the patch ] make init_sysent.c (to rebuild the syscall table) ] ] 2. clean out kern object files from your compile directory : ] ] rm /sys/compile/YOUR_MACHINE_NAME/kern*.o ] ] 3. rebuild your kernel and reboot ] ] Now, if only I could get Netscape to quit complaining about undefined ] keysyms (yes, I read the documentation and MCOM's suggested fix doesn't ] work). ] ] -brian ] ] ___ Brian Ellis ] / _ | | . _ Zellis Consulting ] |_ _ . / /_) | | | (_` _ _ .__ 212.388.1715, fax 1602 ] |_) | | @ /__ \_ | | | ._) . (_ (_) ||| 175 E 2 st 4A, NY NY 10009 ] ------------------------------------------------------------------------------ ] ----------------------------- cut here ------------------------------ *** syscalls.master --- syscalls.master *************** *** 265,270 **** 185 UNIMPL 0 nosys 186 UNIMPL 0 nosys 187 UNIMPL 0 nosys ! 188 UNIMPL 0 nosys ! 189 UNIMPL 0 nosys 190 UNIMPL 0 nosys --- 265,270 ---- 185 UNIMPL 0 nosys 186 UNIMPL 0 nosys 187 UNIMPL 0 nosys ! 188 STD 2 ostat ! 189 STD 2 ofstat 190 UNIMPL 0 nosys *** kern_descrip.c Thu Dec 8 23:34:06 1994 --- kern_descrip.c Fri Dec 9 00:51:25 1994 *************** *** 401,406 **** --- 401,415 ---- return (error); } + int + ofstat(p, uap, retval) + struct proc *p; + register struct fstat_args *uap; + int *retval; + { + return fstat(p, uap, retval); + } + /* * Allocate a file descriptor for the process. */ *** vfs_syscalls.c --- vfs_syscalls.c *************** *** 1116,1121 **** --- 1116,1130 ---- return (error); } + int + ostat(p, uap, retval) + struct proc *p; + register struct stat_args *uap; + int *retval; + { + return stat(p, uap, retval); + } + /* * Lstat system call. * This version does not follow links. =========================================================================