From owner-freebsd-ports Thu Jan 20 7:40: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A774514FC0 for ; Thu, 20 Jan 2000 07:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA93193; Thu, 20 Jan 2000 07:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from tsunami.waterspout.com (tsunami.waterspout.com [208.13.56.11]) by hub.freebsd.org (Postfix) with ESMTP id 1E9C314D42; Thu, 20 Jan 2000 07:34:56 -0800 (PST) (envelope-from ajk@tsunami.waterspout.com) Received: (from ajk@localhost) by tsunami.waterspout.com (8.9.3/8.9.2) id KAA89182; Thu, 20 Jan 2000 10:34:54 -0500 (EST) (envelope-from ajk) Message-Id: <200001201534.KAA89182@tsunami.waterspout.com> Date: Thu, 20 Jan 2000 10:34:54 -0500 (EST) From: ajk@waterspout.com Reply-To: ajk@waterspout.com To: FreeBSD-gnats-submit@freebsd.org Cc: ade@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16218: [PATCH] gnome-terminal incompatible with ispell Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16218 >Category: ports >Synopsis: [PATCH] gnome-terminal incompatible with ispell >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 20 07:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Andrew J. Korty >Release: FreeBSD 4.0-CURRENT i386 >Organization: Waterspout Communmications >Environment: FreeBSD tempest.waterspout.com 4.0-CURRENT FreeBSD 4.0-CURRENT #24: Sat Dec 4 08:11:45 EST 1999 root@tempest.waterspout.com:/usr/src/sys/compile/TEMPEST i386 >Description: Within gnome-terminal ispell locks up and starts beeping incessantly when it starts accepting tty input. >How-To-Repeat: Run ispell within gnome-terminal. >Fix: Unlike other terminal emulators, gnome-terminal initializes VMIN to 0 rather than 1. I don't fully understand why this concept, but setting VMIN to 1 (as in the following patch) fixes the problem. Of course "stty min 1" also works. I also took the liberty of setting sane deafults for the delayed suspend and status characters. --- gnome-pty-helper.c~ Wed Jan 19 17:51:43 2000 +++ gnome-pty-helper.c Wed Jan 19 17:50:44 2000 @@ -454,7 +454,7 @@ /* These two may overlap so set them first */ term.c_cc[VTIME] = 0; - term.c_cc[VMIN] = 0; + term.c_cc[VMIN] = 1; /* * Now set the characters. This is of course a religious matter @@ -484,6 +484,9 @@ #ifdef VREPRINT term.c_cc[VREPRINT] = 'R'-64; #endif +#ifdef VSTATUS + term.c_cc[VDSUSP] = 'T'-64; +#endif #ifdef VDISCARD term.c_cc[VDISCARD] = 'O'-64; #endif @@ -492,6 +495,9 @@ #endif #ifdef VLNEXT term.c_cc[VLNEXT] = 'V'-64; +#endif +#ifdef VDSUSP + term.c_cc[VDSUSP] = 'Y'-64; #endif #ifdef VEOL2 term.c_cc[VEOL2] = 0; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message