zsh-workers
 help / color / mirror / code / Atom feed
* possible 3.1.4 bug - echotc
@ 1998-08-19 12:44 Paul Lew
  1998-08-19 13:54 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Lew @ 1998-08-19 12:44 UTC (permalink / raw)
  To: zsh-workers

Just found out echotc behave differently on 3.0.[35] and 3.1.4:

$ echotc so | od -c			 3.0.3, 3.0.5, 3.1.3
0000000  033   [   7   m
0000004

$ echotc so | od -c			 3.1.4
0000000    n   o  \n
0000003

Bug or feature?


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

* Re: possible 3.1.4 bug - echotc
  1998-08-19 12:44 possible 3.1.4 bug - echotc Paul Lew
@ 1998-08-19 13:54 ` Peter Stephenson
  1998-08-20 12:35   ` Paul Lew
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Stephenson @ 1998-08-19 13:54 UTC (permalink / raw)
  To: Zsh hackers list, Paul Lew

Paul Lew wrote:
> Just found out echotc behave differently on 3.0.[35] and 3.1.4:
> 
> $ echotc so | od -c			 3.0.3, 3.0.5, 3.1.3
> 0000000  033   [   7   m
> 0000004
> 
> $ echotc so | od -c			 3.1.4
> 0000000    n   o  \n
> 0000003
> 
> Bug or feature?

I've had problems with AIX, here, but judging from your domain, that's
not the problem.  If it's related... try searching for #ifndef
NCURSES_VERSION in Src/builtin.c, and changing it to #if 1.  If that
fixes it, we'll have to be more careful in testing for ncurses.

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 844536
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


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

* Re: possible 3.1.4 bug - echotc
  1998-08-19 13:54 ` Peter Stephenson
@ 1998-08-20 12:35   ` Paul Lew
  1998-08-20 13:01     ` Zefram
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Lew @ 1998-08-20 12:35 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Zsh hackers list

>>>>> "Peter" == Peter Stephenson <pws@ifh.de> writes:

    Peter> Paul Lew wrote:
    >> Just found out echotc behave differently on 3.0.[35] and 3.1.4:
    >> 
    >> $ echotc so | od -c			 3.0.3, 3.0.5, 3.1.3
    >> 0000000  033   [   7   m
    >> 0000004
    >> 
    >> $ echotc so | od -c			 3.1.4
    >> 0000000    n   o  \n
    >> 0000003
    >> 
    >> Bug or feature?

    Peter> I've had problems with AIX, here, but judging from your
    Peter> domain, that's not the problem.  If it's related... try
    Peter> searching for #ifndef NCURSES_VERSION in Src/builtin.c, and
    Peter> changing it to #if 1.  If that fixes it, we'll have to be
    Peter> more careful in testing for ncurses.

The above change fixes the echotc problem.  While doing this change, I
noticed a 'core' file in the root directory.  It is from 'conftest'.
which is generated by 'configure'.  Any trick to debug 'configure'?

I also got:

       zsh: bad math expression: unbalanced stack

when I tried the basic <TAB> on any directory.  I guess this might be
related to the conftest failure.

Thanks..

BTW, environment info:

zsh:		 3.1.4
OS:		 Digital UNIX 3.2c
Compiler:	 gcc -v
Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf3.2/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)


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

* Re: possible 3.1.4 bug - echotc
  1998-08-20 12:35   ` Paul Lew
@ 1998-08-20 13:01     ` Zefram
  0 siblings, 0 replies; 4+ messages in thread
From: Zefram @ 1998-08-20 13:01 UTC (permalink / raw)
  To: Paul Lew; +Cc: pws, zsh-workers

Paul Lew wrote:
>                                            While doing this change, I
>noticed a 'core' file in the root directory.  It is from 'conftest'.
>which is generated by 'configure'.  Any trick to debug 'configure'?

That's probably not a bug.  One of the configure tests is whether
tgetent() accepts a NULL pointer as the buffer argument.  The usual
behaviour if the answer is "no" is that one gets a segmentation fault
and conftest dumps core.  We should probably clean up the core file.

-zefram


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

end of thread, other threads:[~1998-08-20 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-19 12:44 possible 3.1.4 bug - echotc Paul Lew
1998-08-19 13:54 ` Peter Stephenson
1998-08-20 12:35   ` Paul Lew
1998-08-20 13:01     ` Zefram

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).