- nano.h: - Add support for HP-UX's curses, which doesn't seem to support KEY_HOME and KEY_END
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1276 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e21adfa181
commit
515ba32513
|
@ -111,6 +111,8 @@ CVS code -
|
||||||
- Change search toggles for case sensitive searching and regexp
|
- Change search toggles for case sensitive searching and regexp
|
||||||
searching to M-C and M-R, respectively. (DLR; suggested by
|
searching to M-C and M-R, respectively. (DLR; suggested by
|
||||||
Chris)
|
Chris)
|
||||||
|
- Add support for HP-UX's curses, which doesn't seem to support
|
||||||
|
KEY_HOME and KEY_END.
|
||||||
- nanorc.sample:
|
- nanorc.sample:
|
||||||
- Fix the c-file regex for all caps words to be extended regex
|
- Fix the c-file regex for all caps words to be extended regex
|
||||||
format ({} instead of \{\}) (found by DLR).
|
format ({} instead of \{\}) (found by DLR).
|
||||||
|
|
10
nano.h
10
nano.h
|
@ -68,6 +68,16 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* HP-UX 10 & 11 do not seem to support KEY_HOME and KEY_END */
|
||||||
|
#ifndef KEY_HOME
|
||||||
|
#define KEY_HOME -1
|
||||||
|
#endif /* KEY_HOME */
|
||||||
|
|
||||||
|
#ifndef KEY_END
|
||||||
|
#define KEY_END -1
|
||||||
|
#endif /* KEY_END */
|
||||||
|
|
||||||
|
|
||||||
#define VERMSG "GNU nano " VERSION
|
#define VERMSG "GNU nano " VERSION
|
||||||
|
|
||||||
#if defined(DISABLE_WRAPPING) && defined(DISABLE_JUSTIFY)
|
#if defined(DISABLE_WRAPPING) && defined(DISABLE_JUSTIFY)
|
||||||
|
|
Loading…
Reference in New Issue