mc/lib
Denys Vlasenko 664e7d31b6 When we see an unknown sequence, it is not enough
to drop already received part - there can be more of it
coming over e.g. a serial line.

To prevent interpreting it as a random garbage,
eat and discard all chars that follow.
Small, but non-zero timeout is needed to reconnect
escape sequence split up by a serial line.

Before this change, Ctrl-Alt-Shift-Right_Arrow generates "1;8C"
bogus "input" in MC on my machine; after the change,
nothing is generated.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-05-23 11:42:02 +03:00
..
event PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
filehighlight PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
mcconfig (mc_config_new_or_override_file): minor optimization. 2013-03-09 16:04:51 +04:00
search Code indentation. 2013-02-14 14:42:27 +04:00
skin PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
strutil Add lib/strutil/replace:str_replace_all() function. 2013-02-16 17:40:37 +03:00
tty When we see an unknown sequence, it is not enough 2013-05-23 11:42:02 +03:00
vfs Rename vfs_path_cmp() to vfs_path_equals() 2013-03-09 16:04:18 +04:00
widget Ticket #2991: fix redraw of WLabel after text change. 2013-04-08 15:46:39 +04:00
charsets.c Fix of DOXYGEN docs: @return instead of @returns 2012-11-09 10:05:13 +04:00
charsets.h Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup 2012-06-25 16:58:57 +04:00
event-types.h Optimization of history load. 2011-06-21 16:13:10 +04:00
event.h Event system: added addition parameter event_init_data to mc_event_del() function. 2011-06-21 16:13:10 +04:00
filehighlight.h Lib: removed includes to "src" directory 2011-03-21 23:55:52 +02:00
fileloc.h Ticket #2625: mc does not preserve file mtime when copying over ssh 2011-12-12 11:51:25 +03:00
fs.h Code cleanup after runing splint on src/main.c file 2011-10-17 13:30:03 +03:00
glibcompat.c Cleanup code related to GLib < 2.12. 2012-12-20 15:35:35 +04:00
glibcompat.h Cleanup code related to GLib < 2.12. 2012-12-20 15:35:35 +04:00
global.c (mc_global_t::shell): new member to store user's shell 2013-01-16 14:34:11 +04:00
global.h (mc_global_t::shell): new member to store user's shell 2013-01-16 14:34:11 +04:00
hook.c Remove irrelevant comments about file_date() function. 2013-01-16 14:34:34 +04:00
hook.h fixed doxygen documentation 2012-09-10 14:29:53 +03:00
keybind.c Ticket #2863 (mcdiff bidirectional merge enhancement) 2012-08-30 10:43:20 +04:00
keybind.h Ticket #2863 (mcdiff bidirectional merge enhancement) 2012-08-30 10:43:20 +04:00
lock.c Fix of DOXYGEN docs: @return instead of @returns 2012-11-09 10:05:13 +04:00
lock.h Changed lock_file() and unlock_file() functions 2012-03-06 11:52:30 +03:00
logging.c Added function mc_config_get_full_path() for search user's config files by short names. 2011-12-06 16:24:10 +03:00
logging.h Added new function mc_always_log() for logging on early bootstrap stages 2011-01-20 17:38:27 +02:00
Makefile.am PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
mcconfig.h Add support of reading parameters for external editor/viewer from main config. 2013-02-16 17:40:37 +03:00
search.h Don't mix mc_search_cb_ret_t and int as result of search callback. 2012-05-08 18:57:55 +04:00
serialize.c fixed doxygen documentation 2012-09-10 14:29:53 +03:00
serialize.h Added ability to serialize/deserialize strings and config objects(mc_config_t) 2011-06-23 14:45:00 +03:00
skin.h Skin support for window frames. 2012-06-20 22:26:10 +04:00
strescape.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
strutil.h Add lib/strutil/replace:str_replace_all() function. 2013-02-16 17:40:37 +03:00
timefmt.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
timefmt.h Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch]. 2010-11-24 10:27:47 +03:00
unixcompat.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
util.c (size_trunc_len): support automatic maximum unit for specified size. 2013-03-09 16:04:19 +04:00
util.h Add function lib/utilunix.c:my_systemv_flags() 2013-02-16 17:39:33 +03:00
utilunix.c Add function lib/utilunix.c:my_systemv_flags() 2013-02-16 17:39:33 +03:00
utilunix.h Lib: removed includes to "src" directory 2011-03-21 23:55:52 +02:00
widget.h Rename Dlg_head to WDialog. 2012-11-19 21:42:47 +04:00