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
Pavel Roskin
e65f20852b
* cons.handler.c: Put checks for rxvt extensions in one place.
...
Simplify FreeBSD code.
2003-02-27 04:57:58 +00:00
Pavel Roskin
1806aed543
Add COPYING.
2003-02-26 19:32:13 +00:00
Pavel Roskin
c8f5d1a7f5
* syntax/syntax.syntax: Highlight "define".
2003-02-26 19:31:07 +00:00
Pavel Roskin
c799424167
Fix for the previous patch to avoid freeing bogus pointers.
2003-02-26 19:25:13 +00:00
Andrew V. Samoilov
f0a33821e6
* syntax.c (edit_read_syntax_rules): Add args argument and it
...
use instead of own auto args array to share this area with ...
(edit_read_syntax_file): ... this. Adjust for the above.
Use strncpy() instead of unsafe strcpy().
2003-02-26 19:15:27 +00:00
Pavel Roskin
a8a0f0c17a
* cons.handler.c: Add implementation for FreeBSD 4.x and 5.x.
2003-02-26 19:14:52 +00:00
Andrew V. Samoilov
6a8a443ed2
* syntax.c (edit_read_syntax_rules): Add args argument and it
...
use instead of own auto args array to share this area with ...
(edit_read_syntax_file): ... this. Adjust for the above.
Use strncpy() instead of unsafe strcpy().
2003-02-26 19:01:40 +00:00
Pavel Roskin
c6311c4ca5
* view.c (load_view_file): Make sure view->s.st_size is not
...
truncated when passed to g_malloc().
Reported by Philipp Thomas <pthomas@suse.de>
2003-02-26 18:06:27 +00:00
Pavel Roskin
6df9219f85
* extfs.c (extfs_open): Retain original filename as a suffix
...
for the temporary filename.
* vfs.c (mc_def_getlocalcopy): Likewise.
2003-02-26 17:43:18 +00:00
Andrew V. Samoilov
9ec797a024
* extfs/patchfs.in: rm and proper copyin support, more
...
functions to make code more clear.
2003-02-26 15:08:37 +00:00
Andrew V. Samoilov
4dc31f3e06
(this_try_alloc_color_pair): Set fg to f if fg is not NULL. Likewise for
...
fg and bg.
(edit_free_syntax_rules): Call destroy_defines() even if there is no rules.
2003-02-25 16:16:18 +00:00
Pavel Roskin
0158eaf0f3
* syntax.c (defines): New static variable for list of defines.
...
(mc_defines_destroy): New function to release memory of key
pair.
(destroy_defines): New function to destroy list of defines
completely.
(this_try_alloc_color_pair): Use strncpy() instead of unsafe
strcpy(). Use values from list of defines to substitute given
parameters.
(edit_read_syntax_rules): Initialize list of defines and process
new "define" keyword. Use strncpy() instead of unsafe strcpy().
(edit_free_syntax_rules): Destroy list of defines.
2003-02-25 15:07:53 +00:00
Pavel Roskin
9c5a3c3b8d
Document "mc -e"
2003-02-25 14:38:03 +00:00
Marco Ciampa
d7497b6b67
Just uno string left untraslated.
2003-02-23 14:01:28 +00:00
Marco Ciampa
d9de24cc48
Committed some stilistic changes to the italian manual pages.
2003-02-23 14:00:39 +00:00
Pavel Roskin
c13e3a213a
* lib/mc.ext.in: Add entry for QNX Neutrino packages.
2003-02-23 05:52:05 +00:00
Pavel Roskin
f5d76afe37
* key.c (get_modifier): Add support for QNX Neutrino console.
2003-02-23 05:36:49 +00:00
Pavel Roskin
03c475c4b7
Add: libX11 is loaded dynamically using gmodule.
2003-02-23 05:25:57 +00:00
Pavel Roskin
66b2b1381c
* key.c (init_key_x11): Don't try to use X11 if DISPLAY is not
...
set in the environment.
2003-02-23 05:23:04 +00:00