[Touch-packages] [Bug 1045062] Re: No option to save without BOM (Byte Order Mark)

2020-07-06 Thread Benno Schulenberg
Thomas? Nano does not add a BOM to any file. If you want to know whether any file contains a BOM, you can start nano with the +1 cursor- positioning directive (like so: nano +1 thefilename) and then type . If the upper right corner then says "Modified", an invisible character (most likely a

[Touch-packages] [Bug 1870850] Re: Multi-line paste broken between kitty and nano 4.8 [focal]

2020-04-05 Thread Benno Schulenberg
Thanks for the feedback. It's good to know that it works. (And sorry about having had to replace \r with CR_CODE in the patch -- I hadn't checked whether it applied cleanly to 4.8.) When going to make a sync exception, then better wait for 4.9.2 which will come out in two days: it fixes a crash

[Touch-packages] [Bug 1870850] Re: Multi-line paste broken between kitty and nano 4.8 [focal]

2020-04-05 Thread Benno Schulenberg
Please try the attached patch. Then please report back whether it fixes the issue for you. ** Patch added: "upstream patch to accept LF in a bracketed paste"

[Touch-packages] [Bug 1866820] [NEW] crash in nano-4.8 when typing ^6 ^J [patch]

2020-03-10 Thread Benno Schulenberg
Public bug reported: Nanos since version 4.0 contain a silly oversight: when the user tries to justify an empty region (with ^6 ^J, or similar), nano crashes. Attached upstream patch fixes the problem. Please apply to Focal before it is released. ** Affects: nano (Ubuntu) Importance:

[Touch-packages] [Bug 1858293] Re: Missing repeated characters

2020-01-07 Thread Benno Schulenberg
Thanks for confirming that the problem was caused by using an older Putty. ** Summary changed: - Missing repeated characters + Missing repeated characters when using old Putty [resolved] ** Changed in: nano (Ubuntu) Status: New => Invalid -- You received this bug notification because

[Touch-packages] [Bug 1858293] Re: Missing repeated characters

2020-01-06 Thread Benno Schulenberg
> write(1, "+-\33[7b+\33[25G", 12) = 12 This tells your terminal to draw a "+", followed by a "-" which should then be repeated seven more times (\33[7b), followed by a "+". So, nano (by way of ncurses) gives your terminal a correct sequence of codes to draw the stuff that should be drawn. But

[Touch-packages] [Bug 1853825] Re: ^W ^G ^X fails to redisplay the text being edited

2020-01-05 Thread Benno Schulenberg
Any chance that this patch can get released into Eoan? It is an upstream patch. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1853825 Title: ^W ^G ^X fails to redisplay

[Touch-packages] [Bug 1572807] Re: /bin/nano:*** Error in `nano': double free or corruption (!prev): ADDR ***

2020-01-05 Thread Benno Schulenberg
As the patch for bug #1641592 has been released to Xenial, it means that this bug has been fixed too. ** Changed in: nano (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano

[Touch-packages] [Bug 1858293] Re: Missing repeated characters

2020-01-05 Thread Benno Schulenberg
Thanks for reporting. Please answer the following questions. 1) From what kind of machine are you putty'ing into your Ubuntu 18.04 machines? 2) When putty'ed in, what is the output of 'env | grep TERM'? 3) When putty'ed in, please run 'strace -ewrite -s2000 /bin/nano --ignore 2>TRAIL', paste

[Touch-packages] [Bug 1853825] [NEW] ^W ^G ^X fails to redisplay the text being edited

2019-11-25 Thread Benno Schulenberg
Public bug reported: There is a silly display bug in nano-4.3 (https://savannah.gnu.org/bugs/?57295): when opening some file (for example, 'nano README') and typing the sequence Ctrl+W Ctrl+G Ctrl+X, the Search help text stays on the screen whereas the text of the README file should be

[Touch-packages] [Bug 1785475] Re: with LANG=C, fragments of lines get superimposed/intertwined when paging up and down

2018-08-26 Thread Benno Schulenberg
I've given you my IP address, but am unable to ssh into your server. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1785475 Title: with LANG=C, fragments of lines get

[Touch-packages] [Bug 1785475] Re: with LANG=C, fragments of lines get superimposed/intertwined when paging up and down

2018-08-12 Thread Benno Schulenberg
** Summary changed: - Scrolling in files gives display isues + with LANG=C, fragments of lines get superimposed/intertwined when paging up and down -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu.

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-12 Thread Benno Schulenberg
Hmmm... When the line containing "Minimum" and the second "vpn" line should 'overlap' when doing a single PageDown, then your terminal must have 61 rows (when using --ignorercfiles). But... when I alternately do a PageDown and a PageUp, and look how exactly those two lines would interweave, then

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-11 Thread Benno Schulenberg
The bug *seemingly* affects three people: the reporter (you), one person who was clearly a fake, and one other person "confirmed" it by clicking that he/she is affected too. But an anonymous person whom I can't ask questions doesn't count as confirmation for me. And most likely that anonymous

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-08 Thread Benno Schulenberg
Thanks for the files you sent via private email. However, I am unable to reproduce the effect that you see. Also, this report has *not* been confirmed. You are the only person who is seeing this effect -- or have only one machine that displays this behavior. I am suspecting an anomaly in your

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-07 Thread Benno Schulenberg
Dang. How hard is it to answer *all* questions? Provide the full output of 'locale' on the affected machine. ** Changed in: nano (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-07 Thread Benno Schulenberg
By the way: please delete your sockpuppet bastiaan82. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1785475 Title: Scrolling in files gives display isues Status in nano

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-06 Thread Benno Schulenberg
Please answer also the other questions: which terminal, and the full output of 'locale'. Further, did you fiddle with your system? Have you symlinked some libraries? Also, are you able to build nano from source? If so, please try building the latest 2.9.8, and see how it fares. -- You

[Touch-packages] [Bug 1785475] Re: Scrolling in files gives display isues

2018-08-05 Thread Benno Schulenberg
On which terminal emulator are you seeing this effect? What is the output of the 'locale' command? Can you attach the DNS zone file you were looking at? Can you search your system for a file that contains the word fragments "every", "fresh", "urs", "xpire" and "nimum"? Because it seems the zone

[Touch-packages] [Bug 1753724] Re: nano fails to redo a file insertion

2018-03-06 Thread Benno Schulenberg
** Tags added: artful bionic -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1753724 Title: nano fails to redo a file insertion Status in nano package in Ubuntu: New Bug

[Touch-packages] [Bug 1753724] [NEW] nano fails to redo a file insertion

2018-03-06 Thread Benno Schulenberg
Public bug reported: In Bionic Beaver (and in any nano between 2.8.0 and 2.9.3), trying to redo a file insertion can fail with the message: "[ Gone undo line -- please report a bug ]". To reproduce, run 'nano --ignore' and type: Ctrl+R /etc/issue Alt+U Alt+E Attached upstream patch fixes

[Touch-packages] [Bug 1710511] Re: nano crashed with SIGSEGV in get_sysdep_segment_value()

2018-02-18 Thread Benno Schulenberg
The crash was in libc (while looking up the translation of a string), not in nano itself. Could it be that you updated libc shortly before the crash? As this crash happened in an alpha release, and if you cannot reproduce it any more in 17.10 proper, I think this bug can be closed. -- You

[Touch-packages] [Bug 1667929] Re: package nano 2.5.3-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2017-06-26 Thread Benno Schulenberg
Jerome, for some reason I didn't see the message that said you posted the file. The file you posted looks entirely corrupt, being full of binary stuff. If you have also Pico itself installed (beside nano), the content of that file should look something like this: auto /usr/bin/pico pico.1.gz

[Touch-packages] [Bug 1698673] Re: package nano 2.5.3-2ubuntu2 failed to install/upgrade: пакет абсолютно неработоспособен; перед настройкой его следует переустановить

2017-06-26 Thread Benno Schulenberg
Denis, Could you give a rough translation of "пакет абсолютно неработоспособен; перед настройкой его следует переустановить"? Because I have no idea what it says there. Did you try installing the package again? Did it succeed the second time? -- You received this bug notification because you

[Touch-packages] [Bug 1667929] Re: package nano 2.5.3-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2017-02-25 Thread Benno Schulenberg
Please attach the file /var/lib/dpkg/alternatives/pico . -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1667929 Title: package nano 2.5.3-2ubuntu2 failed to install/upgrade:

[Touch-packages] [Bug 1650056] Re: /bin/nano:*** Error in `nano': munmap_chunk(): invalid pointer: ADDR ***

2017-02-07 Thread Benno Schulenberg
Thanks. Problem is the same as with bug #1641592: a long path that makes the prompt exceed 128 characters. So the patch attached to bug #1641592 should fix this crash too. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1650056] Re: /bin/nano:*** Error in `nano': munmap_chunk(): invalid pointer: ADDR ***

2017-02-05 Thread Benno Schulenberg
Brian? Can you show me the backtrace for this one too, please? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1650056 Title: /bin/nano:*** Error in `nano': munmap_chunk():

[Touch-packages] [Bug 1572807] Re: /bin/nano:*** Error in `nano': double free or corruption (!prev): ADDR ***

2017-02-05 Thread Benno Schulenberg
(Oh! For some reason I am not getting all of the bug mail from Launchpad. At least: I missed notifications about this bug.) Hm... It seems that free() on Ubuntu checks that nothing was written outside of the allocated space? Does malloc() put a "canary" at the tail? Anyway, I am pretty sure

[Touch-packages] [Bug 1650056] Re: /bin/nano:*** Error in `nano': munmap_chunk(): invalid pointer: ADDR ***

2016-12-15 Thread Benno Schulenberg
Why not apply the patch that I referred to in bug #1595607? It will solve the crashes. Why do you have this crash reporting system when you don't do anything with the reports? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1641592] Re: nano 2.5.3-2 on Xenial crashes with long paths on lockfiles

2016-11-14 Thread Benno Schulenberg
This is a duplicate of upstream bug https://savannah.gnu.org/bugs/?47511 . The problem was fixed in git, commit fb9585e. See attached patch. The fix is in version 2.6.0 and higher. Thanks for reporting. ** Bug watch added: GNU Savannah Bug Tracker #47511 http://savannah.gnu.org/bugs/?47511

[Touch-packages] [Bug 1637950] [NEW] nano HEAD is stuck in the year 2006

2016-10-31 Thread Benno Schulenberg
Public bug reported: On https://launchpad.net/nano/head both the timeline and the Downloads say that the last release of nano is 1.9.99pre3 from October 2006. But the last release is 2.7.1 from a few days ago. Please adjust things so that the timeline and the Downloads show also the most recent

[Touch-packages] [Bug 1522598] Re: nano crashes when resizing terminal

2016-09-02 Thread Benno Schulenberg
The problem has finally been fixed in nano-2.7.0. Thanks for reporting, and for your patience. ** Changed in: nano (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-07-08 Thread Benno Schulenberg
** Changed in: nano (Ubuntu) Status: Incomplete => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1539627 Title: Buffer underflow in nano

[Touch-packages] [Bug 1320461] Re: keybindings do not work when opening multiple files

2016-07-08 Thread Benno Schulenberg
** Changed in: nano (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1320461 Title: keybindings do not work when opening

[Touch-packages] [Bug 1569964] Re: On the console block characters are shown instead of pretty quotes

2016-07-08 Thread Benno Schulenberg
See https://bugs.launchpad.net/ubuntu/+source/console- setup/+bug/657551/comments/23 . The recipe more explicitly: sudo cp /usr/share/consolefonts/Uni2-Fixed16.psf.gz /etc/console-setup/ sudo gunzip etc/console-setup/Uni2-Fixed16.psf.gz sudo sed -i 's:^CODESET=.*:CODESET="Uni2":'

[Touch-packages] [Bug 1522598] Re: nano crashes when resizing terminal

2016-07-08 Thread Benno Schulenberg
In fact, it isn't fixed. It just happened that on my two machines I use VTE-based terminals, and somehow they don't allow the window to be made smaller than four columns. But xterm allows reducing the window to just one column -- and with anything less than four columns, nano goes down. Nano

[Touch-packages] [Bug 1522598] Re: nano crashes when resizing terminal

2016-07-08 Thread Benno Schulenberg
** Changed in: nano (Ubuntu) Status: Fix Committed => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1522598 Title: nano crashes when resizing terminal

[Touch-packages] [Bug 1595607] Re: /bin/nano:*** Error in `nano': free(): invalid next size (normal): ADDR ***

2016-06-25 Thread Benno Schulenberg
I am quite willing to work on this issue, but... don't make me jump through hoops just to see the crash report. (Take an example from Fedora, where such reports are freely accessible (for example, https://retrace.fedoraproject.org/faf/reports/1181921/). I don't need heaps of information -- a

[Touch-packages] [Bug 1572807] Re: /bin/nano:*** Error in `nano': double free or corruption (!prev): ADDR ***

2016-04-22 Thread Benno Schulenberg
I am logged in on Launchpad, why must I log in again (on Ubuntu One) to access the above information? I do not want to log in again, nor create another account. Just give me the info about the problem. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1569964] Re: Malformed characters on the console with LANG=de_DE.UTF-8 are shown

2016-04-18 Thread Benno Schulenberg
I think this bug should instead be filed against the console, against the font it uses, not against each individual package that uses pretty quotes. Really, a modern font should be able to render “” and ‘’ and «» correctly, also on the console (VT). ** Summary changed: - Malformed characters on

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-04-16 Thread Benno Schulenberg
Thanks for confirming. Strangely, I was now able to reproduce the crash with your recipe on nano-2.4.2. I think it has been fixed since then by commit 8a06dfa on August 2 last year, which was a fix for a Debian bug [1], which went into 2.4.3 and later. [1]

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-04-13 Thread Benno Schulenberg
Ping? Bartłomiej? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1539627 Title: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV Status in nano package in

[Touch-packages] [Bug 1569964] Re: Malformed characters on the console with LANG=de_DE.UTF-8 are shown

2016-04-13 Thread Benno Schulenberg
Confirmed on an up-to-date Manjaro install, so it is not just an Ubuntu thing. And it's not just nano either, because when I do (in a Dutch locale) for example 'stty cols' (without giving a number), I get an error message that has those two block characters around cols. (On a console, that is.

[Touch-packages] [Bug 1569964] Re: Malformed characters on the console with LANG=de_DE.UTF-8 are shown

2016-04-13 Thread Benno Schulenberg
** Changed in: nano (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1569964 Title: Malformed characters on the console with

[Touch-packages] [Bug 1569964] Re: Malformed characters on the console with LANG=de_DE.UTF-8 are shown

2016-04-13 Thread Benno Schulenberg
Hm. Did earlier version of nano (for example, 2.2.6 on Lucid) not show these black squares around Nein? Because those pretty double quotes have been there in the German translation of nano since at least 2009. If not, did you maybe change the font that is used on the console? Or maybe Ubuntu

[Touch-packages] [Bug 1554660] Re: request for import-freeze exception for nano-2.5.3-2

2016-03-08 Thread Benno Schulenberg
Oh, forgot to say: it also has more complete translations. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1554660 Title: request for import-freeze exception for nano-2.5.3-2

[Touch-packages] [Bug 1554660] Re: request for import-freeze exception for nano-2.5.3-2

2016-03-08 Thread Benno Schulenberg
Fixes slowness in the file browser in big directories: * src/browser.c (do_browser, browser_refresh): Rebuild the file list only when necessary, not for each and every cursor movement. This fixes Savannah bug #47133. Fixes segfault when editing very large files: *

[Touch-packages] [Bug 1554660] [NEW] request for import-freeze exception for nano-2.5.3-2

2016-03-08 Thread Benno Schulenberg
Public bug reported: Nano-2.5.2 has an annoying bug: the cursor is visible in the help screens (^G) and in the file browser (^R ^T). Nano-2.5.3 fixes that. 2.5.3 also fixes two segfaults that can occur in rare situations (editing very large files, and certain errors in the nanorc file). It

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-02-25 Thread Benno Schulenberg
I don't use Ubuntu's package; I only run nano built from source. This is what 'ldd /usr/local/bin/nano' says here: linux-gate.so.1 => (0x00d0b000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x005dc000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0011)

[Touch-packages] [Bug 1320461] Re: keybindings do not work when opening multiple files

2016-02-25 Thread Benno Schulenberg
It is fixed in Wily and Xenial. ** Changed in: nano (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1320461 Title: keybindings

[Touch-packages] [Bug 1522598] Re: nano crashes when resizing terminal

2016-02-25 Thread Benno Schulenberg
It is fixed in Wily and Xenial. ** Changed in: nano (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1522598 Title: nano crashes

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-02-25 Thread Benno Schulenberg
Waiting for the info requested in comment #2. ** Changed in: nano (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1539627 Title:

[Touch-packages] [Bug 1535478] Re: Nano search History destroyed

2016-02-06 Thread Benno Schulenberg
Okay. So most likely the history file becoming inaccessible was not caused by a bug or misfeature in nano, but by the same cause that made your Ubuntu install stop working. Closing this as invalid as there is no way to verify anything any more. ** Changed in: nano (Ubuntu) Status: New

[Touch-packages] [Bug 1539627] Re: Buffer underflow in nano 2.4.2-1ubuntu0.1 causes SIGSEGV

2016-01-29 Thread Benno Schulenberg
When I follow your recipe (touch .the_test.swp; nano the_test), I don't get a segfault but just an error message on the status bar: [ Error reading lock file ./.the_test.swp: Not enough data read ] Please try the command 'nano --ignore --locking the_test' instead (to test only the locking

[Touch-packages] [Bug 1522598] Re: nano crashes when resizing terminal

2016-01-22 Thread Benno Schulenberg
Thanks for the report. This bug has been fixed in nano-2.3.3 and newer. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1522598 Title: nano crashes when resizing terminal

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2016-01-22 Thread Benno Schulenberg
This has been addressed in nano's SVN, r5580. In version 2.5.2 and higher, nano will ignore $HOME when it is effectively running as root, and will therefore not create or change anything in the home directory of the user that invokes nano through a plain sudo. (It also means that it will not use

[Touch-packages] [Bug 1535478] Re: Nano search History destroyed

2016-01-19 Thread Benno Schulenberg
Sorry, for the first one I meant: ls -ld /home/sand/.nano -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1535478 Title: Nano search History destroyed Status in nano

[Touch-packages] [Bug 1535478] Re: Nano search History destroyed

2016-01-19 Thread Benno Schulenberg
Could you post the results of these two commands: ls -l /home/sand/.nano ls -l /home/sand/.nano/search_history -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1535478 Title:

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2015-11-17 Thread Benno Schulenberg
Anyone, what does 'grep -e storylog -e poslog /etc/nanorc' on Wily say? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1471459 Title: First run of nano creates a directory

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-08 Thread Benno Schulenberg
> I've got the same error. Then please click at the top of this page that you are affected too. > Could you please provide patch's URL You can find the patch somewhere on the right. But this is the direct URL:

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-06 Thread Benno Schulenberg
** Tags added: patch-accepted-upstream -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 Status in nano package in

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-05 Thread Benno Schulenberg
** Patch removed: "trims an overlong hostname instead of complaining" https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513012/+files/trim-long-hostname.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-05 Thread Benno Schulenberg
> but it is in the /etc/nanorc file Ubuntu sets 'locking' by default? What's the output of 'grep locking /etc/nanorc'? > files.c: In function ‘write_lockfile’: > files.c:149:6: error: label ‘free_and_fail’ used but not defined > goto free_and_fail; Ah. But then applying the patch should

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-05 Thread Benno Schulenberg
> ./configure: line 8316: syntax error near unexpected token `NCURSESW,' > ./configure: line 8316: ` PKG_CHECK_MODULES(NCURSESW, ncursesw,' Oh dear, autoconf stuff. Could you post your ./configure to nano-devel -- this error not directly related to this bug, so let's take it elsewhere. On that

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-05 Thread Benno Schulenberg
> The patch works! Thanks for testing. The patch will go into SVN soon, it will be in 2.4.3. But this newer version will not make it into Wily, so some Ubuntu maintainer will have to apply the attached patch to 2.4.2 and release an updated ubuntu version of nano-2.4.2. -- You received this

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-04 Thread Benno Schulenberg
Can you attach a strace of a run of 'nano --ignore' (without a filename)? Is your computer part of some network, does it need to ask the network about its hostname? What is the output of 'env | grep MALLOC'? -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-04 Thread Benno Schulenberg
Sorry, that was a silly request. What is needed of course is a strace of: 'nano --ignore --locking filename'. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title:

[Touch-packages] [Bug 1509081] Re: nano segfaults as root after upgrade to 15.10

2015-11-04 Thread Benno Schulenberg
> It worked before on 15.04 (and before), but broke upgrading to 15.10... Well, on 15.04 (nano-2.2.6), nano didn't have any file locking. > env | grep MALLOC returns nothing Good. > nano --ignore works fine... It should, because it ignores the 'set locking' that uou have in your .nanorc. As a

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2015-11-04 Thread Benno Schulenberg
Paul, when you temporarily move ~/.nano and ~/.nanorc to different names, does a run of 'sudo nano' then create a new ~/.nano? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu.

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2015-07-12 Thread Benno Schulenberg
It turns out that Ubuntu carries a patch for sudo that Debian doesn't: see keep_home_by_default.patch [1]. See also the changelog [2], somewhere in item 72. So I think one should ask the Ubuntu maintainer of sudo what the motivation for this patch is. And if there is no strong reason for it,

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2015-07-10 Thread Benno Schulenberg
For those affected by the bug, could you please paste the output of 'sudo sudo -V | head -1', and of 'sudo sudo -V | grep -e ve: -e HOME', and of 'sudo grep -v ^# /etc/sudoers'? Because if all things are at their defaults, the sudo of Wily shouldn't be preserving HOME but should be setting it to

[Touch-packages] [Bug 1471459] Re: First run of nano creates a directory in $HOME, if run as sudo will be root owned

2015-07-08 Thread Benno Schulenberg
Current nano (2.4.2) will only check for the existence of $HOME/.nano/ (and create it when it doesn't exist) when 'set historylog' or 'set poslog' are set in the $HOME/.nanorc file (or when the -H or -P options are used on the command line). But... when nano is used for the very first time (with

[Touch-packages] [Bug 1361131] Re: constantly flashing bright green while typing

2015-03-30 Thread Benno Schulenberg
Nano colours the things on the screen using just the regular expressions specified in the relevant syntax file. There is no way that these regexes can take the position of the cursor into account. (Well, not without a major and ugly patch, and that for just one special case.) So... unless you

[Touch-packages] [Bug 1361131] Re: constantly flashing bright green while typing

2015-03-28 Thread Benno Schulenberg
Code is inspected far more often than it is written, and when inspecting code, some people do want to be alerted to trailing whitespace. So that's why it is in several of the *.nanorc files. However, those files in /usr/share/nano are just examples -- they are meant to be customized by the user.

[Touch-packages] [Bug 1300565] Re: please syntax highlight debdiff files

2015-03-27 Thread Benno Schulenberg
Okay, fixed in SVN. It will work out of the box in nano 2.4.1 and higher. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/1300565 Title: please syntax highlight debdiff

[Touch-packages] [Bug 1300565] Re: please syntax highlight debdiff files

2015-03-26 Thread Benno Schulenberg
In reply to comment #4: If in /usr/share/nano/patch.nanorc you change the line that says syntax patch \.(patch|diff)$ to syntax patch \.(patch|diff|debdiff)$ -- that is, you add a |debdiff (without the quotes) -- and save the file (use sudo to edit it), do your debdiff files then get coloured the

[Touch-packages] [Bug 1320461] Re: keybindings do not work when opening multiple files

2015-03-25 Thread Benno Schulenberg
I can confirm this issue (the forgetting of an unbind) in version 2.2.6. It is no longer present in 2.4.0, which was recently released. It is, however, not an easy patch to backport. So with a little patience... you will be freed from this annoyance in a next version of Ubuntu. -- You received

[Touch-packages] [Bug 1361131] Re: constantly flashing bright green while typing

2015-03-25 Thread Benno Schulenberg
If the trailing-whitespace highlighting annoys you, you can edit /usr/share/nano/sh.nanorc and remove or comment out the line that says: color ,green [[:space:]]+$. Problem solved. (You will then probably want to do the same for the other *.nanorc files there.) -- You received this bug

[Touch-packages] [Bug 1300565] Re: please syntax highlight debdiff files

2015-03-25 Thread Benno Schulenberg
What's a debdiff file? Can you add an example? And would you want it to be coloured in the same manner as normal diff and patch files? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu.

[Touch-packages] [Bug 1045062] Re: No option to save without BOM (Byte Order Mark)

2015-03-25 Thread Benno Schulenberg
But nano can, just like those other editors, remove the invisible BOM: when on the first line of the file, press Home and Delete, and save, and the BOM is gone. Does this not work for you? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 481363] Re: Python syntax formatting incorrectly highlights syntax within quote blocks

2015-03-25 Thread Benno Schulenberg
This little problem has been solved in nano's SVN. It should appear in a future version (2.4.1). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to nano in Ubuntu. https://bugs.launchpad.net/bugs/481363 Title: Python syntax

[Touch-packages] [Bug 1300565] Re: please syntax highlight debdiff files

2015-03-25 Thread Benno Schulenberg
So if one saves the result of a debdiff as a 'name.diff' file, then opening it with nano should colour most things already in an appropriate and expected way, no? Or are there things missing that really should be coloured too? Could someone attach a sample file? -- You received this bug

[Touch-packages] [Bug 1299829] Re: keyboard for Bambara not usable : name in evdev.xml points to Malayalam.

2014-08-14 Thread Benno Schulenberg
Hello Jean-Jacques, Ehm... how to say this... The filename 'ml' for Bambara layouts is correct. The filenames in the symbols/ directory follow country codes, not language codes. See for example the files for Kenia and Tanzania (symbols/ke and symbols/tz) which both contains layouts for Swahili