From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 4 17:00:03 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 276A0106566C for ; Wed, 4 Apr 2012 17:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8E618FC14 for ; Wed, 4 Apr 2012 17:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q34H02Mv010655 for ; Wed, 4 Apr 2012 17:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q34H02EF010645; Wed, 4 Apr 2012 17:00:02 GMT (envelope-from gnats) Resent-Date: Wed, 4 Apr 2012 17:00:02 GMT Resent-Message-Id: <201204041700.q34H02EF010645@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Fromme Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 515421065670 for ; Wed, 4 Apr 2012 16:59:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id BED9E8FC16 for ; Wed, 4 Apr 2012 16:59:30 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id q34GxEeG004540; Wed, 4 Apr 2012 18:59:29 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q34GxDHv004539; Wed, 4 Apr 2012 18:59:13 +0200 (CEST) (envelope-from olli) Message-Id: <201204041659.q34GxDHv004539@lurza.secnetix.de> Date: Wed, 4 Apr 2012 18:59:13 +0200 (CEST) From: Oliver Fromme To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Oliver Fromme Subject: ports/166648: [x11/xterm] Add support for dabbrev-expand X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2012 17:00:03 -0000 >Number: 166648 >Category: ports >Synopsis: [x11/xterm] Add support for dabbrev-expand >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 04 17:00:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Fromme >Release: any >Organization: secnetix GmbH & Co. KG http://www.secnetix.de/bsd >Environment: n/a >Description: By default, xterm is not compiled with support for the dabbrev-expand function. (Please refer to the manual page to see what this does. It can be very useful. Basically, you can quickly expand words from the xterm window with a single keypress, without having to copy and paste it with the mouse.) >How-To-Repeat: Assign dabbrev-expand() to a key, as explained in the xterm(1) manual page, and try to use it. It doesn't work. >Fix: The patch below adds an option to the port that can be used to enable support for dabbrev-expand at compile- time. I chose to set the default for the new option to "on" because the function isn't bound to any key by default, so it shouldn't hurt anyone. However, if the port maintainer prefers to keep it off by default, that would be fine with me, too. I've tested this patch, mapped dabbrev-expand to a key (in my case the Insert key, though YMMV), and it works perfectly well. --- Makefile.old 2012-01-09 09:34:17.000000000 +0100 +++ Makefile 2012-04-04 18:40:25.000000000 +0200 @@ -26,7 +26,8 @@ 256_COLOR "enable 256-color support" off \ DEC_LOCATOR "enable DECterm Locator support" off \ PCRE "use PCRE for regular-expressions" off \ - GNOME "include gnome support for .desktop file" off + GNOME "include gnome support for .desktop file" off \ + DABBREV "enable support for dabbrev-expand" on CPPFLAGS+= -I${LOCALBASE}/include @@ -61,6 +62,10 @@ PLIST_SUB+= GNOME="@comment " .endif +.if defined(WITH_DABBREV) +CONFIGURE_ARGS+= --enable-dabbrev +.endif + MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1 .include >Release-Note: >Audit-Trail: >Unformatted: