From owner-svn-ports-all@freebsd.org Fri Sep 14 11:20:47 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C15110AAD44; Fri, 14 Sep 2018 11:20:47 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B56FB7DB5B; Fri, 14 Sep 2018 11:20:46 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B05F523B32; Fri, 14 Sep 2018 11:20:46 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8EBKkGp096131; Fri, 14 Sep 2018 11:20:46 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8EBKk4n096128; Fri, 14 Sep 2018 11:20:46 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201809141120.w8EBKk4n096128@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Fri, 14 Sep 2018 11:20:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479768 - in head/editors/nano: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danilo X-SVN-Commit-Paths: in head/editors/nano: . files X-SVN-Commit-Revision: 479768 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 11:20:47 -0000 Author: danilo Date: Fri Sep 14 11:20:45 2018 New Revision: 479768 URL: https://svnweb.freebsd.org/changeset/ports/479768 Log: - Fix a misbinding of When curses gives no code for Ctrl+Shift+Delete, do not fall back to KEY_BACKSPACE, because then ^H and/or get bound to 'cutwordleft'. This fixes https://savannah.gnu.org/bugs/?54642. Bug was introduced with version 3.0, commit e6429e78. Reported by: eadler Added: head/editors/nano/files/ head/editors/nano/files/patch-src_nano.c (contents, props changed) head/editors/nano/files/patch-src_nano.h (contents, props changed) Modified: head/editors/nano/Makefile Modified: head/editors/nano/Makefile ============================================================================== --- head/editors/nano/Makefile Fri Sep 14 10:30:30 2018 (r479767) +++ head/editors/nano/Makefile Fri Sep 14 11:20:45 2018 (r479768) @@ -3,6 +3,7 @@ PORTNAME= nano PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU Added: head/editors/nano/files/patch-src_nano.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/nano/files/patch-src_nano.c Fri Sep 14 11:20:45 2018 (r479768) @@ -0,0 +1,11 @@ +--- src/nano.c.orig 2018-09-14 11:02:24 UTC ++++ src/nano.c +@@ -2580,7 +2580,7 @@ int main(int argc, char **argv) + controlhome = get_keycode("kHOM5", CONTROL_HOME); + controlend = get_keycode("kEND5", CONTROL_END); + controldelete = get_keycode("kDC5", CONTROL_DELETE); +- controlshiftdelete = get_keycode("kDC6", KEY_BACKSPACE); ++ controlshiftdelete = get_keycode("kDC6", CONTROL_SHIFT_DELETE); + #ifndef NANO_TINY + /* Ask for the codes for Shift+Control+Left/Right/Up/Down. */ + shiftcontrolleft = get_keycode("kLFT6", SHIFT_CONTROL_LEFT); Added: head/editors/nano/files/patch-src_nano.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/nano/files/patch-src_nano.h Fri Sep 14 11:20:45 2018 (r479768) @@ -0,0 +1,10 @@ +--- src/nano.h.orig 2018-09-14 11:02:29 UTC ++++ src/nano.h +@@ -588,6 +588,7 @@ enum + #define SHIFT_CONTROL_DOWN 0x414 + #define SHIFT_CONTROL_HOME 0x415 + #define SHIFT_CONTROL_END 0x416 ++#define CONTROL_SHIFT_DELETE 0x417 + #define ALT_LEFT 0x421 + #define ALT_RIGHT 0x422 + #define ALT_UP 0x423