Chris Allegretta
8bc03b6fdc
main() - Added ENABLE_NLS check around gettext stuff
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-02-09 02:57:52 +00:00
Chris Allegretta
00ae5dfa27
do_justify - If the keystroke after the justify is not the unjustify key, blank the statsubar (bug reported by Neil Parks)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@520 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-02-05 18:24:33 +00:00
Chris Allegretta
4e90c40e72
Fix cursor not on after resize
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@510 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-29 23:40:43 +00:00
Chris Allegretta
08020889d3
Fix for resizing the window in modes other than normal edit mode Changes to handle_sigwinch(), main(). Fixes bug #52 (Rocco)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@509 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-29 23:37:54 +00:00
Chris Allegretta
e434b45148
do_alt_speller and nanogetstr fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@508 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-27 19:25:00 +00:00
Chris Allegretta
169ee8498e
Fixed Bug #53
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@506 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-26 01:57:32 +00:00
Chris Allegretta
0a06e07831
replace for loop for hline init with memset in init functions
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-23 02:35:04 +00:00
Robert Siemborski
60cd6aa04f
totsize fix in do_justify
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-21 23:23:48 +00:00
Chris Allegretta
e9a2d03497
version() - Add arg to -T help (Rocco).
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-21 16:08:21 +00:00
Chris Allegretta
17dcb7212f
Get rid of center_x and center_y, removed redundant free_node, added restore of totsize when unjustifying
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-20 21:40:07 +00:00
Robert Siemborski
c2eeb4e585
small fix for do_justify totsize calculations
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@485 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-17 03:29:02 +00:00
Chris Allegretta
ae4318dab0
Get rid of unneeded call to usage() in main() when calling a flag for a function that hasn't been compiled in (Rocco)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@482 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-16 04:18:26 +00:00
Chris Allegretta
3693944492
main(): Initialized kbinput to get around stupid compiler warning.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-15 20:26:38 +00:00
Chris Allegretta
4097379a26
Changed 'without NumLock on' to 'with NumLock off', more easy to understand?
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-15 20:25:24 +00:00
Chris Allegretta
e61e830010
Rocco's source code cleanups and #defines for magic values in global_init(). Added die_too_small() function
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-14 05:18:27 +00:00
Chris Allegretta
201d9bf467
Added print_numlock_warning(), code to figure out when numlock makes the keypad go bad.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-14 03:17:53 +00:00
Chris Allegretta
1748cd1d0f
Added function ABCD(), better support for default settings
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@474 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-13 17:22:54 +00:00
Rocco Corsi
af5c302b48
Move #ifndef cleanups. Some HELP and SPELLER #ifndef additions.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-12 07:51:05 +00:00
Chris Allegretta
155d620a14
Add and fix Bug #51 :-)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-08 01:50:37 +00:00
Chris Allegretta
19b9e2be94
Oops, restore keypad() call when using PDCURSES
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-07 07:31:12 +00:00
Chris Allegretta
e1ebaf3821
do_writeout() takes an arg now, and mallocstrcpy now gives up if src == dest
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-07 05:50:36 +00:00
Chris Allegretta
c08f50d9de
Back to the drawing board, old keypad code, dont slightly better
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-06 18:12:43 +00:00
Chris Allegretta
6636dc3181
Changed ENABLE_BROWSER to DISABLE_BROWSER, tiny build now doesn't build browser either
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-05 05:41:07 +00:00
Chris Allegretta
f4f7e04c5b
Work around gnome-terminal, I'm tired of this
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-04 16:56:15 +00:00
Chris Allegretta
63c8ab94fb
Tadaa. Keypad issue fixed. It was the stupid timeout(0) call. UGH
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-04 02:33:52 +00:00
Chris Allegretta
85b444137b
Added --enable-browser to version()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@436 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-03 20:13:28 +00:00
Chris Allegretta
f4b9601c1b
First try at browser
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-03 07:11:47 +00:00
Chris Allegretta
d55655f23a
Reordered --help usage listing by alpha
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-27 03:36:47 +00:00
Chris Allegretta
651216388c
Fix lots of compiler warnings
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 07:05:27 +00:00
Chris Allegretta
b7d00efd6d
Added --disable-help string to version()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 05:36:51 +00:00
Chris Allegretta
7492cecc27
main(): - Added --view option to getopt_long()call . Bug discovered by Rocco Corsi.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 04:55:21 +00:00
Chris Allegretta
affeda817e
do_toggle(): - Added fix_editbot() call to fix improper redisplay of edit window when using nohelp toggle (bug discovered by Rocco Corsi).
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 04:03:48 +00:00
Chris Allegretta
220ba692e6
help_init(): - Fix off by one error that was making ^G help in normal mode and ^_ in pico mode not be displayed in the help.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@412 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 03:40:00 +00:00
Chris Allegretta
51b3eec536
Added -b, -e and -f compatibility flags, updated man pages, added Alt-Alt-x functionality
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 02:23:50 +00:00
Chris Allegretta
1a6e904583
Rid nano of PATH_MAX\!
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-14 13:56:28 +00:00
Chris Allegretta
3bc8c72c8b
Added --disable-help, moved hold pointer declaration
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-10 17:03:25 +00:00
Chris Allegretta
c130297a79
More totsize :P
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-10 06:07:01 +00:00
Chris Allegretta
5146fec04c
Cut and renumber fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@400 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-10 05:44:02 +00:00
Chris Allegretta
7b36c52efc
Changed --disable-spell to --disable-speller
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@389 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-06 01:08:10 +00:00
Chris Allegretta
9756d62d93
Okay, NOW tell what the file is we didn't write if we didn't write it
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@369 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-03 03:06:45 +00:00
Chris Allegretta
581bc60d0c
Okay last time, now if there's any file at all, dont save the .save file. (foolproof? :)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-03 03:01:12 +00:00
Chris Allegretta
8c36f8876c
Silly newline fix in die()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-02 05:33:00 +00:00
Chris Allegretta
3dbb2783d3
Okay, so if the .save file is a symlink, don't write to it, abort
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@361 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-02 04:36:50 +00:00
Chris Allegretta
c5174aaef3
Oops, manually turn off FOLLOW_SYMLINKS if it's on
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@359 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-02 02:38:54 +00:00
Chris Allegretta
e7a5893245
Changs to die() and handle_sighup() for security
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@358 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-02 02:36:22 +00:00
Chris Allegretta
9e2934fd27
Fix for do_next_word and screen updates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@357 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-01 23:49:48 +00:00
Chris Allegretta
4eb7aa04f3
Okay, don't define nano_small_msg or nano_disabled_msg id not needed
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@356 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-01 18:57:11 +00:00
Chris Allegretta
ff269f8873
Added --disable-justify and --disable-spell options, code cleanups
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@355 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-01 18:46:01 +00:00
Chris Allegretta
7262358381
Oops, I guess that's MY right alt key also =). And right control is ASCII 543
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@352 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-29 23:43:28 +00:00
Chris Allegretta
d00e6dfacd
Rocco's changes to spell checking and my alterations
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-29 04:33:26 +00:00
Chris Allegretta
75155dff51
Ignore key sequence 545, Alt-Gr key on german keyboard
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-28 23:04:24 +00:00
Chris Allegretta
4a9c8589b2
Oops, do it in either case, whether we did unjustify or not
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@333 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-27 22:59:40 +00:00
Chris Allegretta
0779835ce4
Okay, now make the shortcut list reflect the unjustify availability
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@332 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-27 22:58:23 +00:00
Chris Allegretta
d022eace15
Fix for justift at top of file
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@331 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-27 02:50:49 +00:00
Chris Allegretta
2ff25693f3
Oops, get rid of silly debugging code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@330 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-27 00:24:42 +00:00
Chris Allegretta
9149e610b3
Implemented Unjustify, HAHAHA
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@329 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-27 00:23:41 +00:00
Chris Allegretta
8a0de3bb3f
New arg --enable-extra, checks for ./configure options, oher stuff :-)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@316 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-24 20:45:14 +00:00
Chris Allegretta
31c76660ed
Changed check from argc == 1 to argv[optind] == NULL to display "New File" in statusbar or not
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@306 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-21 06:20:20 +00:00
Chris Allegretta
bf9a8cc23d
Changed PICO_MSGS to PICO_MODE and strings
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-17 01:37:39 +00:00
Chris Allegretta
271e972ff0
Rocco's changes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@279 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-10 18:15:43 +00:00
Chris Allegretta
a60e02c950
Okay, for some reason the statusq call in do_int_spell wasn't updated
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@278 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-06 13:18:25 +00:00
Chris Allegretta
27eb13f0fa
Rocco's spelling code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@266 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-05 16:52:21 +00:00
Chris Allegretta
1cc0b7fdca
Fixed bug #45 , stupid...
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@262 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-03 01:29:04 +00:00
Jordi Mallach
e7a647c343
Added some missing gettext calls and updated Spanish.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-01 18:43:21 +00:00
Chris Allegretta
bd9e7c3c36
Replace with null string option, ran source through indent again
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@243 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-26 01:44:42 +00:00
Chris Allegretta
71348eeb1f
Get rid of punctuation at end of nofollow option, as it was the only one punctuated
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@234 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-02 04:21:23 +00:00
Chris Allegretta
9e7efa3202
Added (int) casts to remove compile warnings with -Wall
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@233 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-02 03:42:55 +00:00
Chris Allegretta
66989d6ece
Changing addresses again
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@231 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-27 03:16:11 +00:00
Chris Allegretta
ad1daccecc
PDCurses support
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@229 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-21 04:25:45 +00:00
Chris Allegretta
0b88ce08cb
Mouse fix for new key handling code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-15 15:46:32 +00:00
Chris Allegretta
9c35eb0def
Made insert key call do_insertfile()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@219 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-13 14:24:52 +00:00
Chris Allegretta
92c9dd255c
Oops, update editwinrows in window_init()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@218 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-13 14:03:27 +00:00
Chris Allegretta
2a42af1d62
More display updates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@217 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-12 23:02:49 +00:00
Chris Allegretta
16e4168993
A heapin spoonful of updates in key handling
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@216 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-11 22:33:54 +00:00
Jordi Mallach
2dc0f6b2bf
Gettextized the new Meta strings in nano.c and updated es.po.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@212 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-07 10:48:00 +00:00
Chris Allegretta
9239d742d6
Use raw mode if _POSIX_VDISABLE isn't available, to allow support under cygwin
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@210 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-06 15:19:18 +00:00
Chris Allegretta
805c26d1a6
Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, added check for regex.h in configure.in
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@208 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-06 13:39:17 +00:00
Chris Allegretta
423cbfd743
off by one in toggle help code and set up for 0.9.17 release
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-04 16:21:29 +00:00
Chris Allegretta
5577aec4e8
5 newlines instead of 4 on suspend and po update
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@202 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-04 03:53:04 +00:00
Chris Allegretta
18f8be0058
Implemented suspend code to work with Meta-Z
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@201 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-04 03:20:38 +00:00
Chris Allegretta
f0f63a82fb
Changed awkward messages for no help and no wrap mode toggles
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-02 18:44:21 +00:00
Chris Allegretta
a547fd1e0e
Removed commented out wrap code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@198 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-02 17:38:44 +00:00
Chris Allegretta
d56bd79daf
Fixed typos and updated PO files
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@195 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-02 07:27:10 +00:00
Chris Allegretta
e49f123cc0
Moved the toggle Meta keystrokes to the first column. Updated documentation and help code for Meta keys rather than 'alt keys'
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@194 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-02 07:20:39 +00:00
Chris Allegretta
4c780be883
Added small message when using --enable-tiny and toggle keys
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@193 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-01 17:59:18 +00:00
Chris Allegretta
756f220a26
New toggles for flags via Meta
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@191 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-01 13:32:47 +00:00
Chris Allegretta
340d6e50c2
Made wrapping code less ambitious
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@188 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-29 03:55:29 +00:00
Chris Allegretta
e10debd14b
Updates by Ben Roberts
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@186 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-22 01:26:42 +00:00
Chris Allegretta
11b0011b1f
Testing RCS headers
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-06 21:13:45 +00:00
Chris Allegretta
4dbcc3cd9e
Changed tabsize long arg to actually accept an argument *sigh*
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@165 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-04 15:44:29 +00:00
Chris Allegretta
99bf73fe66
Removed now useless usrtabsize variable (Christian Weisgerber)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@159 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-04 00:22:08 +00:00
Chris Allegretta
6d690a39dc
New tabsize code, Im very excited
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-03 22:51:21 +00:00
Chris Allegretta
da721be17a
Bug fixes for do_enter and do_backspace
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-31 01:26:42 +00:00
Chris Allegretta
234a34d273
Chris goes berzerk on no sleep
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@150 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-29 04:33:38 +00:00
Chris Allegretta
6925bbd360
Added null_at()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@140 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-28 01:41:29 +00:00
Chris Allegretta
18bd029981
Bugfixes and cruft cleanout take 1
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@139 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-28 01:18:10 +00:00
Chris Allegretta
7975ed86a7
New cvs code, data abstraction is good
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@138 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-28 00:58:35 +00:00
Robert Siemborski
a417ddca91
some random totsize-related bugfixes. (do_justify & do_wrap)
...
shouldn't break anything (famous last words)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@125 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-24 23:18:48 +00:00
Chris Allegretta
8f6c069543
Spelling, Read_file and term setting fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-19 01:16:18 +00:00
Robert Siemborski
fcf32bf3d1
more intelligent filename selection in die()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@109 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-17 03:04:54 +00:00
Chris Allegretta
3088555a15
Changed static temp_opt to flag TEMP_OPT. Fixed bug #29
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@106 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-14 01:20:12 +00:00
Chris Allegretta
d19e9916cb
#ifdef'ed -k option for not NANO_SMALL b/c it requires the marker code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@103 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-12 18:14:51 +00:00
Chris Allegretta
627de19ce0
Added Pico's -k option (in 5 lines of code :-)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@99 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-12 02:09:17 +00:00
Robert Siemborski
6967eec4cb
Bill's TABSIZE fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@93 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-08 14:23:32 +00:00
Chris Allegretta
47805612c3
Added _POSIX_VERSION check to regexp code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@80 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-07 02:35:34 +00:00
Chris Allegretta
9fc8d43a82
New regexp search feature by Bill Soudan
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@78 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-07 01:49:52 +00:00
Chris Allegretta
5537387352
Increment totsize when recreating magic line in backspace and delete
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@77 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-06 22:38:37 +00:00
Robert Siemborski
976847c016
moved '\n' outside of if at bottom of help_init
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@76 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-06 03:43:05 +00:00
Adam Rogoyski
01dc83ae12
- remove old assert() from do_wrap().
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@73 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-06 02:01:44 +00:00
Chris Allegretta
28a0f89d90
Add magic line code to do_backspace() and do_delete()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@72 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-05 22:47:54 +00:00
Robert Siemborski
63b3d7e0c0
Magic Line Code Added
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@68 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 22:15:39 +00:00
Robert Siemborski
dd53ec2a87
Fixed 2 FIXMEs in nano.c:
...
do_enter: the reset_cursor was needed. code cleaned up a bit with a comment
explaining the situation there.
do_justify: the second edit_refresh exposed a bug in how we were updateing
editbot when we needed to rebuild it. This functionality has
been moved into winio.c:fix_editbot, and all places that were
doing so that I could find have been updated. (files.c:
do_insertfile, nano.c: handle_sigwinch and do_justify)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@64 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 02:35:19 +00:00
Chris Allegretta
1e57e68e57
Fixed a bug in page_down() and moved page_up() to move.c where it belongs
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@62 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 04:24:39 +00:00
Chris Allegretta
67105eb11f
Oops, fix for --enable-tiny
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@61 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 03:18:32 +00:00
Chris Allegretta
dbc12b2070
Removed do_oldspell() and put an ifdef around do_spell()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@60 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 03:10:14 +00:00
Robert Siemborski
6af1431eaa
changed all 'sprintf' calls to 'snprintf'
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@58 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-01 21:34:26 +00:00
Chris Allegretta
5a4eb33590
Oops, two alt_speller vars
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@48 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 21:26:31 +00:00
Chris Allegretta
4da1fc65f0
Synch with official 0.9.11
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@45 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 03:00:43 +00:00
Adam Rogoyski
09f9796b85
- check_wrap() more off by one.
...
- do_justify() off by 1 and off by 2, and fix numbering and handling off bottom line.
Wrapping and justify should now do the same thing and agree on what where to wrap everything.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@40 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 02:50:33 +00:00
Adam Rogoyski
d46e9fccf7
- do_wrap() off by one current_x - 1 ==> current_x
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@37 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:13:24 +00:00
Adam Rogoyski
ee39d57e8c
- do_wrap() spaces between words fix.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@36 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:00:53 +00:00
Chris Allegretta
6724a7ed39
Add -T tab width option
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@35 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 23:19:07 +00:00
Chris Allegretta
77b35cee5a
Buglet fix for for losing text on wrap current_x < wrapcol
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@34 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 21:21:51 +00:00
Adam Rogoyski
3d449b4142
- do_wrap() needs to keep spaces when you are on the first word that should be wrapped and hit a
...
space while the cursor is on the first character, but delete spaces when it's the second
character or anything else that follows.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@33 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 17:30:14 +00:00
Chris Allegretta
97accc6f12
Fix lack of update on width resize
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@28 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 05:45:52 +00:00
Chris Allegretta
bceb1b21a6
Split nano.c up more
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@27 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 04:22:15 +00:00
Robert Siemborski
b0b367e05d
corrected do_insertfile
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@26 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-18 02:14:21 +00:00
Robert Siemborski
10eab1dad8
Fixes faiure of display to update in do_insertfile
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@25 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-18 01:05:00 +00:00
Adam Rogoyski
0223d6fba4
- fix do_wrap() to change the start point of the MARK if it wraps down a line.
...
- change do_wrap() to not center the screen all the time.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@23 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-17 20:36:35 +00:00
Adam Rogoyski
9aeb9da011
Fix do_wrap() and fix_wrap() to handle empty lines, lines without spaces, and recursively call
...
check_wrap() for when a wrapped line needs to be wrapped when SAMELINEWRAP is set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@20 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-16 01:19:31 +00:00
Chris Allegretta
b0ae3938fa
Added do_enter bugfix for placewewant
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@19 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-15 23:39:14 +00:00
Adam Rogoyski
77f36de7e9
add experimental new do_wrap() and check_wrap() to imitate pico a little closer.
...
Please try this and let me know if it doesn't work!
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@9 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 03:56:54 +00:00
Chris Allegretta
a2ea193bd4
Initial revision
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-06 05:53:49 +00:00