lp://qastaging/nano
- Get this branch:
- bzr branch lp://qastaging/nano
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/nano.git.
Last successful import was .
Updating branch...
Launchpad is processing new changes to this branch which will be available in a few minutes. Reload to see the changes.
Recent revisions
- 10193. By Benno Schulenberg
-
input: neutralize two spurious keycodes from VTE terminals
At least some of the VTE-based terminals claim to be compatible with
xterm-25color (and set TERM to that value). But they really aren't:
they mishandle the focus-in and focus-out events, for example. So,
catch and discard the corresponding keycodes that nano shouldn't be
seeing at all.This improves the fix for https:/
/savannah. gnu.org/ bugs/?64578. - 10191. By Andy Koppe <email address hidden>
-
rcfile: map the gray #rgb codes (#111 to #EEE) to the xterm grayscale
When the red, green and blue components of a three-digit hex #RGB code
are equal and they aren't #000 for black or #FFF for white, map them to
xterm-256color's 24-level grayscale ranging from index 232 to 255.This means that the 14 gray levels available in #RGB codes all map to
different tones, whereas previously they mapped to only the four gray
tones available in the 6x6x6 color cube.Signed-off-by: Andy Koppe <email address hidden>
- 10189. By Benno Schulenberg
-
input: intercept a spurious keycode and say what the actual problem is
Xfce Terminal sets TERM to xterm-256color even though it does not have
all the capabilities that an xterm has, leading it to misinterpret some
escape sequence and produce a spurious 0x24C key code.Intercept this mistaken key code and tell the user what is wrong.
This mitigates https:/
/savannah. gnu.org/ bugs/?64578.
Reported-by: Lawrence R. Steeger - 10188. By Benno Schulenberg
-
revert the previous commit -- forget about -? as a synonym for --help
An ambiguous option like --back or --word would cause nano to spew
the entire help text. It should do the latter only when the user
explicitly requests it. - 10187. By Mateusz Kazimierczuk <email address hidden>
-
options: add -? as a synonym of -h (--help)
The short option '-?' was removed nine years ago in commit 43019189,
then restored six years later in 5bd92d4c, and then removed again two
months later in 743100fe due to getopt() returning '?' for options
that aren't recognized, preventing the use of '-?' as a valid option.However, getopt() provides a way to check for unrecognized options
via the 'optopt' variable, which gets set only for invalid options.Signed-off-by: Mateusz Kazimierczuk <email address hidden>
Signed-off-by: Benno Schulenberg <email address hidden> - 10186. By Benno Schulenberg
-
browser: report an error instead of crashing when the folder disappears
When the directory that the user is browsing in is deleted by another
process at the moment that nano is building the list of file names,
this can result in an empty list, which some items in the main loop
in browse() cannot handle. Prevent this mishandling by not entering
the loop when the list is empty.This fixes https:/
/savannah. gnu.org/ bugs/?64465.
Reported-by: Jerry Meng <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)