zsh-workers
 help / color / mirror / code / Atom feed
* problems with 4.3.4 and Tru64
@ 2007-05-10  8:25 Timo Aaltonen
  2007-05-10  9:55 ` Peter Stephenson
  2007-05-10 17:55 ` Phil Pennock
  0 siblings, 2 replies; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10  8:25 UTC (permalink / raw)
  To: zsh-workers


 	Hi

   I've compiled 4.3.4 on Tru64 5.1B and I can't type some characters with 
it (åäö being most useful for Finns), it only makes a beep. With 
4.2.x/4.3.2 it works, but since they are otherwise not that useful for 
UTF8 I had high hopes for the new release..

Any ideas why that might be?

t


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10  8:25 problems with 4.3.4 and Tru64 Timo Aaltonen
@ 2007-05-10  9:55 ` Peter Stephenson
  2007-05-10 10:05   ` Peter Stephenson
  2007-05-10 10:06   ` Timo Aaltonen
  2007-05-10 17:55 ` Phil Pennock
  1 sibling, 2 replies; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10  9:55 UTC (permalink / raw)
  To: Timo Aaltonen, zsh-workers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Timo Aaltonen wrote:
>    I've compiled 4.3.4 on Tru64 5.1B and I can't type some characters with 
> it (åäö being most useful for Finns), it only makes a beep.

By "typing", you mean this is on your keyboard?  Presumably the obvious
things like the locale are set correctly.

Can you reproduce this starting from "zsh -f"?

Could you send a transcript of your session (as simple as possible) made
with "script" so we can see what is being sent to the shell input?

(The same goes with anyone who is having problems with the MAC.)

Thanks.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10  9:55 ` Peter Stephenson
@ 2007-05-10 10:05   ` Peter Stephenson
  2007-05-10 10:06   ` Timo Aaltonen
  1 sibling, 0 replies; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10 10:05 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Timo Aaltonen, zsh-workers

Peter Stephenson <pws@csr.com> wrote:
> Timo Aaltonen wrote:
> >    I've compiled 4.3.4 on Tru64 5.1B and I can't type some
> > characters with it (åäö being most useful for Finns), it only makes
> > a beep.
>... 

Sorry, I didn't use UTF-8 for the reply so the characters came out as
garbage... this is me, not you.

pws


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10  9:55 ` Peter Stephenson
  2007-05-10 10:05   ` Peter Stephenson
@ 2007-05-10 10:06   ` Timo Aaltonen
  2007-05-10 10:15     ` Timo Aaltonen
  1 sibling, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 10:06 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: TEXT/PLAIN, Size: 581 bytes --]

On Thu, 10 May 2007, Peter Stephenson wrote:

> Timo Aaltonen wrote:
>>    I've compiled 4.3.4 on Tru64 5.1B and I can't type some characters with
>> it (åäö being most useful for Finns), it only makes a beep.
>
> By "typing", you mean this is on your keyboard?  Presumably the obvious
> things like the locale are set correctly.

Yes, and bash works fine.

> Can you reproduce this starting from "zsh -f"?

Yes.

> Could you send a transcript of your session (as simple as possible) made
> with "script" so we can see what is being sent to the shell input?

Attached.

Thanks!


t

[-- Attachment #2: Type: TEXT/PLAIN, Size: 605 bytes --]

Script started on Thu May 10 13:04:19 2007
\r^[[m^[[m^[[m^[[J$ ^[[K/\b/v/dunix51_alpha/shells/zsh/4.3.4/bin/zsh -f
^[[1m^[[7m%^[[m^[[1m^[[m                                                                               \r\r^[[m^[[m^[[m^[[Jreplicant work 1 % ^[[Kl\blocale
LANG=C
LC_COLLATE="C"
LC_CTYPE=fi_FI.UTF-8
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
^[[1m^[[7m%^[[m^[[1m^[[m                                                                               \r\r^[[m^[[m^[[m^[[Jreplicant work 2 % ^[[K\a\a\a\a\a\ae\bexit
\r^[[m^[[m^[[m^[[J$ ^[[Ke\bexit

script done on Thu May 10 13:04:50 2007

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 10:06   ` Timo Aaltonen
@ 2007-05-10 10:15     ` Timo Aaltonen
  2007-05-10 10:30       ` Peter Stephenson
  0 siblings, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 10:15 UTC (permalink / raw)
  To: zsh-workers

On Thu, 10 May 2007, Timo Aaltonen wrote:

>>  Could you send a transcript of your session (as simple as possible) made
>>  with "script" so we can see what is being sent to the shell input?
>
> Attached.

Forgot to mention that I pressed each of these keys twice;
ö - odiaeresis
ä - adiaeresis
å - aring

t


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 10:15     ` Timo Aaltonen
@ 2007-05-10 10:30       ` Peter Stephenson
  2007-05-10 11:03         ` Timo Aaltonen
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10 10:30 UTC (permalink / raw)
  To: Timo Aaltonen, zsh-workers

Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
> On Thu, 10 May 2007, Timo Aaltonen wrote:
> 
> >>  Could you send a transcript of your session (as simple as
> >> possible) made with "script" so we can see what is being sent to
> >> the shell input?
> >
> > Attached.
> 
> Forgot to mention that I pressed each of these keys twice;
> ö - odiaeresis
> ä - adiaeresis
> å - aring

Hmmm... nothing appears to be coming out; I'm looking for byte sequences
like 0xc3 0xa4 (ä).

Could we try a different tack?  Could you check the "multibyte" option has
come on (use "setopt")?  This should happen automatically.  If it hasn't,
the shell may not have built properly and we need to go back and look at
the configuration.

If multibyte mode is apparently enabled, try "cat >test.out", typing one of
the characters, then ^D.  "xxd" or similar should show you the file
contains a two-octet character like 0xc3 0xa4 (ä), 0xc3 0xb6 (ö), or 0xc3
0xa5 (å).  This may not tell us much, but it's a start...

If that's all OK, try seeing if the shell is recognising multibyte
characters internally.  Take the contents of a file with a multibyte
character in it (say test.out) and do

print ${#$(<test.out)}

That should say 1 (i.e. one character found).  If it says 2 the shell is
interpreting the multibyte stream wrongly.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 10:30       ` Peter Stephenson
@ 2007-05-10 11:03         ` Timo Aaltonen
  2007-05-10 11:30           ` Peter Stephenson
  0 siblings, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 11:03 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2019 bytes --]

On Thu, 10 May 2007, Peter Stephenson wrote:

> Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
>> On Thu, 10 May 2007, Timo Aaltonen wrote:
>>
>>>>  Could you send a transcript of your session (as simple as
>>>> possible) made with "script" so we can see what is being sent to
>>>> the shell input?
>>>
>>> Attached.
>>
>> Forgot to mention that I pressed each of these keys twice;
>> ö - odiaeresis
>> ä - adiaeresis
>> å - aring
>
> Hmmm... nothing appears to be coming out; I'm looking for byte sequences
> like 0xc3 0xa4 (ä).
>
> Could we try a different tack?  Could you check the "multibyte" option has
> come on (use "setopt")?  This should happen automatically.  If it hasn't,
> the shell may not have built properly and we need to go back and look at
> the configuration.

Apparently multibyte is _not_ on, and running 'setopt multibyte' doesn't 
do anything. Configure does say that multibyte support is enabled. Setopt 
output:

replicant work 1 % setopt
interactive
monitor
norcs
shinstdin
zle


Attached is a script output of the configure/compile phase. The resulting 
binary is linked to libiconv.so:

#narya zsh 5080 # ldd 4.3.4/bin/zsh

         Main  =>   4.3.4/bin/zsh
         libiconv.so  =>   /usr/shlib/libiconv.so
         libm.so  =>   /usr/shlib/libm.so
         libc.so  =>   /usr/shlib/libc.so

> If multibyte mode is apparently enabled, try "cat >test.out", typing one of
> the characters, then ^D.  "xxd" or similar should show you the file
> contains a two-octet character like 0xc3 0xa4 (ä), 0xc3 0xb6 (ö), or 0xc3
> 0xa5 (å).  This may not tell us much, but it's a start...
>
> If that's all OK, try seeing if the shell is recognising multibyte
> characters internally.  Take the contents of a file with a multibyte
> character in it (say test.out) and do
>
> print ${#$(<test.out)}
>
> That should say 1 (i.e. one character found).  If it says 2 the shell is
> interpreting the multibyte stream wrongly.

Yep, printing works, and I could edit the file just fine.

thanks for helping out,

t

[-- Attachment #2: Type: TEXT/PLAIN, Size: 70769 bytes --]

Script started on Thu May 10 13:50:06 2007
\r^[[m^[[m^[[m^[[J$ ^[[Kh\bhutcompile /p/src/shells/zsh/hutcc/conf.sh
/p/work/lk/tjaalton/zsh-4.3.4 found, using it for compilation purposes.
Source directory: "/p/work/lk/tjaalton/zsh-4.3.4"
Object directory: "/p/work/lk/tjaalton/zsh-4.3.4"
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Doc'
rm -f *.html *.info* *.dvi *.ps *.pdf
rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
rm -rf infodir
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Doc'
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Etc'
rm -f FAQ.html
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Etc'
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
if test -f Makemod; then \
  gmake -f Makemod prefix='/v/gen/shells/zsh/4.3.4' exec_prefix='/v/dunix51_alpha/shells/zsh/4.3.4' bindir='/v/dunix51_alpha/shells/zsh/4.3.4/bin' libdir='/v/dunix51_alpha/shells/zsh/4.3.4/lib' MODDIR='/v/dunix51_alpha/shells/zsh/4.3.4/lib/zsh/4.3.4' infodir='/v/gen/shells/zsh/4.3.4/info' mandir='/v/gen/shells/zsh/4.3.4/man' datadir='/v/gen/shells/zsh/4.3.4/share' fndir='/v/gen/shells/zsh/4.3.4/share/zsh/4.3.4/functions' htmldir='/v/gen/shells/zsh/4.3.4/share/zsh/htmldoc' CC='cc' CPPFLAGS='-I/p/include' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O' LDFLAGS='-L/p/lib' EXTRA_LDFLAGS='' DLCFLAGS='' DLLDFLAGS='' LIBLDFLAGS='' EXELDFLAGS='' LIBS='-liconv /p/lib/libncurses.a -lm  -lc' DL_EXT='' DLLD='' AWK='gawk' ANSI2KNR=': ansi2knr' YODL=': yodl' YODL2TXT=': yodl2txt' YODL2HTML=': yodl2html' FUNCTIONS_INSTALL='' tzsh='zsh' `echo clean-modules | sed 's/-modules//'`; \
fi; \
exit 0
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
rm -f *.o *.export *.
rm -f rlimits.h
rm -f *.o.c *.syms *.pro *.epro *.mdh *.mdhi *.mdhs *.mdh.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
rm -f *.o *.export *.
rm -f *.o.c *.syms *.pro *.epro *.mdh *.mdhi *.mdhs *.mdh.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
rm -f *.o *.export *.
rm -f zle_things.h zle_widget.h widgets.list thingies.list
rm -f *.o.c *.syms *.pro *.epro *.mdh *.mdhi *.mdhs *.mdh.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
rm -f *.o *.export *.
rm -f sigcount.h signames.c bltinmods.list version.h zshpaths.h zshxmods.h
rm -f *.o.c *.syms *.pro *.epro *.mdh *.mdhi *.mdhs *.mdh.tmp
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
rm -f stamp-modobjs stamp-modobjs.tmp
rm -f modules.stamp zsh
rm -f libzsh-*.
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Test'
rm -rf Modules .zcompdump *.tmp
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Test'
configure_options: "--prefix=/v/gen/shells/zsh/4.3.4 --exec-prefix=/v/dunix51_alpha/shells/zsh/4.3.4 --disable-dynamic --with-curses-terminfo"
configuring for zsh 4.3.4
checking build system type... alphaev67-dec-osf5.1b
checking host system type... alphaev67-dec-osf5.1b
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether large file support needs explicit enabling... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for an ANSI C-conforming const... yes
checking for cc option to accept ANSI C... 
checking whether to use prototypes... yes
checking for working alloca.h... yes
checking for alloca... yes
checking if the compiler supports union initialisation... yes
checking if signed to unsigned casting is broken... no
checking if the compiler supports variable-length arrays... yes
checking whether gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /p/bin/ginstall -c
checking for gawk... gawk
checking whether ln works... yes
checking for egrep... (cached) grep -E
checking for yodl... no
checking for pdfetex... pdfetex
checking for texi2pdf... texi2pdf
checking for ansi2knr... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... yes
checking varargs.h presence... yes
checking for varargs.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for sys/types.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for conflicts in sys/time.h and sys/select.h... no
checking TIOCGWINSZ in termios.h... no
checking TIOCGWINSZ in sys/ioctl.h... yes
checking for streams headers including struct winsize... no
checking for printf in -lc... yes
checking for pow in -lm... yes
checking for library containing tigetstr... -lncurses
checking for library containing tigetflag... none required
checking for library containing tgetent... none required
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking if term.h needs curses.h... no
checking if boolcodes is available... yes
checking if numcodes is available... yes
checking if strcodes is available... yes
checking if boolnames is available... yes
checking if numnames is available... yes
checking if strnames is available... yes
checking for library containing yp_all... none required
checking for socket in -lsocket... no
checking for iconv... no
checking for iconv in -liconv... yes
checking for iconv declaration... 
checking if an include file defines ospeed... yes
checking return type of signal handlers... void
checking for pid_t... yes
checking for off_t... yes
checking for ino_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking if long is 64 bits... yes
checking for sigset_t... yes
checking for struct timezone... yes
checking for struct utmp... yes
checking for struct utmpx... yes
checking for ut_host in struct utmp... yes
checking for ut_host in struct utmpx... yes
checking for ut_xtime in struct utmpx... no
checking for ut_tv in struct utmpx... yes
checking for d_ino in struct dirent... yes
checking for d_stat in struct dirent... no
checking for d_ino in struct direct... no
checking for d_stat in struct direct... no
checking for sin6_scope_id in struct sockaddr_in6... yes
checking if we need our own h_errno... no
checking for strftime... yes
checking for strptime... yes
checking for mktime... yes
checking for timelocal... no
checking for difftime... yes
checking for gettimeofday... yes
checking for select... yes
checking for poll... yes
checking for readlink... yes
checking for faccessx... no
checking for fchdir... yes
checking for ftruncate... yes
checking for fstat... yes
checking for lstat... yes
checking for lchown... yes
checking for fchown... yes
checking for fchmod... yes
checking for fseeko... yes
checking for ftello... yes
checking for mkfifo... yes
checking for _mktemp... no
checking for mkstemp... yes
checking for waitpid... yes
checking for wait3... yes
checking for sigaction... yes
checking for sigblock... yes
checking for sighold... yes
checking for sigrelse... yes
checking for sigsetmask... yes
checking for sigprocmask... yes
checking for killpg... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for tcsetpgrp... yes
checking for tcgetattr... yes
checking for nice... yes
checking for gethostname... yes
checking for gethostbyname2... no
checking for getipnodebyname... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getlogin... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getgrgid... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for nis_list... no
checking for setuid... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... no
checking for setsid... yes
checking for memcpy... yes
checking for memmove... yes
checking for strstr... yes
checking for strerror... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for setlocale... yes
checking for uname... yes
checking for signgam... yes
checking for putenv... yes
checking for getenv... yes
checking for brk... yes
checking for sbrk... yes
checking for pathconf... yes
checking for sysconf... yes
checking for tgetent... yes
checking for tigetflag... yes
checking for tigetnum... yes
checking for tigetstr... yes
checking for setupterm... yes
checking for pcre_compile... no
checking for pcre_study... no
checking for pcre_exec... no
checking for nl_langinfo... yes
checking for erand48... yes
checking for open_memstream... no
checking for wctomb... yes
checking for iconv... (cached) no
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for htons... yes
checking for ntohs... yes
checking for working strcoll... yes
checking if tgetent accepts NULL... yes
checking if tgetent returns 0 on success... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for munmap... yes
checking for msync... yes
checking whether getpgrp requires zero arguments... yes
checking what style of signals to use... POSIX_SIGNALS
checking where signal.h is located... /usr/include/signal.h
checking where error names are located...  /usr/include/errno.h
checking where the RLIMIT macros are located... /usr/include/sys/resource.h
checking if rlim_t is longer than a long... no
checking if the rlim_t is unsigned... yes
checking for rlim_t... yes
checking for limit RLIMIT_AIO_MEM... no
checking for limit RLIMIT_AIO_OPS... no
checking for limit RLIMIT_AS... yes
checking for limit RLIMIT_LOCKS... no
checking for limit RLIMIT_MEMLOCK... no
checking for limit RLIMIT_NPROC... no
checking for limit RLIMIT_NOFILE... yes
checking for limit RLIMIT_PTHREAD... no
checking for limit RLIMIT_RSS... yes
checking for limit RLIMIT_SBSIZE... no
checking for limit RLIMIT_TCACHE... no
checking for limit RLIMIT_VMEM... yes
checking for limit RLIMIT_SIGPENDING... no
checking for limit RLIMIT_MSGQUEUE... no
checking for limit RLIMIT_NICE... no
checking for limit RLIMIT_RTPRIO... no
checking if RLIMIT_VMEM and RLIMIT_RSS are the same... no
checking if RLIMIT_VMEM and RLIMIT_AS are the same... yes
checking if RLIMIT_RSS and RLIMIT_AS are the same... no
checking for struct rusage.ru_maxrss... yes
checking for struct rusage.ru_ixrss... yes
checking for struct rusage.ru_idrss... yes
checking for struct rusage.ru_isrss... yes
checking for struct rusage.ru_minflt... yes
checking for struct rusage.ru_majflt... yes
checking for struct rusage.ru_nswap... yes
checking for struct rusage.ru_inblock... yes
checking for struct rusage.ru_oublock... yes
checking for struct rusage.ru_msgsnd... yes
checking for struct rusage.ru_msgrcv... yes
checking for struct rusage.ru_nsignals... yes
checking for struct rusage.ru_nvcsw... yes
checking for struct rusage.ru_nivcsw... yes
checking for /dev/fd filesystem... no
checking for RFS superroot directory... no
checking whether we should use the native getcwd... no
checking for NIS... no
checking for NIS+... no
checking for utmp file... /var/adm/utmp
checking for wtmp file... /var/adm/wtmp
checking for utmpx file... no
checking for wtmpx file... no
checking for brk() prototype in <unistd.h>... yes
checking for sbrk() prototype in <unistd.h>... yes
checking for mknod prototype in <sys/stat.h>... yes
checking for ioctl prototype in <unistd.h> or <termios.h>... no
checking for ioctl prototype in <sys/ioctl.h>... yes
checking if named FIFOs work... yes
checking if echo in /bin/sh interprets escape sequences... yes
checking if link() works... yes
checking if kill(pid, 0) returns ESRCH correctly... yes
checking if POSIX sigsuspend() works... yes
checking if tcsetpgrp() actually works... yes
checking if getpwnam() is faked... no
checking base type of the third argument to accept... int
checking if your system has /dev/ptmx... yes
checking if /dev/ptmx is usable... yes
configure: checking for functions supporting multibyte characters
checking for iswalnum... yes
checking for iswcntrl... yes
checking for iswdigit... yes
checking for iswgraph... yes
checking for iswlower... yes
checking for iswprint... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for iswupper... yes
checking for iswxdigit... yes
checking for mbrlen... yes
checking for mbrtowc... yes
checking for towupper... yes
checking for towlower... yes
checking for wcschr... yes
checking for wcscpy... yes
checking for wcslen... yes
checking for wcsncmp... yes
checking for wcsncpy... yes
checking for wcrtomb... yes
checking for wcwidth... yes
checking for wmemchr... yes
checking for wmemcmp... yes
checking for wmemcpy... yes
checking for wmemmove... yes
checking for wmemset... yes
configure: all functions found, multibyte support enabled
configure: creating ./config.status
config.status: creating Config/defs.mk
config.status: creating Makefile
config.status: creating Doc/Makefile
config.status: creating Etc/Makefile
config.status: creating Src/Makefile
config.status: creating Test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing config.modules commands
creating ./config.modules
config.status: executing stamp-h commands

zsh configuration
-----------------
zsh version               : 4.3.4
host operating system     : alphaev67-dec-osf5.1b
source code location      : /p/work/lk/tjaalton/zsh-4.3.4
compiler                  : cc
preprocessor flags        :  -I/p/include
executable compiler flags :  -O
executable linker flags   :  -L/p/lib  
library flags             : -liconv -lncurses -lm  -lc
installation basename     : zsh
binary install path       : /v/dunix51_alpha/shells/zsh/4.3.4/bin
man page install path     : /v/gen/shells/zsh/4.3.4/man
info install path         : /v/gen/shells/zsh/4.3.4/info
functions install path    : /v/gen/shells/zsh/4.3.4/share/zsh/4.3.4/functions
See config.modules for installed modules and functions.

Running gmake
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
cd .. && /bin/sh $top_srcdir/Src/mkmakemod.sh Src Makemod
creating Src/Makemod.in
config.status: creating Src/Makemod
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
echo 'timestamp for *.mdd files' > ../Src/modules.stamp
creating Src/Builtins/Makefile.in
config.status: creating Src/Builtins/Makefile
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
creating Src/Modules/Makefile.in
config.status: creating Src/Modules/Makefile
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
creating Src/Zle/Makefile.in
config.status: creating Src/Zle/Makefile
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/signames1.awk /usr/include/signal.h >sigtmp.c
cc -E sigtmp.c >sigtmp.out
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/signames2.awk sigtmp.out > signames.c
rm -f sigtmp.c sigtmp.out
grep 'define.*SIGCOUNT' signames.c > sigcount.h
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
Updated `zsh.mdh'.
echo 'timestamp for zsh.mdh against zsh.mdd' > zsh.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk builtin.c Src > builtin.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < builtin.syms) \
	> builtin.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < builtin.syms) \
	> `echo builtin.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk compat.c Src > compat.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compat.syms) \
	> compat.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compat.syms) \
	> `echo compat.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk cond.c Src > cond.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < cond.syms) \
	> cond.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < cond.syms) \
	> `echo cond.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk exec.c Src > exec.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < exec.syms) \
	> exec.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < exec.syms) \
	> `echo exec.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk glob.c Src > glob.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < glob.syms) \
	> glob.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < glob.syms) \
	> `echo glob.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk hashtable.c Src > hashtable.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < hashtable.syms) \
	> hashtable.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < hashtable.syms) \
	> `echo hashtable.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk hist.c Src > hist.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < hist.syms) \
	> hist.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < hist.syms) \
	> `echo hist.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk init.c Src > init.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < init.syms) \
	> init.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < init.syms) \
	> `echo init.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk input.c Src > input.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < input.syms) \
	> input.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < input.syms) \
	> `echo input.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk jobs.c Src > jobs.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < jobs.syms) \
	> jobs.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < jobs.syms) \
	> `echo jobs.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk lex.c Src > lex.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < lex.syms) \
	> lex.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < lex.syms) \
	> `echo lex.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk linklist.c Src > linklist.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < linklist.syms) \
	> linklist.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < linklist.syms) \
	> `echo linklist.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk loop.c Src > loop.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < loop.syms) \
	> loop.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < loop.syms) \
	> `echo loop.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk math.c Src > math.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < math.syms) \
	> math.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < math.syms) \
	> `echo math.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk mem.c Src > mem.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < mem.syms) \
	> mem.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < mem.syms) \
	> `echo mem.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk module.c Src > module.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < module.syms) \
	> module.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < module.syms) \
	> `echo module.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk options.c Src > options.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < options.syms) \
	> options.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < options.syms) \
	> `echo options.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk params.c Src > params.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < params.syms) \
	> params.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < params.syms) \
	> `echo params.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk parse.c Src > parse.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < parse.syms) \
	> parse.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < parse.syms) \
	> `echo parse.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk pattern.c Src > pattern.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < pattern.syms) \
	> pattern.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < pattern.syms) \
	> `echo pattern.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk prompt.c Src > prompt.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < prompt.syms) \
	> prompt.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < prompt.syms) \
	> `echo prompt.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk signals.c Src > signals.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < signals.syms) \
	> signals.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < signals.syms) \
	> `echo signals.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk signames.c Src > signames.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < signames.syms) \
	> signames.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < signames.syms) \
	> `echo signames.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk sort.c Src > sort.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < sort.syms) \
	> sort.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < sort.syms) \
	> `echo sort.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk string.c Src > string.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < string.syms) \
	> string.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < string.syms) \
	> `echo string.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk subst.c Src > subst.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < subst.syms) \
	> subst.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < subst.syms) \
	> `echo subst.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk text.c Src > text.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < text.syms) \
	> text.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < text.syms) \
	> `echo text.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk utils.c Src > utils.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < utils.syms) \
	> utils.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < utils.syms) \
	> `echo utils.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk watch.c Src > watch.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < watch.syms) \
	> watch.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < watch.syms) \
	> `echo watch.epro | sed 's/\.epro$/.pro/'`
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
Updated `zsh.mdh'.
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
Updated `rlimits.mdh'.
echo 'timestamp for rlimits.mdh against rlimits.mdd' > rlimits.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk rlimits.c Src/Builtins > rlimits.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < rlimits.syms) \
	> rlimits.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < rlimits.syms) \
	> `echo rlimits.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
Updated `rlimits.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
Updated `sched.mdh'.
echo 'timestamp for sched.mdh against sched.mdd' > sched.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk sched.c Src/Builtins > sched.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < sched.syms) \
	> sched.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < sched.syms) \
	> `echo sched.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
Updated `sched.mdh'.
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `datetime.mdh'.
echo 'timestamp for datetime.mdh against datetime.mdd' > datetime.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk datetime.c Src/Modules > datetime.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < datetime.syms) \
	> datetime.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < datetime.syms) \
	> `echo datetime.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `datetime.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `langinfo.mdh'.
echo 'timestamp for langinfo.mdh against langinfo.mdd' > langinfo.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk langinfo.c Src/Modules > langinfo.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < langinfo.syms) \
	> langinfo.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < langinfo.syms) \
	> `echo langinfo.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `langinfo.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `parameter.mdh'.
echo 'timestamp for parameter.mdh against parameter.mdd' > parameter.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk parameter.c Src/Modules > parameter.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < parameter.syms) \
	> parameter.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < parameter.syms) \
	> `echo parameter.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `parameter.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `termcap.mdh'.
echo 'timestamp for termcap.mdh against termcap.mdd' > termcap.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk termcap.c Src/Modules > termcap.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < termcap.syms) \
	> termcap.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < termcap.syms) \
	> `echo termcap.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `termcap.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `terminfo.mdh'.
echo 'timestamp for terminfo.mdh against terminfo.mdd' > terminfo.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk terminfo.c Src/Modules > terminfo.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < terminfo.syms) \
	> terminfo.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < terminfo.syms) \
	> `echo terminfo.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `terminfo.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
( \
    echo '/** thingies.list                            **/'; \
    echo '/** thingy structures for the known thingies **/'; \
    echo; \
    echo '/* format: T("name", TH_FLAGS, w_widget, t_nextthingy) */'; \
    echo; \
    sed -e 's/#.*//; /^$/d; s/" *,.*/"/' \
	-e 's/^"/T("/; s/$/, 0,/; h' \
	-e 's/-//g; s/^.*"\(.*\)".*/w_\1, t_D\1)/' \
	-e 'H; g; s/\n/ /' \
	< /p/work/lk/tjaalton/zsh-4.3.4/Src/Zle/iwidgets.list; \
    sed -e 's/#.*//; /^$/d; s/" *,.*/"/' \
	-e 's/^"/T("./; s/$/, TH_IMMORTAL,/; h' \
	-e 's/-//g; s/^.*"\.\(.*\)".*/w_\1, t_\1)/' \
	-e 'H; g; s/\n/ /' \
	< /p/work/lk/tjaalton/zsh-4.3.4/Src/Zle/iwidgets.list; \
) > thingies.list
( \
    echo '/** zle_things.h                              **/'; \
    echo '/** indices of and pointers to known thingies **/'; \
    echo; \
    echo 'enum {'; \
    sed -n -f /p/work/lk/tjaalton/zsh-4.3.4/Src/Zle/zle_things.sed < thingies.list; \
    echo '    ZLE_BUILTIN_THINGY_COUNT'; \
    echo '};'; \
) > zle_things.h
gmake[5]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[5]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `zle.mdh'.
echo 'timestamp for zle.mdh against zle.mdd' > zle.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_bindings.c Src/Zle > zle_bindings.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_bindings.syms) \
	> zle_bindings.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_bindings.syms) \
	> `echo zle_bindings.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_hist.c Src/Zle > zle_hist.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_hist.syms) \
	> zle_hist.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_hist.syms) \
	> `echo zle_hist.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_keymap.c Src/Zle > zle_keymap.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_keymap.syms) \
	> zle_keymap.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_keymap.syms) \
	> `echo zle_keymap.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_main.c Src/Zle > zle_main.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_main.syms) \
	> zle_main.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_main.syms) \
	> `echo zle_main.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_misc.c Src/Zle > zle_misc.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_misc.syms) \
	> zle_misc.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_misc.syms) \
	> `echo zle_misc.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_move.c Src/Zle > zle_move.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_move.syms) \
	> zle_move.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_move.syms) \
	> `echo zle_move.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_params.c Src/Zle > zle_params.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_params.syms) \
	> zle_params.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_params.syms) \
	> `echo zle_params.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_refresh.c Src/Zle > zle_refresh.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_refresh.syms) \
	> zle_refresh.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_refresh.syms) \
	> `echo zle_refresh.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_thingy.c Src/Zle > zle_thingy.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_thingy.syms) \
	> zle_thingy.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_thingy.syms) \
	> `echo zle_thingy.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_tricky.c Src/Zle > zle_tricky.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_tricky.syms) \
	> zle_tricky.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_tricky.syms) \
	> `echo zle_tricky.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_utils.c Src/Zle > zle_utils.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_utils.syms) \
	> zle_utils.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_utils.syms) \
	> `echo zle_utils.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_vi.c Src/Zle > zle_vi.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_vi.syms) \
	> zle_vi.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_vi.syms) \
	> `echo zle_vi.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zle_word.c Src/Zle > zle_word.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zle_word.syms) \
	> zle_word.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zle_word.syms) \
	> `echo zle_word.epro | sed 's/\.epro$/.pro/'`
gmake[5]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[5]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `zle.mdh'.
gmake[5]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[5]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `complete.mdh'.
echo 'timestamp for complete.mdh against complete.mdd' > complete.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk complete.c Src/Zle > complete.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < complete.syms) \
	> complete.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < complete.syms) \
	> `echo complete.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk compcore.c Src/Zle > compcore.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compcore.syms) \
	> compcore.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compcore.syms) \
	> `echo compcore.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk compmatch.c Src/Zle > compmatch.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compmatch.syms) \
	> compmatch.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compmatch.syms) \
	> `echo compmatch.epro | sed 's/\.epro$/.pro/'`
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk compresult.c Src/Zle > compresult.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compresult.syms) \
	> compresult.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compresult.syms) \
	> `echo compresult.epro | sed 's/\.epro$/.pro/'`
gmake[5]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[5]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `complete.mdh'.
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `zutil.mdh'.
echo 'timestamp for zutil.mdh against zutil.mdd' > zutil.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zutil.c Src/Modules > zutil.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zutil.syms) \
	> zutil.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zutil.syms) \
	> `echo zutil.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
Updated `zutil.mdh'.
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `compctl.mdh'.
echo 'timestamp for compctl.mdh against compctl.mdd' > compctl.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk compctl.c Src/Zle > compctl.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compctl.syms) \
	> compctl.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compctl.syms) \
	> `echo compctl.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `compctl.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `complist.mdh'.
echo 'timestamp for complist.mdh against complist.mdd' > complist.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk complist.c Src/Zle > complist.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < complist.syms) \
	> complist.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < complist.syms) \
	> `echo complist.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `complist.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `computil.mdh'.
echo 'timestamp for computil.mdh against computil.mdd' > computil.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk computil.c Src/Zle > computil.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < computil.syms) \
	> computil.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < computil.syms) \
	> `echo computil.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `computil.mdh'.
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `zleparameter.mdh'.
echo 'timestamp for zleparameter.mdh against zleparameter.mdd' > zleparameter.mdhs
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk zleparameter.c Src/Zle > zleparameter.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < zleparameter.syms) \
	> zleparameter.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < zleparameter.syms) \
	> `echo zleparameter.epro | sed 's/\.epro$/.pro/'`
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
Updated `zleparameter.mdh'.
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
rm -f stamp-modobjs.tmp
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o builtin.o builtin.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o compat.o compat.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o cond.o cond.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o exec.o exec.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o glob.o glob.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o hashtable.o hashtable.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o hist.o hist.c
srcdir='/p/work/lk/tjaalton/zsh-4.3.4/Src' CFMOD='../config.modules' \
  /bin/sh /p/work/lk/tjaalton/zsh-4.3.4/Src/mkbltnmlst.sh bltinmods.list
Updated `zshpaths.h'.
Creating `zshxmods.h'.
echo '#define ZSH_VERSION "'4.3.4'"' > version.h
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o init.o init.c
cc: Warning: init.c, line 1275: Non-void function "zsh_main" does not contain a return statement. (missingreturn)
mod_export int
-----------^
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o input.o input.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o jobs.o jobs.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o lex.o lex.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o linklist.o linklist.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o loop.o loop.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o math.o math.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o mem.o mem.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o module.o module.c
cc: Info: module.c, line 6: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * Copyright (c) 1996-1997 Zoltán Hidvégi
-------------------------------^
cc: Info: module.c, line 6: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * Copyright (c) 1996-1997 Zoltán Hidvégi
--------------------------------------^
cc: Info: module.c, line 15: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * In no event shall Zoltán Hidvégi or the Zsh Development Group be liable
-------------------------^
cc: Info: module.c, line 15: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * In no event shall Zoltán Hidvégi or the Zsh Development Group be liable
--------------------------------^
cc: Info: module.c, line 18: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * even if Zoltán Hidvégi and the Zsh Development Group have been advised of
---------------^
cc: Info: module.c, line 18: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * even if Zoltán Hidvégi and the Zsh Development Group have been advised of
----------------------^
cc: Info: module.c, line 21: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * Zoltán Hidvégi and the Zsh Development Group specifically disclaim any
-------^
cc: Info: module.c, line 21: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * Zoltán Hidvégi and the Zsh Development Group specifically disclaim any
--------------^
cc: Info: module.c, line 24: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * provided hereunder is on an "as is" basis, and Zoltán Hidvégi and the
------------------------------------------------------^
cc: Info: module.c, line 24: An invalid multibyte character was encountered in a comment. (badmbcomment)
 * provided hereunder is on an "as is" basis, and Zoltán Hidvégi and the
-------------------------------------------------------------^
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o options.o options.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o params.o params.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o parse.o parse.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o pattern.o pattern.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o prompt.o prompt.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o signals.o signals.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o signames.o signames.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o sort.o sort.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o string.o string.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o subst.o subst.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o text.o text.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o utils.o utils.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o watch.o watch.c
echo '' builtin.o compat.o cond.o exec.o glob.o hashtable.o hist.o init.o input.o jobs.o lex.o linklist.o loop.o math.o mem.o module.o options.o params.o parse.o pattern.o prompt.o signals.o signames.o sort.o string.o subst.o text.o utils.o watch.o >> ../Src/stamp-modobjs.tmp
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/Builtins/rlimits.awk /usr/include/sys/resource.h /dev/null > rlimits.h
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o rlimits.o rlimits.c
echo '' rlimits.o | sed 's" " Builtins/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o sched.o sched.c
echo '' sched.o | sed 's" " Builtins/"g' >> ../../Src/stamp-modobjs.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o datetime.o datetime.c
cc: Warning: datetime.c, line 154: In the initializer for epochseconds_gsu.getfn, the referenced type of the pointer value "getcurrentsecs" is "function () returning long", which is not compatible with "function (pointer to struct param) returning long". (ptrmismatch)
{ getcurrentsecs, NULL, stdunsetfn };
--^
echo '' datetime.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o langinfo.o langinfo.c
echo '' langinfo.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o parameter.o parameter.c
echo '' parameter.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o termcap.o termcap.c
echo '' termcap.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o terminfo.o terminfo.c
echo '' terminfo.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
gmake[4]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[4]: `complete.mdh' is up to date.
gmake[4]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zutil.o zutil.c
echo '' zutil.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o compctl.o compctl.c
cc: Info: compctl.c, line 520: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
			*argv = "" - 1;
-------------------------------------^
cc: Info: compctl.c, line 527: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
			*argv = "" - 1;
-------------------------------------^
cc: Info: compctl.c, line 557: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 563: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 569: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 575: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 586: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 592: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 598: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 604: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 610: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 616: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 622: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 628: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 634: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 640: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 646: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 653: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 662: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 668: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 677: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 683: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 689: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 695: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 701: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 707: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 713: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 719: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 742: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 755: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *argv = "" - 1;
---------------------------------^
cc: Info: compctl.c, line 776: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		*argv = "" - 1;
-----------------------------^
echo '' compctl.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o complete.o complete.c
cc: Info: complete.c, line 577: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
                    p = "" - 1;
-----------------------------^
cc: Info: complete.c, line 581: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
                    p = "" - 1;
-----------------------------^
cc: Info: complete.c, line 602: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    p = "" - 1;
-----------------------------^
cc: Info: complete.c, line 607: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    p = "" - 1;
-----------------------------^
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o compcore.o compcore.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o compmatch.o compmatch.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o compresult.o compresult.c
echo '' complete.o compcore.o compmatch.o compresult.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o complist.o complist.c
echo '' complist.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o computil.o computil.c
cc: Info: computil.c, line 1179: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    p = "" - 1;
-----------------------------^
cc: Info: computil.c, line 1187: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    p = "" - 1;
-----------------------------^
echo '' computil.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
( \
    echo '/** widgets.list                               **/'; \
    echo '/** widget structures for the internal widgets **/'; \
    echo; \
    echo '/* format: W(ZLE_FLAGS, t_firstname, functionname) */'; \
    echo; \
    sed -e 's/#.*//; /^$/d; s/-//g' \
	-e 's/^"\(.*\)" *, *\([^ ]*\) *, *\(.*\)/W(\3, t_\1, \2)/' \
	< /p/work/lk/tjaalton/zsh-4.3.4/Src/Zle/iwidgets.list; \
) > widgets.list
( \
    echo '/** zle_widget.h                                **/'; \
    echo '/** indices of and pointers to internal widgets **/'; \
    echo; \
    echo 'enum {'; \
    sed -n -f /p/work/lk/tjaalton/zsh-4.3.4/Src/Zle/zle_widget.sed < widgets.list; \
    echo '    ZLE_BUILTIN_WIDGET_COUNT'; \
    echo '};'; \
) > zle_widget.h
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_bindings.o zle_bindings.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_hist.o zle_hist.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_keymap.o zle_keymap.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_main.o zle_main.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_misc.o zle_misc.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_move.o zle_move.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_params.o zle_params.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_refresh.o zle_refresh.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_thingy.o zle_thingy.c
cc: Info: zle_thingy.c, line 671: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *++args = "" - 1;
-----------------------------------^
cc: Info: zle_thingy.c, line 688: In this statement, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
		    *++args = "" - 1;
-----------------------------------^
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_tricky.o zle_tricky.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_utils.o zle_utils.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_vi.o zle_vi.c
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zle_word.o zle_word.c
echo '' zle_bindings.o zle_hist.o zle_keymap.o zle_main.o zle_misc.o zle_move.o zle_params.o zle_refresh.o zle_thingy.o zle_tricky.o zle_utils.o zle_vi.o zle_word.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O  -o zleparameter.o zleparameter.c
echo '' zleparameter.o | sed 's" " Zle/"g' >> ../../Src/stamp-modobjs.tmp
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
Updated `stamp-modobjs'.
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gawk -f /p/work/lk/tjaalton/zsh-4.3.4/Src/makepro.awk main.c Src > main.syms
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < main.syms) \
	> main.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < main.syms) \
	> `echo main.epro | sed 's/\.epro$/.pro/'`
cc -c -I. -I/p/include -DHAVE_CONFIG_H -O -o main.o /p/work/lk/tjaalton/zsh-4.3.4/Src/main.c
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
( echo '#!'; cat builtin.syms compat.syms cond.syms exec.syms glob.syms hashtable.syms hist.syms init.syms input.syms jobs.syms lex.syms linklist.syms loop.syms math.syms mem.syms module.syms options.syms params.syms parse.syms pattern.syms prompt.syms signals.syms signames.syms sort.syms string.syms subst.syms text.syms utils.syms watch.syms  | sed -n '/^X/{s/^X//;p;}' | sort -u ) > zsh.export
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
rm -f zsh
cc -L/p/lib   -o zsh main.o  `cat stamp-modobjs`   -liconv -lncurses -lm  -lc
gmake[2]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Builtins'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Modules'
gmake[3]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[3]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src/Zle'
gmake[2]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Src'
gmake[1]: Entering directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/m/fs/work/work/lk/tjaalton/zsh-4.3.4/Doc'
make successful.

*** gendir is: /v/gen/shells/zsh/4.3.4
*** bindir is: /v/dunix51_alpha/shells/zsh/4.3.4
*** Warning!! Script variables gendir and bindir
*** must ABSOLUTELY point to correct directory to continue.
*** Do not continue if you are unsure.
*** If you choose to continue you must give sudo password.
Installcommand is:
sudo hutinstall -g /v/gen/shells/zsh/4.3.4 -b /v/dunix51_alpha/shells/zsh/4.3.4 -u tjaalton -o /p/work/lk/tjaalton/zsh-4.3.4
hutcompile finished.
\r^[[m^[[m^[[m^[[J$ ^[[Ke\bexit

script done on Thu May 10 13:54:49 2007

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 11:03         ` Timo Aaltonen
@ 2007-05-10 11:30           ` Peter Stephenson
  2007-05-10 11:43             ` Timo Aaltonen
  2007-05-13 20:12             ` Peter Stephenson
  0 siblings, 2 replies; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10 11:30 UTC (permalink / raw)
  To: Timo Aaltonen, zsh-workers

Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
> Apparently multibyte is _not_ on, and running 'setopt multibyte'
> doesn't do anything. Configure does say that multibyte support is
> enabled.

That's a bit bizarre since it should be on by default.  I don't
understand this, unless it's somehow related to the following.

However, I think I've got somewhere with reproducing your original
problem by using your locales:

LANG=C
LC_COLLATE="C"
LC_CTYPE=fi_FI.UTF-8
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

This also fails to handle multibyte characters properly.
(However, in my case the multibyte option is still set.)
If I remove the LANG=C from that set, it starts working.  This
is obviously a bug.  Are you able to try it with LANG completely
unset (but setting the mulitbyte option by hand if necessary)?

> thanks for helping out,

Multibyte characters are the one area I really want to get working for the
next stable release.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 11:30           ` Peter Stephenson
@ 2007-05-10 11:43             ` Timo Aaltonen
  2007-05-10 11:55               ` Peter Stephenson
  2007-05-13 20:12             ` Peter Stephenson
  1 sibling, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 11:43 UTC (permalink / raw)
  To: zsh-workers

On Thu, 10 May 2007, Peter Stephenson wrote:

> Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
>> Apparently multibyte is _not_ on, and running 'setopt multibyte'
>> doesn't do anything. Configure does say that multibyte support is
>> enabled.
>
> That's a bit bizarre since it should be on by default.  I don't
> understand this, unless it's somehow related to the following.
>
> However, I think I've got somewhere with reproducing your original
> problem by using your locales:
>
> LANG=C
> LC_COLLATE="C"
> LC_CTYPE=fi_FI.UTF-8
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_MESSAGES="C"
> LC_ALL=
>
> This also fails to handle multibyte characters properly.
> (However, in my case the multibyte option is still set.)
> If I remove the LANG=C from that set, it starts working.  This
> is obviously a bug.  Are you able to try it with LANG completely
> unset (but setting the mulitbyte option by hand if necessary)?

'unset LANG' doesn't seem to help, and setopt doesn't show multibyte even 
if I try to load it. So it somehow fails to load, apparently?

thanks,

t


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 11:43             ` Timo Aaltonen
@ 2007-05-10 11:55               ` Peter Stephenson
  2007-05-10 13:05                 ` Timo Aaltonen
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10 11:55 UTC (permalink / raw)
  To: Timo Aaltonen, zsh-workers

Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
> 'unset LANG' doesn't seem to help, and setopt doesn't show multibyte
> even if I try to load it. So it somehow fails to load, apparently?

It occurs to me this may simply be confusion because if multibyte is
on by default, it doesn't show up with "setopt" because that shows options
changed from the default.  Try also "setopt kshoptionprint".  Then you
should be able to see the state of multibyte with a further "setopt".  It
should now show up as "nomultibyte off", i.e. no change from the default
state of multibyte on.

(If that's not the problem: check that

#define MULTIBYTE_SUPPORT 1

is present in config.h.  If that's the case, multibyte support should be
compiled into the main shell and turned on by default.  Does "setopt
multibyte" give an error?  I presume it doesn't, but if it does, it may be
the wrong version of the shell.)

If that's all it is, and multibyte mode is on, see if something brutal does
the trick:

(unset LANG; unset -m 'LC_*'; export LC_ALL=fi_FI.UTF-8; zsh -f)

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 11:55               ` Peter Stephenson
@ 2007-05-10 13:05                 ` Timo Aaltonen
  2007-05-10 13:35                   ` Peter Stephenson
  0 siblings, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 13:05 UTC (permalink / raw)
  To: zsh-workers

On Thu, 10 May 2007, Peter Stephenson wrote:

> Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
>> 'unset LANG' doesn't seem to help, and setopt doesn't show multibyte
>> even if I try to load it. So it somehow fails to load, apparently?
>
> It occurs to me this may simply be confusion because if multibyte is
> on by default, it doesn't show up with "setopt" because that shows options
> changed from the default.  Try also "setopt kshoptionprint".  Then you
> should be able to see the state of multibyte with a further "setopt".  It
> should now show up as "nomultibyte off", i.e. no change from the default
> state of multibyte on.

That's right, it shows "nomultibyte off".

> (If that's not the problem: check that
>
> #define MULTIBYTE_SUPPORT 1
>
> is present in config.h.  If that's the case, multibyte support should be
> compiled into the main shell and turned on by default.  Does "setopt
> multibyte" give an error?  I presume it doesn't, but if it does, it may be
> the wrong version of the shell.)

Doesn't give any error.

> If that's all it is, and multibyte mode is on, see if something brutal does
> the trick:
>
> (unset LANG; unset -m 'LC_*'; export LC_ALL=fi_FI.UTF-8; zsh -f)

no change :/

thanks,

t


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 13:05                 ` Timo Aaltonen
@ 2007-05-10 13:35                   ` Peter Stephenson
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Stephenson @ 2007-05-10 13:35 UTC (permalink / raw)
  To: Timo Aaltonen, zsh-workers

Timo Aaltonen <tjaalton@cc.hut.fi> wrote:
> > (unset LANG; unset -m 'LC_*'; export LC_ALL=fi_FI.UTF-8; zsh -f)

I'm now completely stuck.

It's looking like there are a whole lot of problems that aren't going to be
solved without debugging on problematic systems.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10  8:25 problems with 4.3.4 and Tru64 Timo Aaltonen
  2007-05-10  9:55 ` Peter Stephenson
@ 2007-05-10 17:55 ` Phil Pennock
  2007-05-10 19:24   ` Timo Aaltonen
  1 sibling, 1 reply; 22+ messages in thread
From: Phil Pennock @ 2007-05-10 17:55 UTC (permalink / raw)
  To: Timo Aaltonen; +Cc: zsh-workers

On 2007-05-10 at 11:25 +0300, Timo Aaltonen wrote:
>    I've compiled 4.3.4 on Tru64 5.1B and I can't type some characters with it 
>  (åäö being most useful for Finns), it only makes a beep. With 4.2.x/4.3.2 
>  it works, but since they are otherwise not that useful for UTF8 I had high 
>  hopes for the new release..
> 
>  Any ideas why that might be?

As a double-check to separate out input from shell handling, it'd be
good to see if you can compose and see the characters using
insert-compose-char.

  autoload insert-composed-char
  zle -N insert-composed-char
  bindkey '^Xk' insert-composed-char

(assuming here that you're using bash input bindings and are happy with
 <Ctrl-x><k> as being close to vim's insert-mode <Ctrl-k>)

This turns on digraph composition, similar to vim's digraphs or X11
Compose key.  To input the characters, type <Ctrl-x><k> followed by two
characters; you get å ä ö from the pairs: a0 a: o:

If these display fine, then multibyte is working and parts of zle are
working; the problem will be in input processing.  If these don't
display, then the problem's not in the input processing.

Thanks,
-Phil


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 17:55 ` Phil Pennock
@ 2007-05-10 19:24   ` Timo Aaltonen
  2007-05-10 22:26     ` Phil Pennock
  0 siblings, 1 reply; 22+ messages in thread
From: Timo Aaltonen @ 2007-05-10 19:24 UTC (permalink / raw)
  To: zsh-workers

On Thu, 10 May 2007, Phil Pennock wrote:

> If these display fine, then multibyte is working and parts of zle are
> working; the problem will be in input processing.  If these don't
> display, then the problem's not in the input processing.

Touche, that works!

Now, how to fix input processing?-)


t


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 19:24   ` Timo Aaltonen
@ 2007-05-10 22:26     ` Phil Pennock
  2007-05-11  9:28       ` Peter Stephenson
  0 siblings, 1 reply; 22+ messages in thread
From: Phil Pennock @ 2007-05-10 22:26 UTC (permalink / raw)
  To: zsh-workers

On 2007-05-10 at 22:24 +0300, Timo Aaltonen wrote:
>  On Thu, 10 May 2007, Phil Pennock wrote:

[ some very poorly worded stuff; more sleep good, fewer 9am meetings
  good ] 

> > If these display fine, then multibyte is working and parts of zle are
> > working; the problem will be in input processing.  If these don't
> > display, then the problem's not in the input processing.
> 
>  Touche, that works!
> 
>  Now, how to fix input processing?-)

For that, I've very idea.  I have so far steered clear of touching zle
and input processing on the "learn to walk before you try to run"
principle.

What I have noticed is that the configure tests for multibyte changed
between 4.3.2 and 4.3.4.  It might be helpful for those who _can_ debug
these if you can dig out config.log and config.h from both the 4.3.2 and
4.3.4 builds and put them on a webserver, posting the URLs here.  At a
_very_ brief look, it seems that there was a move to checking for
existence of the standardised API for widechar handling.

-Phil


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 22:26     ` Phil Pennock
@ 2007-05-11  9:28       ` Peter Stephenson
  2007-05-11 16:23         ` Jordan Breeding
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Stephenson @ 2007-05-11  9:28 UTC (permalink / raw)
  To: zsh-workers

Phil Pennock wrote:
> > > If these display fine, then multibyte is working and parts of zle are
> > > working; the problem will be in input processing.  If these don't
> > > display, then the problem's not in the input processing.
> > 
> >  Touche, that works!
> > 
> >  Now, how to fix input processing?-)

The fact they display doesn't tell you very much.  You also need to
check that once you've got them on the command line they behave like a
single character.  The easiest way is just to move the cursor and check
it doesn't go to far (which it will if doesn't recognise the two bytes
as a single character).

If that's really working, input processing is quite involved to check.
The key function for this is getrestchar() in Src/Zle/zle_main.c.  This
should recognise the first byte is an incomplete character and the
second byte completes it.  I don't think this an easy way to avoid
debugging the insides.

> What I have noticed is that the configure tests for multibyte changed
> between 4.3.2 and 4.3.4.  It might be helpful for those who _can_ debug
> these if you can dig out config.log and config.h from both the 4.3.2 and
> 4.3.4 builds and put them on a webserver, posting the URLs here.  At a
> _very_ brief look, it seems that there was a move to checking for
> existence of the standardised API for widechar handling.

I think we've already gone through this by showing that the multibyte
option is on by default.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-11  9:28       ` Peter Stephenson
@ 2007-05-11 16:23         ` Jordan Breeding
  2007-05-11 17:25           ` Jordan Breeding
  0 siblings, 1 reply; 22+ messages in thread
From: Jordan Breeding @ 2007-05-11 16:23 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

On Friday, May 11, 2007, at 04:29AM, "Peter Stephenson" <pws@csr.com> wrote:
>Phil Pennock wrote:
>> > > If these display fine, then multibyte is working and parts of zle are
>> > > working; the problem will be in input processing.  If these don't
>> > > display, then the problem's not in the input processing.
>> > 
>> >  Touche, that works!
>> > 
>> >  Now, how to fix input processing?-)
>
>The fact they display doesn't tell you very much.  You also need to
>check that once you've got them on the command line they behave like a
>single character.  The easiest way is just to move the cursor and check
>it doesn't go to far (which it will if doesn't recognise the two bytes
>as a single character).
>
>If that's really working, input processing is quite involved to check.
>The key function for this is getrestchar() in Src/Zle/zle_main.c.  This
>should recognise the first byte is an incomplete character and the
>second byte completes it.  I don't think this an easy way to avoid
>debugging the insides.
>

<snipped>

Hello,

I have been following this thread as it interests me since I have had trouble getting multibyte to work the way I would expect on OS X.  This thread inspired me to dig a little deeper since I can always see the characters, but with multibyte on echo/printf didn't seem to like the combined characters, and with multibyte off the line editor can't keep straight that it is one character.  I will file a bug report with Apple to turn on multibyte in zsh now since in zsh 4.3.4 it seems to work fine.  The other problems I was having were caused by preexec().  I had some print() statments in precmd() and preexec().  precmd() and chpwd() seem to have no effect on whether multibyte works or not, but this preexec():

preexec() {
  print -Pn "\e]2;%n@%m %0~ (%30>...>${1}%>>%)\a"
}

causes echo/print to misbehave.

My test case was to do `echo h<combined character>lp` where the combined character is either <option-u>e or <ctrl-x k>e:

with the preexec enabled I get:
<combined character>h<combined character>lp

as the output, without it it just echoes exactly what it should.  So I think for the most part my problems are solved now.  It would be nice to still be able to use preexec, but I assume that hopefully that bug can be fixed in the future.

Jordan


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-11 16:23         ` Jordan Breeding
@ 2007-05-11 17:25           ` Jordan Breeding
  2007-05-11 17:56             ` Peter Stephenson
  0 siblings, 1 reply; 22+ messages in thread
From: Jordan Breeding @ 2007-05-11 17:25 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

On Friday, May 11, 2007, at 11:24AM, "Jordan Breeding" <jordan.breeding@mac.com> wrote:
>On Friday, May 11, 2007, at 04:29AM, "Peter Stephenson" <pws@csr.com> wrote:
>>Phil Pennock wrote:
>>> > > If these display fine, then multibyte is working and parts of zle are
>>> > > working; the problem will be in input processing.  If these don't
>>> > > display, then the problem's not in the input processing.
>>> > 
>>> >  Touche, that works!
>>> > 
>>> >  Now, how to fix input processing?-)
>>
>>The fact they display doesn't tell you very much.  You also need to
>>check that once you've got them on the command line they behave like a
>>single character.  The easiest way is just to move the cursor and check
>>it doesn't go to far (which it will if doesn't recognise the two bytes
>>as a single character).
>>
>>If that's really working, input processing is quite involved to check.
>>The key function for this is getrestchar() in Src/Zle/zle_main.c.  This
>>should recognise the first byte is an incomplete character and the
>>second byte completes it.  I don't think this an easy way to avoid
>>debugging the insides.
>>
>
><snipped>
>
>Hello,
>
>I have been following this thread as it interests me since I have had trouble getting multibyte to work the way I would expect on OS X.  This thread inspired me to dig a little deeper since I can always see the characters, but with multibyte on echo/printf didn't seem to like the combined characters, and with multibyte off the line editor can't keep straight that it is one character.  I will file a bug report with Apple to turn on multibyte in zsh now since in zsh 4.3.4 it seems to work fine.  The other problems I was having were caused by preexec().  I had some print() statments in precmd() and preexec().  precmd() and chpwd() seem to have no effect on whether multibyte works or not, but this preexec():
>
>preexec() {
>  print -Pn "\e]2;%n@%m %0~ (%30>...>${1}%>>%)\a"
>}
>
>causes echo/print to misbehave.
>
>My test case was to do `echo h<combined character>lp` where the combined character is either <option-u>e or <ctrl-x k>e:
>
>with the preexec enabled I get:
><combined character>h<combined character>lp
>
>as the output, without it it just echoes exactly what it should.  So I think for the most part my problems are solved now.  It would be nice to still be able to use preexec, but I assume that hopefully that bug can be fixed in the future.
>
>Jordan
>
>

Sorry to reply to myself, but I just paid a little bit more attention and I figured out something else interesting.  The extra characters that appear in the Terminal itself just before the output from echo are the multibyte characters only, which are missing from the ${1} being inserted into the Terminal title.  This part seems to be OS X (Terminal.app) specific, as if I use zsh through a remote Terminal the behaviour will differ (putty will display h<character><character>lp in the title which I am assuming are just the bytes that it is seeing).  Anyway, I will probably just not use preexec() anymore for now.  Is there are way to display multibyte characters as the base singlebyte character for the preexec string?  Or possible just replace multibyte characters with "?" or something, just so my preexec would at least partially work?

Thanks,
Jordan


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-11 17:25           ` Jordan Breeding
@ 2007-05-11 17:56             ` Peter Stephenson
  2007-05-11 18:42               ` Jordan Breeding
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Stephenson @ 2007-05-11 17:56 UTC (permalink / raw)
  To: zsh-workers

Jordan Breeding <jordan.breeding@mac.com> wrote:
> Sorry to reply to myself, but I just paid a little bit more attention
> and I figured out something else interesting.  The extra characters
> that appear in the Terminal itself just before the output from echo
> are the multibyte characters only, which are missing from the ${1}
> being inserted into the Terminal title.  This part seems to be OS X
> (Terminal.app) specific, as if I use zsh through a remote Terminal
> the behaviour will differ (putty will display
> h<character><character>lp in the title which I am assuming are just
> the bytes that it is seeing).  Anyway, I will probably just not use
> preexec() anymore for now.  Is there are way to display multibyte
> characters as the base singlebyte character for the preexec string?
> Or possible just replace multibyte characters with "?" or something,
> just so my preexec would at least partially work?

I'm glad things are working better... I'd be happy to put any generic
workarounds in the shell itself, but it's probably too difficult for
a terminal-specific problem, if that's what this is.

As for detecting multibyte characters:  presumably all characters with
codes over 127 are going to be multibyte, so it is possible to detect
such a string:

% foo="ä"
% print $(( #foo ))

228

However, this just tests the first character; you'd have to loop over the
entire string to do it which is a bit of a nuisance:

  local line=${(%):-'\e]2;%n@%m %0~ (%30>...>'${1}'%>>%)\a'} char
  local -a arr
  arr=(${(s..)line})
  integer i
  for (( i = 1; i <= ${#arr}; i++)); do
    char=${arr[i]}
    (( #char > 127 )) && arr[i]="?"
  done
  print -n ${(j..)arr}

(I did test this.)  I wonder if the shell is misinterpreting codes within
the ${1} in

  print -Pn "\e]2;%n@%m %0~ (%30>...>${1}%>>%)\a"

?  If you just do print -P "<string>" from the command line with
what was in ${1} does everything look OK?  (This is rather a long shot;
I don't see how the shell could misplace characters like that, but
it might be getting the handling of characters sufficiently wrong
that the terminal driver is getting confused.)

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-11 17:56             ` Peter Stephenson
@ 2007-05-11 18:42               ` Jordan Breeding
  0 siblings, 0 replies; 22+ messages in thread
From: Jordan Breeding @ 2007-05-11 18:42 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

On Friday, May 11, 2007, at 12:56PM, "Peter Stephenson" <pws@csr.com> wrote:
>Jordan Breeding <jordan.breeding@mac.com> wrote:
>> Sorry to reply to myself, but I just paid a little bit more attention
>> and I figured out something else interesting.  The extra characters
>> that appear in the Terminal itself just before the output from echo
>> are the multibyte characters only, which are missing from the ${1}
>> being inserted into the Terminal title.  This part seems to be OS X
>> (Terminal.app) specific, as if I use zsh through a remote Terminal
>> the behaviour will differ (putty will display
>> h<character><character>lp in the title which I am assuming are just
>> the bytes that it is seeing).  Anyway, I will probably just not use
>> preexec() anymore for now.  Is there are way to display multibyte
>> characters as the base singlebyte character for the preexec string?
>> Or possible just replace multibyte characters with "?" or something,
>> just so my preexec would at least partially work?
>
>I'm glad things are working better... I'd be happy to put any generic
>workarounds in the shell itself, but it's probably too difficult for
>a terminal-specific problem, if that's what this is.
>
>As for detecting multibyte characters:  presumably all characters with
>codes over 127 are going to be multibyte, so it is possible to detect
>such a string:
>
>% foo="ä"
>% print $(( #foo ))
>
>228
>
>However, this just tests the first character; you'd have to loop over the
>entire string to do it which is a bit of a nuisance:
>
>  local line=${(%):-'\e]2;%n@%m %0~ (%30>...>'${1}'%>>%)\a'} char
>  local -a arr
>  arr=(${(s..)line})
>  integer i
>  for (( i = 1; i <= ${#arr}; i++)); do
>    char=${arr[i]}
>    (( #char > 127 )) && arr[i]="?"
>  done
>  print -n ${(j..)arr}
>
>(I did test this.)  I wonder if the shell is misinterpreting codes within
>the ${1} in
>
>  print -Pn "\e]2;%n@%m %0~ (%30>...>${1}%>>%)\a"
>
>?  If you just do print -P "<string>" from the command line with
>what was in ${1} does everything look OK?  (This is rather a long shot;
>I don't see how the shell could misplace characters like that, but
>it might be getting the handling of characters sufficiently wrong
>that the terminal driver is getting confused.)
>

Hmm, while it is kind of annoying to have to loop over the whole string, it isn't horrible, and it fixes the problems in both of my common terminals.  Also, I did your other test, ${1} is intact, so it definitely isn't the shell, it is the terminal programs.  Thanks for the help!

Jordan


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-10 11:30           ` Peter Stephenson
  2007-05-10 11:43             ` Timo Aaltonen
@ 2007-05-13 20:12             ` Peter Stephenson
  2007-05-13 23:43               ` Wayne Davison
  1 sibling, 1 reply; 22+ messages in thread
From: Peter Stephenson @ 2007-05-13 20:12 UTC (permalink / raw)
  To: zsh-workers

On Thu, 10 May 2007 12:30:39 +0100
Peter Stephenson <pws@csr.com> wrote:
> However, I think I've got somewhere with reproducing your original
> problem by using your locales:
> 
> LANG=C
> LC_COLLATE="C"
> LC_CTYPE=fi_FI.UTF-8
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_MESSAGES="C"
> LC_ALL=
> 
> This also fails to handle multibyte characters properly.
> (However, in my case the multibyte option is still set.)
> If I remove the LANG=C from that set, it starts working.  This
> is obviously a bug.

Unfortunately, this wasn't Timo's problem, but this fixes it anyway.

I'm assuming, at least, that setting one of the variables above to the
empty string should be equivalent to leaving it unset.  The rule for
setlocale() internally is that the empty string means "use the
environment variable", but that's meaninglessly self-referential here,
so I think the right thing to do is for the shell deliberately to let
the value of $LANG and (if appropriate) the LC_* categories show
through.

Index: Src/params.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/params.c,v
retrieving revision 1.124
diff -u -r1.124 params.c
--- Src/params.c	13 Apr 2007 11:54:17 -0000	1.124
+++ Src/params.c	13 May 2007 20:07:31 -0000
@@ -3414,10 +3414,21 @@
 {
     struct localename *ln;
 
+    /*
+     * Set the global locale to the value passed, but override
+     * this with any non-empty definitions for specific
+     * categories.
+     *
+     * We only use non-empty definitions because empty values aren't
+     * valid as locales; when passed to setlocale() they mean "use the
+     * environment variable", but if that's what we're setting the value
+     * from this is meaningless.  So just all $LANG to show through in
+     * that case.
+     */
     setlocale(LC_ALL, x ? x : "");
     queue_signals();
     for (ln = lc_names; ln->name; ln++)
-	if ((x = getsparam(ln->name)))
+	if ((x = getsparam(ln->name)) && *x)
 	    setlocale(ln->category, x);
     unqueue_signals();
 }
@@ -3427,10 +3438,18 @@
 lc_allsetfn(Param pm, char *x)
 {
     strsetfn(pm, x);
-    if (!x) {
-	queue_signals();
-	setlang(getsparam("LANG"));
-	unqueue_signals();
+    /*
+     * Treat an empty LC_ALL the same as an unset one,
+     * namely by using LANG as the default locale but overriding
+     * that with any LC_* that are set.
+     */
+    if (!x || !*x) {
+	x = getsparam("LANG");
+	if (x && *x) {
+	    queue_signals();
+	    setlang(x);
+	    unqueue_signals();
+	}
     }
     else
 	setlocale(LC_ALL, x);
@@ -3448,18 +3467,27 @@
 void
 lcsetfn(Param pm, char *x)
 {
+    char *x2;
     struct localename *ln;
 
     strsetfn(pm, x);
-    if (getsparam("LC_ALL"))
+    if ((x2 = getsparam("LC_ALL")) && *x)
 	return;
     queue_signals();
-    if (!x)
+    /* Treat empty LC_* the same as unset. */
+    if (!x || !*x)
 	x = getsparam("LANG");
 
-    for (ln = lc_names; ln->name; ln++)
-	if (!strcmp(ln->name, pm->node.nam))
-	    setlocale(ln->category, x ? x : "");
+    /*
+     * If we've got no non-empty string at this
+     * point (after checking $LANG, too),
+     * we shouldn't bother setting anything.
+     */
+    if (x && *x) {
+	for (ln = lc_names; ln->name; ln++)
+	    if (!strcmp(ln->name, pm->node.nam))
+		setlocale(ln->category, x);
+    }
     unqueue_signals();
 }
 #endif /* USE_LOCALE */

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: problems with 4.3.4 and Tru64
  2007-05-13 20:12             ` Peter Stephenson
@ 2007-05-13 23:43               ` Wayne Davison
  0 siblings, 0 replies; 22+ messages in thread
From: Wayne Davison @ 2007-05-13 23:43 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

On Sun, May 13, 2007 at 09:12:52PM +0100, Peter Stephenson wrote:
> -    if (getsparam("LC_ALL"))
> +    if ((x2 = getsparam("LC_ALL")) && *x)

I believe you meant to use "*x2" there.

..wayne..


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-05-13 23:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-10  8:25 problems with 4.3.4 and Tru64 Timo Aaltonen
2007-05-10  9:55 ` Peter Stephenson
2007-05-10 10:05   ` Peter Stephenson
2007-05-10 10:06   ` Timo Aaltonen
2007-05-10 10:15     ` Timo Aaltonen
2007-05-10 10:30       ` Peter Stephenson
2007-05-10 11:03         ` Timo Aaltonen
2007-05-10 11:30           ` Peter Stephenson
2007-05-10 11:43             ` Timo Aaltonen
2007-05-10 11:55               ` Peter Stephenson
2007-05-10 13:05                 ` Timo Aaltonen
2007-05-10 13:35                   ` Peter Stephenson
2007-05-13 20:12             ` Peter Stephenson
2007-05-13 23:43               ` Wayne Davison
2007-05-10 17:55 ` Phil Pennock
2007-05-10 19:24   ` Timo Aaltonen
2007-05-10 22:26     ` Phil Pennock
2007-05-11  9:28       ` Peter Stephenson
2007-05-11 16:23         ` Jordan Breeding
2007-05-11 17:25           ` Jordan Breeding
2007-05-11 17:56             ` Peter Stephenson
2007-05-11 18:42               ` Jordan Breeding

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).