- Added space and - keys to do page up and down.
cwd_tab_completion(), input_tab()
- Changed bare malloc/calloc calls to nmalloc (found by Rocco).
- - Added null end of tmpBuf for sanity (Rocco).
+ - Added zero end of tmpBuf for sanity (Rocco).
- nano.c:
ABCD()
- New function, figures out what kbinput to return given
matchBuf = (char *) nmalloc((strlen(buf) + 2) * sizeof(char));
strncpy(matchBuf, buf, place);
- matchBuf[place] = (char) NULL;
+ matchBuf[place] = 0;
tmp = matchBuf;
/* skip any leading white space */