Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 95 10:06:24 MST
From:      terry@cs.weber.edu (Terry Lambert)
To:        splyaski@cmp.com (Plyaskin Sergey)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Netscape and XNLSPATH
Message-ID:  <9502081706.AA18950@cs.weber.edu>
In-Reply-To: <2F390932@mailgate.cmp.com> from "Plyaskin Sergey" at Feb 8, 95 10:10:00 am

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 
> 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``VYL<RYT87(`[5?1;MLV%,UK_15W2Q\VP',EQXX;`WM09=D6
M($N9I"SM4R';=$Q,%@612F(,^_<=TK6;I"WZD+H=,!V$5DCQGGLN+W5%%;E\
M=7)D4,\:]/MT0D1GMF6N1/OKAP[USWL#JW=F]<_0'UA6]X3ZQQ:F44N5541?
MG5<)H8ZOYK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/&6HG1X,4(?>88
MWO'CU)C<OW!J;)-J2`&G=S7JX,V+3\JMJ:FMTV\$XY4H$(LL9Q3B.<=;`H-O
M`_<]4MMR6QYRO^^982Q+I'=0*TEC?=E/.(R;66,L9N*E9D>/V`H/N7FLQZ+:
M9&H(@_'(W',2U_>'Y"<1O7[=O_C-;G$I=O\-)\&!?$]GN.''VW.K;<F&;F*]
MW\QSAL5I!4/;W`!270`WJ'>ZP.2H+GC2)-VP@F$I\=RA1.-!197>8)]$V-4I
MZ8T_\<A/?](D%@ZOEHV&@XN%PZO50^NCG:,-T%ZC71#AY$,VYMF89V.>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<T\;?W2M7[':7ZP^O50
M,Q^623V&5\[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.

=========================================================================




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?9502081706.AA18950>