pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/37133 (Updates editors/nano from 1.2.5 to 2.0.6)



The following reply was made to PR pkg/37133; it has been noted by GNATS.

From: OBATA Akio <obache%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, Jason White 
<jdw-pkgsrc%menelos.com@localhost>
Cc: 
Subject: Re: pkg/37133 (Updates editors/nano from 1.2.5 to 2.0.6)
Date: Tue, 23 Oct 2007 22:56:20 +0900

 --==========209D74F42C934E8C4A90==========
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 
 
 --On 2007/10/16 2:55 +0000 Jason White <jdw-pkgsrc%menelos.com@localhost> 
wrote:
 
 >    Not with nano 2.* it doesn't.  Control-c, control-\ either aren't
 > caught or   are only caught once; control-a, control-e commands either
 > don't work, only   work once, or in the case of control-{a,e}, the cursor
 > is logically moved to   the beginning/end of the line, but the on-screen
 > cursor doesn't move. It's   a real mess and utterly unusable with stock
 > curses.
 
 Would you try an attached patch? It should fix problems with NetBSD's 
 curses.
 On my NetBSD 4.0_RC2, seems fine.
 
 -- 
 "Of cource I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 --==========209D74F42C934E8C4A90==========
 Content-Type: text/plain; charset=us-ascii; name=patch-aa; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 $NetBSD$
 
 --- src/nano.c.orig    2007-01-12 02:58:12.000000000 +0000
 +++ src/nano.c
 @@ -1280,6 +1280,7 @@ void terminal_init(void)
        cbreak();
        nonl();
        noecho();
 +      raw();
        disable_extended_io();
        disable_signals();
        if (!ISSET(PRESERVE))
 @@ -2230,6 +2231,7 @@ int main(int argc, char **argv)
 
        /* Make sure the cursor is in the edit window. */
        reset_cursor();
 +      wrefresh(edit);
 
  #ifndef NANO_TINY
        if (!jump_buf_main) {
 
 --==========209D74F42C934E8C4A90==========--
 
 



Home | Main Index | Thread Index | Old Index