Imported Upstream version 2.3.1
[platform/upstream/nano.git] / BUGS
1 ** Open BUGS **
2
3 ** Fixed BUGS **
4 - Marked cutting sometimes leaves a newline in the file unintelligently,
5   such as when all of a line is selected but the mark doesn't proceed to
6   the new line. (8) [FIXED/IRRELEVANT]
7 - Certains are not lined up properly when there are tabs in them at 
8   certain col values. (9) [FIXED]
9 - edit_refresh() and update_line() do not handle selecting text when the
10   cursor is beyond COLS (10) [FIXED]
11 - No way to do a replace with the empty string (11) [FIXED, yay!]
12 - Spelling support is not elegant like Pico's integration of the 'spell'
13   program.  nano only uses ispell (for now) (12) [FIXED]
14 - Moving to the end of a line when close to a multiple of COLS and at
15   least COLS * 2 does not make the screen jump early like it would for
16   if we were around COLS (bugs in edit_refresh, update_line) (13)
17   [FIXED, mostly]
18 - When at the very bottom of the edit window, do_wrap() goes berserk and
19   puts the cursor somewhere bad; subsequent keystrokes crash the program
20   (14) [FIXED, mostly]
21 - Doing a replacement of a substring of the replace string (e.g.
22   replacing "ed" with "fred" causes an infinite loop). (15) [FIXED]
23 - Cutting a file with marked text and both marker ends on the same line
24   causes a random segfault (16) [FIXED]
25 - Cutting more than one line resets the KEEP_CUTBUFFER flag in 0.9.3.
26   Error is in bitwise assignment (nano.h). (17) [FIXED]
27 - The wrapping code does not work right for lines like the following:
28  *                                                                     *
29   Error is in do_wrap, must be rewritten. (18) [FIXED]
30 - nano fails to follow symlinks, even though -l isn't being used (20).
31   [Bug in global flag init, FIXED]
32 - When using --help or --version, the SIGINT character gets lost. (21)
33   [FIXED]
34 - edit_refresh() and update_line() (and related functions) have 
35   trouble when a tab is the character that is the boundary at COLS (23)
36   [FIXED]
37 - There is an off-by-one error in keeping track of totsize.  It is
38   caused by the fact that we count the newline at the end when we read
39   in a file but we do not, in fact, display this newline.  This should
40   go away implicitly when the "Magic Line" returns, but it is noted here
41   for documentation's sake. (24) [FIXED]
42 - In replace with completely adjacent strings, every other search string
43   will be missed (try replace ':' in a string like ':::::::::') (28)
44   [FIXED]
45 - If nano opens a read-only file with the --tempfile option, and a
46   change is made to the buffer, and a write is attempted, nano will not
47   give you a dialog about not being able to write the file, and it will
48   not let the user exit (29, discovered by Joshua Jensen) [FIXED]
49 - Using nano -k, marked text is not cut properly. (31) [FIXED]
50 - Invoking -t or -k has the effect of invoking both options. (32)
51   [FIXED]
52 - totsize becomes incorrect after word-wrapping (25) [FIXED]
53 - Wrapping a line with autoindent mode sometimes causes a segfault (19)
54   [FIXED]
55 - When inserting files, the display sometimes fails to display properly
56   until a pageup/down occurs (22) [FIXED]
57 - In search/replace code, there is too much refreshing in bottomwin (26)
58   [FIXED]
59 - In replace, there is no way to accept the default replace string. (27)
60   [FIXED]
61 - Using nano -t, user can not exit until a filename is given via ^O.
62   (30) [FIXED]
63 - totsize problems still abound in do_justify (33) [FIXED]
64 - Using -k, cut text is not pasted properly. (34) [FIXED].
65 - Using -k, pasted text is not updated properly if it goes beyond
66   editbot. (35) [FIXED]
67 - Doing a cut with -k can screw up the filestruct; fault is in cutting
68   code. (36) [FIXED]
69 - Hitting enter on the magic line makes new lines, but they are not
70   written out to disk when saved..... (37). [FIXED]
71 - Page up and page down do not work the same way as in Pico (# of
72   lines). (38) [FIXED]
73 - When doing a search and the marker is set, the screen does not always
74   properly update the inverted text (39). [FIXED]
75 - Searches for a string that only exists on one line multiple times will
76   fail after finding the last occurrence (discovered by Ken Tyler) (40).
77   [FIXED]
78 - Meta-Z is currently broken to toggle suspend.  I guess I still don't
79   know signals very well =-) (41) [FIXED].
80 - Unable to cut the entire file using the marker (discovered by Ken
81   Tyler) (42). [FIXED]
82 - The keypad does not work when nano runs in the Gnome terminal (43).
83   [FIXED]
84 - When reading in a file, if the file is a directory, the contents of
85   the file being edited are blown away (discovered by  Chris Pimlot)
86   (44). [FIXED]
87 - In certain terms, nano will leave a "ghost" of screen upon exit when
88   called from inside mutt (among other settings) (45). [FIXED]
89 - In replace, hitting the Goto line shortcut key does nothing after a
90   search string is entered (discovered by Rocco Corsi) (46) [FIXED].
91 - When typing in a string in search or replace and hitting
92   CASE_SENSITIVE or the other search string, the current string edit is
93   blown away in favor of the last stored search (47) [FIXED]
94 - If nano fails to open a file when it starts up, doing almost anything
95   causes a segfault (discovered by Ben Roberts) (48). [FIXED]
96 - In certain terminals, nano would not work properly with keypad().
97   Turned out to be the silly timeout(0) call, which is completely
98   unneeded, anyway. (49) [FIXED]
99 - With less than a page of text, doing a page down will move the current
100   line to the top of the screen, which it shouldn't do. (50) [FIXED]
101 - With PDCurses, running Meta-X turns off the keypad. (51) [FIXED]
102 - Resizing the window completely screws up the display if in any other
103   mode than normal editing (help screen, search and replace, file
104   browser...) (52) [FIXED]
105 - Alt speller argument (-s, --speller) does not take a string argument
106   of more than one word. (53) [FIXED].
107 - Cut to end cutting (-k) causes segfaults (try cutting "- Backup making
108   (filename~)?" line in TODO file) (discovered by
109   higuita@cadernoverde.com) (54) [FIXED].
110 - When using autoindent (-i), wrapped text does not get autoindented
111   (55, discovered by Mark Senior) [FIXED].
112 - When using -R (regex) and -p (Pico mode), subsequent searches after
113   the first fail if no string is entered (56) [FIXED].
114 - Page down on a file of editwinrows fails (again). Reported by Ryan
115   Krebs (57) [FIXED].
116 - File browser aborts on Solaris in qsort() call. (Reported by Matthias
117   Andree) (58) [FIXED].
118 - Can modify the current file in view mode with ^W^R (discovered by
119   Rocco Corsi) (58) [FIXED].
120 - When page up is used after two page downs, the screen doesn't update
121   properly (discovered by David Lawrence Ramsey) (59) [FIXED].
122 - On BSD systems, marked cutting and paste often screws up the last line
123   in the cutbuffer (discovered by Barry Pederson) (60) [FIXED]
124 - Blank lines are not kept when cutting with -k (discovered by Rocco)
125   (61) [FIXED].
126 - nano will not suspend properly inside of mutt (62) [FIXED].
127 - When switching from Pico mode to normal mode, the previous search is
128   not displayed until cancelling the search (63) [FIXED].
129 - If you change search options but don't change the search string in
130   normal mode, hitting Enter causes the search/replace to abort (64)
131   (Jordi Mallach) [FIXED].
132 - Cutting one line of text causes the screen to recenter the line
133   (reported and fixed by David Lawrence Ramsey) (65) [FIXED].
134 - When cutting marked text including the bottom of the file, a new
135   "magic line" is not created" (reported by David Lawrence Ramsey, fixed
136   by David Lawrence Ramsey & Chris) (66) [FIXED].
137 - ^C does not work after a suspend in tcsh (discovered by Trevor Cordes)
138   (68) [FIXED].
139 - Home and End control keys (^A, ^E) do not always work in filename
140   prompt (bug found by Ian Turner) (69) [1.0 series only] [FIXED].
141 - Trying to insert a file of 0 bytes will hang nano (70) [FIXED].
142 - Meta-space and ^Space are not yet handled  in new backend code (77) [FIXED]
143 - F-keys do not work with new shortcut backend (72) [FIXED]
144 - Many menu items are probably missing from the new backend (73) [FIXED]
145 - Need a 'check-vitals-mapped' function to check that the end used didn't
146   unbind all the keys for exit or cancel before starting up the editor (74) [FIXED]
147 - Browser and prompt code still implement old switch on raw key input instead
148   of new if block for subnfunc values (75) [FIXED]
149 - New backend code probably does not compile under anything but default options, 
150   if that (76) [FIXED]
151 - -enable-tiny does not work with new code (78) [FIXED]
152 - If a user only binds meta sequences to a function like left, right
153   page up/down, insert, and unbinds all other control and F keys for it,
154   nano will do the wrong thing when reading the key which is normally
155   assigned to it (79 - may not be worth fixing) [FIXED]
156 - Segfault editing at COLS presumably due to new color syntax 
157   highlighting (80) [FIXED]
158 - Cutting the line at the top of the screen recenters to center (71) [FIXED]
159
160
161 $Id: BUGS 4439 2009-11-22 21:35:56Z astyanax $