From: "Seth Kurtzberg" <seth@cql.com>
To: "'Zsh hackers list'" <zsh-workers@sunsite.dk>
Subject: RE: PATCH: guess what this is about
Date: Mon, 29 Oct 2007 11:11:47 -0400 [thread overview]
Message-ID: <003c01c81a3e$067562f0$136028d0$@com> (raw)
In-Reply-To: <20071029121011.57e73b9a@news01>
-----Original Message-----
From: Peter Stephenson [mailto:pws@csr.com]
Sent: Monday, October 29, 2007 8:10 AM
To: Zsh hackers list
Subject: Re: PATCH: guess what this is about
On Mon, 29 Oct 2007 10:30:14 +0000
Peter Stephenson <pws@csr.com> wrote:
> I'm also having problems with borders and timeouts on the same system
> which I may look at at some point.
The problem with timeouts on Solaris 8 (which is rather antiquated anyway)
was they didn't get turned off. This fixes it, but it's a bit nasty, and
also it may mess up the settings in other windows, since the timeout is
supposed to be window-specific, so I'd rather not have to do it unless it's
absolutely necessary. In particularly it would be nice to test, so I'll
leave it out for a while.
It's really time I did something else.
Spending a lot of time on Solaris 8 does seem like a low return effort, but
lot's of people still use it.
Index: Src/Modules/curses.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/curses.c,v
retrieving revision 1.30
diff -u -r1.30 curses.c
--- Src/Modules/curses.c 29 Oct 2007 11:38:17 -0000 1.30
+++ Src/Modules/curses.c 29 Oct 2007 12:05:11 -0000
@@ -961,6 +961,15 @@
return 1;
}
+ if (to < 0) {
+ /*
+ * On Solaris turning a timeout off seems to be problematic.
+ * The following fixes it. It would nice to #ifdef, but
+ * it's a palaver to test for.
+ */
+ nocbreak();
+ cbreak();
+ }
wtimeout(w->win, to);
return 0;
}
--
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
next prev parent reply other threads:[~2007-10-29 15:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 10:30 PATCH: guess what this about Peter Stephenson
2007-10-29 12:10 ` PATCH: guess what this is about Peter Stephenson
2007-10-29 15:11 ` Seth Kurtzberg [this message]
2007-10-30 11:07 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003c01c81a3e$067562f0$136028d0$@com' \
--to=seth@cql.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).