Commit Graph

5430 Commits

Author SHA1 Message Date
Pavel Roskin
d4336795e6 * edit.h: Make it easier to tweak buffer size and maximal number
of buffers.
2003-03-12 07:07:27 +00:00
Pavel Roskin
d6d16e47ef * acinclude.m4 (MC_ASM_LABELS): New macro to work around a bug
gettext.  Define _INTL_REDIRECT_MACROS if needed.
* configure.in: Use MC_ASM_LABELS.
2003-03-12 00:10:23 +00:00
Marco Ciampa
8c7b8d313e Some small fixies. 2003-03-11 12:30:47 +00:00
Andrew V. Samoilov
0fbccef3cc * key.c: Use fputs() instead of fprintf().
(func_XOpenDisplay) [HAVE_GMODULE]: Move to init_key_x11().
(get_modifier) [__QNXNTO__]: Use g_snprintf() instead of unsafe sprintf().
2003-03-11 12:23:08 +00:00
Andrew V. Samoilov
5e267e2ab6 * extfs/patchfs.in: Minor cleanups by Adam Byrtek <alpha@debian.org>. 2003-03-11 07:14:03 +00:00
Pavel Roskin
4d548cc4b1 * extfs.c (extfs_cmd): Quote localname - it's based on the entry
name, so it can contain dangerous symbols like "&".
2003-03-11 00:01:56 +00:00
Pavel Roskin
867704615b * key.c (correct_key_code): Convert unrecognized 0177, Ctrl-h
and Ctrl-d into Delete and Backspace.  Remove all references to
those keys in other files.
2003-03-10 20:27:54 +00:00
Pavel Roskin
44aac01193 * key.c (get_modifier) [__QNXNTO__]: Remove incorrect check for
the existance of libph.so.1.
2003-03-10 14:38:12 +00:00
Pavel Roskin
1de4ce4890 * key.c (get_modifier): Add support for QNX Photon pterm. 2003-03-10 08:47:37 +00:00
Pavel Roskin
7c40371113 Add question "How do I change the key bindings" 2003-03-10 07:50:26 +00:00
Pavel Roskin
cf432c1d8a * utilunix.c (canonicalize_pathname): Clean rewrite from
scratch.  The old implementation had memory problems with "/.."
and didn't actually strip the leading "./" from path.  Remove
support for obsolete Qnet paths.
2003-03-10 06:52:57 +00:00
Pavel Roskin
7cdbc354c2 * editkeys.c (common_key_map): Delete previous word by
Alt-Backspace.  Fix Ctrl-Backspace on some terminals.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2003-03-07 21:47:32 +00:00
Pavel Roskin
61317cb730 Add:
Use KDGKBENT ioctl on Linux console to find the mapping.
2003-03-07 20:47:56 +00:00
Pavel Roskin
949f2c3167 * configure.in: Add --with-glib-static option. 2003-03-07 18:10:37 +00:00
Andrew V. Samoilov
6f35fce869 * syntax.c (edit_read_syntax_file): Fix segmentation violation. 2003-03-06 18:42:33 +00:00
Marco Ciampa
d25cf0011b the smallest fix! 2003-03-06 14:58:18 +00:00
Marco Ciampa
29f492accf Some small fixies... 2003-03-06 14:55:32 +00:00
Pavel Roskin
5a3d2c562e * syntax/spec.syntax: Add BuildArch. 2003-03-06 13:48:23 +00:00
Andrew V. Samoilov
30caf4ab5e (kernel_oplocks_available): Comment out.
(lp_set_kernel_oplocks): Likewise.
(lp_kernel_oplocks): Likewise.
2003-03-06 10:38:38 +00:00
Pavel Roskin
37dbe13ce6 Add:
User is warned if one mc is run from another.
2003-03-05 20:36:50 +00:00
Pavel Roskin
86a8c4193e * configure.in: Check availability of setsid(). 2003-03-05 20:26:25 +00:00
Pavel Roskin
2915491aa0 Call check_sid() only if possible. 2003-03-05 20:23:50 +00:00
Pavel Roskin
861deaf09d * subshell.c (init_subshell_child): Set environment variable
MC_SID to the session number of the subshell.
(check_sid): Check that we are not running mc already in the
same session.
* main.c (main): Don't run do_nc() if shutdown was requested.
2003-03-05 20:18:11 +00:00
Andrew V. Samoilov
8e810942f8 * cons.handler.c (set_attr) [__FreeBSD__]: Eliminate cmd array. 2003-03-05 19:38:50 +00:00
Andrew V. Samoilov
e45c155b58 * cons.handler.c (set_attr) [__FreeBSD__]: Eliminate cmd array. 2003-03-05 19:33:10 +00:00
Andrew V. Samoilov
64ea375eac s/confugure/configure/ 2003-03-05 19:13:14 +00:00
Pavel Roskin
818b4956ea * cons.handler.c (console_init) [__FreeBSD__]: Fix the amount of
allocated memory.
(console_save) [__FreeBSD__]: Doen't exit on error, just return.
2003-03-05 17:52:58 +00:00
Pavel Roskin
7092f9e1e2 * cons.handler.c (show_console_contents_freebsd): Rewrite
to use screen library (S-Lang or ncurses).  Direct output is
unreliable when the screen library is active.
2003-03-05 09:29:31 +00:00
Sanlig Badral
99607e4e13 *** empty log message *** 2003-03-05 08:34:03 +00:00
Pavel Roskin
745c7e74fa Fix mismatching C format strings. 2003-03-04 16:50:47 +00:00
Sanlig Badral
e9c702cdc5 *** empty log message *** 2003-03-04 13:17:16 +00:00
Andrew V. Samoilov
8d6787cada Document -e option.
TODO: EXTernal File System untranslated.
2003-03-04 11:04:48 +00:00
Andrew V. Samoilov
7bf38b1ea8 Cleaned up and updated 2003-03-04 10:34:28 +00:00
David Martin
6a5213ff6f Update. Remove long authors list. 2003-03-04 10:25:36 +00:00
Andrew V. Samoilov
902cd4834b * syntax.c (edit_read_syntax_rules): Check for list of defines
is already initialized.
(edit_read_syntax_file): Process `include ...` before first
`file ...`, so color definitions can be stored separately.
2003-03-04 09:52:40 +00:00
Pavel Roskin
0503338aaf Fix from Adam Byrtek <alpha@debian.org> 2003-03-03 20:16:58 +00:00
Andrew V. Samoilov
599f3e8bfb * syntax.c (subst_defines): New function to substitute defines.
(this_try_alloc_color_pair): Move color substitution ...
(edit_read_syntax_rules): ... here.  Use subst_defines() to
substitute colors for contexts and keywords.  Allow multiword
defines.
2003-03-03 13:37:45 +00:00
Andrew V. Samoilov
c3cbaed289 Andrew V. Samoilov has moved. Add Wayne Roberts to contributors 2003-03-03 11:25:48 +00:00
Andrew V. Samoilov
0c03bd9dd3 * (edit_read_syntax_rules): Fix memory corruption if key is redefined 2003-03-03 08:55:11 +00:00
Pavel Roskin
6747ef213e * lib/mc.lib: Add xterm arrows both for application and normal
mode.  Normal mode can be accidentally enabled if one mc is run
from another and Ctrl-O is used to switch between them.
Add F11-F20 definitions for cons25 (FreeBSD console).
2003-03-03 08:05:49 +00:00
Pavel Roskin
b9081640b0 * profile.c (load): Fix reading keys immediately after comments. 2003-03-03 07:59:11 +00:00
Pavel Roskin
578343d41a Grammatical fix. Don't mention dbx, it may have a different command line. 2003-02-28 19:54:58 +00:00
Pavel Roskin
fafc7c6365 * syntax/cs.syntax: New file.
* syntax/Syntax: Add cs.syntax.
* syntax/Makefile.am: Likewise.
2003-02-27 21:15:44 +00:00
Pavel Roskin
de76b1b063 Remove list of authors. It's hard to keep this list up to date with the
AUTHORS file.
2003-02-27 20:56:00 +00:00
Pavel Roskin
d43e7aaafa Add all contributors.
Change wording to discourage private e-mails to the developers.
2003-02-27 20:53:35 +00:00
Pavel Roskin
1e5340ac27 Add:
Screen saving is now supported on FreeBSD console.
2003-02-27 20:36:15 +00:00
Marco Ciampa
a1f1afd8b1 A little stilistic change. 2003-02-27 13:07:47 +00:00
Marco Ciampa
cb24a269f7 Updated manual, added -e switch description. 2003-02-27 12:58:41 +00:00
Pavel Roskin
ff82223a35 Remove references to the archaic "linux" preprocessor definition.
Only __linux__ should be used.
2003-02-27 05:09:35 +00:00
Pavel Roskin
6b986e7547 Don't include main.h - it's not needed. 2003-02-27 05:01:40 +00:00