[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris 11 info test suite problems
From: |
Gavin Smith |
Subject: |
Re: Solaris 11 info test suite problems |
Date: |
Fri, 5 Jun 2015 23:27:10 +0100 |
On 5 June 2015 at 17:50, Gavin Smith <address@hidden> wrote:
> I tried building the latest version on Solaris 11 on the OpenCSW build
> farm and got a single test failure (in index-apropos.sh). However in
> trying to fix it I found another problem, which is more serious -
> echoing in the terminal was disabled after I ran an interactive test
> (for example, info/t/tab.sh).
>
> I narrowed it down to the following shell script
>
> #!/bin/sh
>
> read -t 1 FINISHED
> echo obably >&2
The only reason
read -t 1
echo fgsgr
didn't break was, I think, because echo was a shell builtin. Running
any external program after read -t in a script messes up the terminal
settings.
Although the bug report appears to say that this only happens in a
UTF-8 locale, I found no way of stopping it by setting LANG, LC_ALL
etc. The best option, I think, is to run "stty sane" at the end.
According to the ksh93 change log on
http://www2.research.att.com/sw/download/, someone fixed this bug on
22-9-2011.
Re: Solaris 11 info test suite problems,
Gavin Smith <=