David Lawrence Ramsey
|
ad40fdba59
|
DLR: prototype overhaul, etc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1270 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-09-06 20:35:28 +00:00 |
David Lawrence Ramsey
|
0341b58c05
|
DLR: minor bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1264 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-08-21 16:10:37 +00:00 |
Chris Allegretta
|
d865da108f
|
DLR's latest and greatest
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-29 23:46:38 +00:00 |
Chris Allegretta
|
dffa207320
|
Everything from DB's patch that makes any sense to me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-24 01:02:26 +00:00 |
Chris Allegretta
|
1c5c338f95
|
Fix to parsing getopt args for -I/--ignorercfiles (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1239 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-23 00:33:07 +00:00 |
Chris Allegretta
|
cf287c87cd
|
More DLR updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1236 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-20 13:57:41 +00:00 |
Chris Allegretta
|
6df90f5787
|
DLR and DB fixes mega-merge
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1235 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-07-19 01:08:59 +00:00 |
David Lawrence Ramsey
|
5db0cdc4c9
|
Carl Drinkwater's backup patch, plus miscellaneous fixes by David
Benbennick and me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-06-28 22:45:14 +00:00 |
David Lawrence Ramsey
|
c5967551f6
|
Carl Drinkwater's titlebar spacing fixes, David Benbennick's help browser
fixes, and my regexp searching bug fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-06-21 03:20:06 +00:00 |
David Lawrence Ramsey
|
f21cd10a3f
|
DLR: latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-06-13 00:40:19 +00:00 |
Chris Allegretta
|
6232d6659f
|
DB's latest patch, minus one totsize--. Also fixed a < in help_init that should be <=
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1206 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-12 19:52:15 +00:00 |
Chris Allegretta
|
4dc03d5733
|
DLR's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1204 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-11 03:04:44 +00:00 |
Chris Allegretta
|
7c27be42d0
|
added an update_color, updated edit_add, i18ned a string and changed some getopt handlers in main to mallocstrcpy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-05 23:03:54 +00:00 |
Chris Allegretta
|
09900ff808
|
Global flag -Y, --syntax to specify the type on the command line, if there's no good filename regex to use. Global variable syntaxstr. Made some errors in the rc file less fatal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-05-04 04:23:30 +00:00 |
Chris Allegretta
|
dab017e786
|
- More cleanups with DISABLE flags, better free_shortcutage and free_toggle, and get rid of unnecessary variable decls with NANO_SMALL in shortcut_init() by David Benbennick
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1194 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-23 10:56:06 +00:00 |
Chris Allegretta
|
0547eb36c4
|
- General: - Change from read() and write() to file streams by Jay Carlson. Allows OS to implement read and write ahead rather than making us do it. Hopefully merged properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1192 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-22 23:52:34 +00:00 |
Chris Allegretta
|
f2387fbdf7
|
- Change to openfilestruct for multibuffer mode by DLR. New functions nano.c:make_new_opennode(), free_openfilestruct(), delete_opennode(), unlink_opennode(), splice_opennode(), new struct openfilestruct in nano.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1173 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-10 02:31:20 +00:00 |
Chris Allegretta
|
70feb4f8e5
|
Back that out, as it braks Linux :(
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1172 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-08 17:48:15 +00:00 |
Chris Allegretta
|
108ff58956
|
- FreeBSD compat. Remove KEY_DC from the delete shortcut in global.c:shortcut_init(), add case for 330 under nano.c:main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1171 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-08 17:44:10 +00:00 |
Chris Allegretta
|
7162e3d686
|
DB's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1170 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-04-06 05:02:14 +00:00 |
Chris Allegretta
|
77777d4c0d
|
Add David Benbennick's changes to open_pipe() and move it to nano.c, and add his nperror function
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1159 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 16:31:29 +00:00 |
Chris Allegretta
|
9b4055c4da
|
Bah, don't fix what isn't broken
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 16:00:59 +00:00 |
Chris Allegretta
|
6ca01b1cd8
|
- nano.c: - Move the termios things in main() up to signal_init(), where they should probably be anyway
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 15:38:17 +00:00 |
Chris Allegretta
|
8e207bf03f
|
- nano.c: - Move the termios things in main() up to signal_init(), where they should probably be anyway
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-29 15:31:54 +00:00 |
Chris Allegretta
|
f6cba64376
|
David's fixes for read_file and the assert stuff for renumber
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1147 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-26 13:05:54 +00:00 |
Chris Allegretta
|
f21f3fcc1e
|
- nano.c:do_int_speller() - Fix zombie processes and spelling buffer issues (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1143 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-25 03:26:27 +00:00 |
Chris Allegretta
|
cf1d812ccb
|
- nano.c:do_justify() - More fixes for indented justify (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1137 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-21 19:53:36 +00:00 |
Chris Allegretta
|
52c5a6ea48
|
External command code and fix for BUG #70
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1136 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-21 05:07:28 +00:00 |
Chris Allegretta
|
d1ec7b0287
|
Allow flags with args to be translatable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1123 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-09 20:05:26 +00:00 |
Chris Allegretta
|
b479c89594
|
- nano.c:help_init() - Various fixes and string changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1122 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-09 20:03:10 +00:00 |
Chris Allegretta
|
1f8394d4bc
|
Add newlines to gotodir help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1121 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-09 19:58:18 +00:00 |
Chris Allegretta
|
3fc5d5722c
|
- nano.c:usage() - Rewritten to encompass systems with and without GETOPT_LONG. New function print1opt does most of the dirty work, stops duplication of effort and eases translator's jobs. Also breaks all the current translations ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1119 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-09 18:51:58 +00:00 |
Chris Allegretta
|
97e6fe6331
|
- nano.c:usage() - Add -N to short format (no GETOPT_LONG) strings (noticed by Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1117 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-09 17:38:47 +00:00 |
Chris Allegretta
|
5902f9672d
|
- nano.c:help_init() - Capitalize Meta altkeys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1115 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-07 12:40:39 +00:00 |
Chris Allegretta
|
40ecbad296
|
NANO_SMALL issues
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-06 15:27:44 +00:00 |
Chris Allegretta
|
bef1297c6d
|
Type misalignments and mem leaks in renumber_all, do_justify and do_spell (Rocco & Steven Kneizys)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1108 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-06 03:30:40 +00:00 |
Chris Allegretta
|
46c1b9e344
|
nano.c:do_justify() - Don't continue to justify string if it's indented more (quoting wise) than the beginning of the justification
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1104 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-05 19:58:45 +00:00 |
Chris Allegretta
|
d4fa0d3904
|
justify_format(), do_justify() - Various fixes for starting blank spaces, spaces after punctuation, & segfault with quoting strings (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1103 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-05 19:55:55 +00:00 |
Chris Allegretta
|
6324530ec8
|
Minor fix for quote code, forgot to adjust null by qdepth
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1098 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-04 18:12:28 +00:00 |
Chris Allegretta
|
40639ddc0c
|
Fixed broken mouse handling with new shortcut setup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1095 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-04 12:25:34 +00:00 |
Chris Allegretta
|
309aa50fda
|
Fix typo and add man page
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1094 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-04 12:15:44 +00:00 |
Chris Allegretta
|
e4f940dbaa
|
- Preliminary quoting support for justify. New arg -Q, --quotestr, changes to do_justify(), global variable quotestr()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1092 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-03-03 22:36:36 +00:00 |
Chris Allegretta
|
f5de33a6ef
|
- Many malloc() cleanups and files.c tweaks by Steven Kneizys, new functions utils.c:free_shortcutage() (got to love that name\!) & free_toggles(), and big cleanup program thanks_for_all_the_fish() (originally thanks_for_the_memories()). Mods to shortcut_init() by Chris
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1085 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-27 04:14:16 +00:00 |
Chris Allegretta
|
48b06708ff
|
Multiple unnamed buffers allowed, multiple filename extensions on die_save_file(), more DLR fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1081 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-22 04:30:50 +00:00 |
Chris Allegretta
|
7e65d2f5ad
|
Get rid of unnecessary stuff in help_init() that was commented out
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1075 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-15 21:12:52 +00:00 |
Chris Allegretta
|
9caa193fe1
|
407 == ^z fix, get rid of unusaed variables
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1074 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-15 20:08:05 +00:00 |
Chris Allegretta
|
a8c225787b
|
DLR's patch merged, Static toggles and shortcut gone, lots of stuff changed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1073 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-15 19:17:02 +00:00 |
Chris Allegretta
|
f27c69703d
|
- winio.c:do_cursorpos() - Rewritten to show col place as well as charcter place, without needing an entirely separate flag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1067 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-02-12 01:57:24 +00:00 |
Chris Allegretta
|
14b3ca94b7
|
- General - New flag RELATIVECHARS to show column positino relative to the current line instead of the current file. New flag -C, --relative, changes to do_cursorpos()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1046 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-25 21:59:02 +00:00 |
Chris Allegretta
|
23b74b226e
|
- nano.c:do_int_spell_fix() - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1028 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-21 20:32:22 +00:00 |
Chris Allegretta
|
b2cd10d57c
|
- nano.c:do_char() - Run edit_refresh() if ENABLE_COLOR is defined so adding multi-liners will update (e.g. /* in C)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1027 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-20 00:54:42 +00:00 |
Jordi Mallach
|
5285ca9d0a
|
Show --enable-multibuffer independently of --enable-extra.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1015 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-17 12:40:33 +00:00 |
Chris Allegretta
|
438f713b3f
|
- nano.c:do_wrap() - Move right increment to part where new line is created, should change (fix?) some wrapping problems with autoindent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1004 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-16 00:54:47 +00:00 |
Rocco Corsi
|
562964dab3
|
Minor bracket alignment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1001 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-13 03:18:03 +00:00 |
Chris Allegretta
|
7b0667fa7a
|
- nano.c:do_suspend() - Call tcsetattr() to restore the old terminal settings, so tcsh can use ^C after suspend for example (fixes BUG #67)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@992 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-10 12:44:21 +00:00 |
Chris Allegretta
|
1bc0c7e047
|
- Better partial word checking code. New function search.c:is_whole_word(), changes to findnextstr(), and nano.c:do_int_spell_fix() (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@989 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-08 15:00:24 +00:00 |
Chris Allegretta
|
f7dee92189
|
main() alt val - 32 check fix, and shortcut_init() fix in global.c for hard coded values
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@986 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-07 16:43:25 +00:00 |
Jordi Mallach
|
345a8467ae
|
Fixed --keypad description.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@981 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-07 11:35:16 +00:00 |
Jordi Mallach
|
8ae5789447
|
Updated copyright notices to 2002.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@967 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-04 17:57:40 +00:00 |
Chris Allegretta
|
48bd37812b
|
- The keypad handling has changed (again). We now use the keypad() function by default. New flag -K, --keypad allows the old behavior for those using the keypad arrow keys and rxvt-based terminals
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@964 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-03 21:26:34 +00:00 |
Chris Allegretta
|
32da456ab0
|
DLR's latest patch: view+multibuffer, die() fixes, insert key fixes in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@961 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-02 15:12:21 +00:00 |
Chris Allegretta
|
180a569fdb
|
- nano.c:help_init() - Typo in file switch string (found by David Lawrence Ramsey). main() - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@960 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-02 14:30:33 +00:00 |
Chris Allegretta
|
13fd44bfe4
|
Get rid of \n in abort check of parse_next_word(), new var helplen in help_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@959 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2002-01-02 13:59:11 +00:00 |
Jordi Mallach
|
f4e572919d
|
Typo fix.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-12-26 00:16:40 +00:00 |
Chris Allegretta
|
0bb70dcda5
|
VDSUSP fix from 1.0 tree
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@931 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-12-17 04:34:23 +00:00 |
Chris Allegretta
|
9c23a44907
|
Remove some debug code and update to mutt's gettext.m4
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@922 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-12-12 01:45:01 +00:00 |
Chris Allegretta
|
8083827088
|
do_spell() - Dont prompt for replace if we don't change the word in question (Rocco Corsi).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@917 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-12-02 06:03:22 +00:00 |
Chris Allegretta
|
2084acc37d
|
At LONG last committed David's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-11-29 03:43:08 +00:00 |
Chris Allegretta
|
08893e08e3
|
Preliminary syntax highlighting support. New functions colortoint() and parse_color() in rcfile.c, new code in edit_add() in winio.c to actually do the highlighting. It's not even close to pretty yet :P
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@910 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-11-29 02:42:27 +00:00 |
Chris Allegretta
|
9b8b370132
|
Put 1.0 Hurd fixes in 1.1 tree (function keys, SIGTSTP sigaction
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@908 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-11-19 05:09:15 +00:00 |
Jordi Mallach
|
773623c066
|
Typo fixes in help strings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@896 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-28 21:00:49 +00:00 |
Chris Allegretta
|
7bf7274d9f
|
nano.c:main() - Add Esc-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@890 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-28 04:29:55 +00:00 |
Chris Allegretta
|
6d0aa9f3b7
|
More do_prev_word() fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@886 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-26 15:21:41 +00:00 |
Chris Allegretta
|
e59fc829d8
|
Okay, now fix do_prev_word so it doesn't crash when it hits a blank line, it's still not perfect =/
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@884 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 18:07:58 +00:00 |
Chris Allegretta
|
2cd72b6aa2
|
Back out off by one fix that's not actually off by one, it was a different bug :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@878 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 17:25:36 +00:00 |
Chris Allegretta
|
3a24f3f780
|
Changed header comments to say "version 2" instead of "version 1" as the COPYING file is actually version 2 of the GPL (bug noticed by Jordi Mallach)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 11:33:54 +00:00 |
Chris Allegretta
|
48ebb81fb2
|
nano.c:main() - Fixed off by one when checking for MAIN_LIST_LEN. Ugh.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 01:34:15 +00:00 |
Chris Allegretta
|
abf22a8fb2
|
- nano.c: - Added the #ifdefs around do_prev_word the code in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@870 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-24 00:58:19 +00:00 |
Chris Allegretta
|
fa0c6963ce
|
Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again, this was causing nasty errors if the call to nrealloc moved where the data was located
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-22 23:22:19 +00:00 |
Chris Allegretta
|
878ced39bf
|
- nano.c:do_prev_word() - Fixed goofy logic setting x pos to value of last line when hitting the beginning of first line, prog should simply abort.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-22 20:05:34 +00:00 |
Chris Allegretta
|
b3655b4c5e
|
DLR's cut and miscellaneous fixes, my cut fixes, and context-sensitive help, woohoo
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@864 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-22 03:15:31 +00:00 |
Chris Allegretta
|
76e291beee
|
Added conversion messages for DOS and Mac files, and Alt-space as do-previous-word
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@858 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-14 19:05:10 +00:00 |
Chris Allegretta
|
b516d8e3f3
|
- nano.c:main() - Added var constcheck as a CRC-like check of whether cursor pos has changed and if so update the pos with -c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@820 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-03 00:01:36 +00:00 |
Chris Allegretta
|
b26cb39296
|
Don't show non-positive shortcut keys in help_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@814 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-02 04:22:34 +00:00 |
Chris Allegretta
|
ad3f478452
|
- Take control-space out of -tiny build, unneeded
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@812 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-02 03:54:13 +00:00 |
Chris Allegretta
|
1c27d3e875
|
nano.c:main() - Fix the KEY_IC being undefined when using slang
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@808 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-02 02:56:45 +00:00 |
Chris Allegretta
|
7fdbd05b41
|
Readded DISABLE_CURPOS cause we can't get away without it (Search Wrapped msgs) and Ken's findnextr fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-10-02 00:55:38 +00:00 |
Chris Allegretta
|
1b3381bee8
|
Initialize totsize in files.c:new_file() and let do_gotopos keep current position when invoking the alternate speller (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@799 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-28 21:59:01 +00:00 |
Chris Allegretta
|
a951f21c59
|
- nano.c: do_mouse() - Change k based on currslen to allow the new widths in bottombars()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@793 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-27 21:07:39 +00:00 |
Chris Allegretta
|
56214c6aef
|
DLR's fixes: arg for operatingdir's getopt_long text, changes to cases 2b and 2c in do_wrap for Pico compatibility, and new arg save_cutbuffer to global_init() to stop the cutbuffer from being lost with multiple buffers
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@789 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-27 02:46:53 +00:00 |
Chris Allegretta
|
99e30e1bee
|
Oops, we shoudn't let DOS_FILE and MAX_FILE be set at the same time
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@784 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-23 02:45:27 +00:00 |
Chris Allegretta
|
ce78c1eb88
|
DLR's latest fixes for the tabcomp code and keys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@783 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-23 01:18:03 +00:00 |
Chris Allegretta
|
96bd4e4ed8
|
Readd skipping Meta-A,B,E in do_toggle, oops I'm with it now :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@781 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 22:27:37 +00:00 |
Chris Allegretta
|
8d990b5e8b
|
- Bracket (brace, parens, etc) matching code by Ken Tyler. New functions do_find_bracket(), changes to findnextstr(), command is Meta-] (hope you dont mind since I already sold off Meta-O to the MacOS file code Ken...)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@780 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 22:14:25 +00:00 |
Chris Allegretta
|
3e3ae94084
|
- New smooth scroll code by Ken Tyler. New flag -S, --smooth, changes to page_up() and page_down()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@778 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 19:02:04 +00:00 |
Chris Allegretta
|
8fa1e28681
|
Added mac file support too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@774 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 04:20:25 +00:00 |
Chris Allegretta
|
7004c289f8
|
-D cmdline flag for DOS formatted files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-22 00:42:10 +00:00 |
Chris Allegretta
|
6414b40d3d
|
Make the Alt-key seqs work with the mouse
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@772 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-21 03:21:11 +00:00 |
Chris Allegretta
|
e1f1452eb5
|
General: - New flag -o, --operatingdir, similar to Pico's -o mode. New function check_operating_dir(), changes to load_file (arg), open_file_dup_search (arg), new function do_gotopos for -F.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@767 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-19 03:19:43 +00:00 |
Chris Allegretta
|
0357c4d552
|
- nano.c: main() - Added vars oldcurrent and oldcurrent_x to check whether cursor pos has changed and if so update the pos with -c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
|
2001-09-19 02:59:25 +00:00 |