Commit Graph

64 Commits

Author SHA1 Message Date
Renaud 78a7a3ba4e Improve support of utf8 in filename completion and key in of command arguments. 2019-08-12 21:41:51 +08:00
Renaud 81431d2d76 Map DEL (0x7F) consistently to CTL-? so that it can be bound with bind-to-key command.
Revise Y/N prompt and function name keying.
2019-08-09 20:47:05 +08:00
Renaud 08b75d677e Handle DEL consistently in display and input. 2019-08-08 10:55:17 +08:00
Renaud 3e12643077 Refactor getstring to be more robust when doing filename completion with Unicode characters. 2019-08-07 16:51:00 +08:00
Renaud bc11a0c913 Review system() dependencies and clean up obsolete function prototypes in spawn interface. 2019-08-07 10:19:47 +08:00
Renaud 9c1ec4fdf8 Review macroes for character classification. 2019-07-25 19:13:40 +08:00
Renaud e11ed9187f Remove V7, MSC, TURBO conditional code. Partial remove of MSDOS. 2019-07-23 21:04:50 +08:00
Renaud 1b2307e056 Partial fix of issues when using unicode sequence with describe-key, search-forward, query-replace-string. 2016-04-09 11:46:40 +08:00
Renaud 187b0ce4a3 Review echo of input on message line. 2016-03-12 12:58:05 +08:00
Renaud 45f138ac07 Remove mlreply after transition to replacement newmlarg. 2015-10-05 14:15:24 +08:00
Renaud 7f5f0dd7b3 Introduce newmlarg as alternative to mlreply.
Rewrite gotoline accordingly.
2015-09-29 10:43:19 +08:00
Renaud 198980b81f Review newmlargt interface and obsolete mlreplyt. 2015-09-29 10:25:36 +08:00
Renaud ce4d105794 Allow either dynamic or pre-defined input size from message line.
Insure to capture ABORT status when doing input from message line.
2015-09-28 17:46:00 +08:00
Renaud cbbd860bdc Rework insert-string for dynamic token input. 2015-09-27 22:13:20 +08:00
Renaud c3f4666ff3 Review usage of mlreply/ macarg/ gettokval according to execution context. 2015-09-01 11:29:08 +08:00
Renaud 8d412dc388 Review file scope of functions dealing with token extraction and token evaluation. 2015-08-25 16:34:15 +08:00
Renaud 51967939b8 Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters). 2015-08-25 09:17:41 +08:00
Renaud 2522a858c1 Fix CID#39937 Copy into fixed size buffer. 2015-07-17 10:44:35 +08:00
Renaud 66649313ae Insure file descriptor is properly closed when doing filename completion. 2015-03-22 22:02:16 +08:00
Renaud e556f7714b Avoid calling mlwrite with computed string as format parameter. 2015-02-15 17:32:13 +08:00
Renaud fbe92a1f52 Only support UTF-8 keyboard sequence on Cygwin.
FIX: Missing on  Linux, ue --help prints progname set in Makefile.
2015-02-14 10:21:50 +08:00
Renaud 703c472f0b Review message line outputs. 2015-02-13 21:48:05 +08:00
Renaud cbb6a26e33 Revise sanity check on UTF-8 keyboard input sequence. 2015-02-10 18:09:59 +08:00
Renaud 5401aec485 Accept UTF-8 sequence as keyboard input. 2015-02-10 17:07:43 +08:00
Renaud 7da7916b28 describe-key displays keycode in hexadecimal.
mlwrite assume parameter is unsigned int when doing %x format.
ostring output bytes > 0x7F as unsigned char.
2015-02-09 19:27:49 +08:00
Renaud 5fda2735a5 Do not use a temporary buffer to prompt user in mlyesno, thus avoiding problem with '%' or overflow. 2015-01-16 17:55:23 +08:00
Renaud b596a3a09c macarg takes buffer length as parameter instead of assuming all buffer have NSTRING size. 2015-01-08 12:46:46 +08:00
Renaud 20d21435e0 Rebuild on Linux.
Remove warnings on system and write call without return code check.
2015-01-02 14:20:07 +08:00
Renaud 3197080cb1 Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant. 2014-12-22 20:57:26 +08:00
Renaud 2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
Renaud f03b7c97e3 Move globals variables to related modules. 2014-12-22 17:42:27 +08:00
Renaud 80256bdd6d Remove edef.h, obsoleted by globals.h. 2014-12-22 17:41:40 +08:00
Renaud 7573dcd226 Move edef.h out of bind.h and buffer.h out of edef.h. 2014-12-22 17:41:18 +08:00
Renaud dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
Renaud d6e3df6ff3 Move global window pointers to window and global keyboard variables to input. 2014-12-22 17:40:38 +08:00
Renaud 63e2f82211 Move global variable to module scope (display, exec, input). 2014-12-22 17:38:48 +08:00
Renaud e2035f0d92 Move global variables to public input scope. 2014-12-22 17:37:06 +08:00
Renaud 9780b4ce16 Extract Struct terminal from estruct to terminal.h implemented by tcap. 2014-12-22 17:36:24 +08:00
Renaud f5c715debd Review prototypes of prompting functions. 2014-12-22 16:10:35 +08:00
Renaud e83feafda1 Minimize Cygwin64 changes & use __unix__ instead of CYGWIN. 2014-12-22 16:08:47 +08:00
Renaud 15012326db Compile under Cygwin64. 2014-12-22 16:08:37 +08:00
Renaud c96138add5 remove left dependencies to main: bindable functions. 2014-12-22 15:47:33 +08:00
Renaud f210ed610b cleanup bind & ebind dependencies to estruct & edef. 2014-12-22 15:28:20 +08:00
Renaud cae7222493 Clarify names interface (only used in bind and input). 2014-12-22 15:08:05 +08:00
Renaud b321dce49e Remove efunc as dependencies. 2014-12-22 15:06:48 +08:00
Renaud 9c2c4b7635 Remove display from efunc. 2014-12-22 15:06:08 +08:00
Renaud b971f265fc Remove bind from efunc. 2014-12-22 15:04:46 +08:00
Renaud 0b093b8228 Remove main from efunc. 2014-12-22 15:04:37 +08:00
Renaud 7ede4aa6d8 remove exec from efunc. 2014-12-22 15:03:34 +08:00
Renaud 08a3aa81e1 crypt depends on display and input instead of efunc. 2014-12-22 14:45:26 +08:00