Path: utzoo!attcan!seachg!jalsop From: jalsop@seachg.uucp (John Alsop) Newsgroups: comp.unix.programmer Subject: Re: Curses escape delay Keywords: Esc, Curses, delay Message-ID: <1990Nov5.142631.19331@seachg.uucp> Date: 5 Nov 90 14:26:31 GMT References: <557@hafro.is> Reply-To: jalsop@seachg.UUCP (John Alsop) Organization: Sea Change Corporation, Mississauga, Ontario, Canada Lines: 30 In article <557@hafro.is> heimir@hafro.is (Heimir Sverrisson) writes: :Hi, : :I'm having trouble with sending escape sequences over a SL/IP connection :to a remote application running on a Sun 4 with SunOS 4.1. ... : :When I'm connected remotely, my host tends to send the escape sequences as :separate packets for each character. This causes delay on the other end :long enough for curses to time out and consider the Esc as a separate :entity. I've tried to ungetch() the Esc but that does not help! :Btw the connection is on 19200 baud and the network is not loaded. : :There are at least three solutions to this problem: : : [stuff deleted] I ran into a similar problem using ACCELL/UNIFY over a local network. As a quick solution, I wrote a small filter to run on the target host which copied input characters until it saw the start of an escape sequence. It then waited until the rest of the sequence had arrived, before passing the full sequence as a single write. Ugly, but did the job. -- John Alsop Sea Change Corporation 6695 Millcreek Drive, Unit 8 Mississauga, Ontario, Canada L5N 5R8 Tel: 416-542-9484 Fax: 416-542-9479 UUCP: ...!uunet!attcan!seachg!jalsop