Commit Graph

462 Commits

Author SHA1 Message Date
Serhiy Storchaka
d45554ffad urar.in: fixed work with filenames begining with spaces.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:39:30 +02:00
Serhiy Storchaka
786e6f548e Ticket #2029: Error in supporting rar-archives
Contents of rar-archives with filenames contained / \d\d:\d\d / are not listed correctly.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:06:42 +02:00
Martin Petricek
7c3196b60e Ticket #1767: Custom/locale-based date format
Fixed showing of datetime format in various locales (such as Polish locale)

Added new options in config file:

[Misc]
    ...
    timeformat_recent=%d.%m.%y %H:%M
    timeformat_old=%d.%m.%y %H:%M
    ...

where
    timeformat_recent - for files with mtime between now
                         and "6 moths old" (like "Nov 2 00:56")
    timeformat_old    - for other files (like "Jun 23 2007")

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 12:31:47 +02:00
Max Khon
35e211123b Ticket #1017: added missing #include.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-11 12:23:59 +00:00
Andrew Borodin
56bf77ae57 Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
Generally, Ctrl-\ is a default assignment to SIGQUIT signal.
S-Lang breaks this assignment. NCurses doesn't, therefore
MC just quits when user presses the Ctrl-\ key.

This commit emulates the S-Lang way in NCurses-based MC.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-06 13:21:25 +03:00
Slava Zanko
7ea4dfb4ca Ticket #1902: (reopened defect) Possible security risk in mcserv.c
Comment by Oswald Buddenhagen:
first, you decided to ignore my advice about not
obfuscating the code with nonsense-checks, and on top of that you
broke the string comparison (just see what happens when you try a user
named "ftpmaster").

This commit contain changes for respect this critic.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-05 17:36:19 +02:00
Andrew Borodin
1d16fd3a88 Small refactoring of history engine.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Pavel Vasilyev
b3ea5f8ceb Ticket #1902: Possible security risk in mcserv.c
Look at mcserv.c near 1019
The chroot() call's return value isn't handled - this may a security risk.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-04 11:12:56 +02:00
Serhiy Storchaka
6191ca0b1f Ticket #1921: Fix lslR VFS
The lslR VFS does not work with ls-lR files created in en_US.UTF-8 locale and with files and directories started with whitespaces.
Followed patch fixes both issues.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 22:25:54 +02:00
Slava Zanko
8d1eebc30e lib/mcconfig/common.c: fixed memory leak
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 21:56:01 +03:00
Andrew Borodin
6354f6b265 Fixed unused variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:21 +03:00
Andrew Borodin
7f50de4670 Added missed includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:11 +03:00
Andrew Borodin
0bd03e07f5 Ticket #1990: code cleanup before 4.7.0.2 release.
Fixed warings: local variable shadows a global declaration.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-02 21:45:05 +03:00
Slava Zanko
f7c574b76e lib/Makefile.am: added lib/skin.h into distribution
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 18:01:18 +02:00
Vladimir Prodan
2d025b7ede Make b&w colors work as before
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Slava Zanko
f4c23b7081 Ticket #1972: Selections not visible on monochrome terminals
Reported-By: Dr. Stefan Thurner (TU-Chemnitz)

Since 4.7, on monochrome terminals (eg. xterm-mono) the
selections are not visible anymore (pre 4.7 inverted
the selected text).

Probably this has to do w/ the new skinning stuff.

Fix issue: added additional check for b&w terminal into skins engine.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Enrico Weigelt, metux IT service
d26be9da5f Ticket #262: remove obsolete own putenv() implementation.
Removed obsolete own putenv() implementation

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-30 18:31:24 +03:00
Enrico Weigelt, metux IT service
a295a9df47 Ticket #1925: Fixed conditional compile of mcserver 2010-01-27 21:56:46 +01:00
Rainer Tammer
476145a0f5 patches for AIX with ncurses support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 10:04:38 +02:00
Slava Zanko
862652bd1b Move src/cons.saver into src/consaver/* subdir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
545cb0a194 Changes for build after moving logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
2fa4d9b952 Move logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e2f8a48ed8 Changes for build after moving strutils into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e07ba16b3b Moved strecape.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7c5212642e Changes for build after moving interface includes
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
25155c311a Move all interface includes from subdirs lib/*/*.h into lib/*.h
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7815c9c7a8 Reorganization of usage external libs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
cd4dbf3a09 Changes for build after moving strutil into lib
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
7fa24fbc9b Moved strutil-related stuff from src into lib/strutil/*
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
c764f3b84c Changes for build after moving util.[ch]
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
99abd3ab9a Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
dbaff2b6f6 Reorganization of sources. Part 2
* moved src/fileloc.h into lib/fileloc.h
 * moved src/timefmt.h into lib/timefmt.h
 * removed unneedded includes into src/util.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
93dbc46e9c Reorganization of sources. Part 1.
* moved src/global.h into lib/global.h
 * moved glibcompat.[ch] from ./src/ into ./lib/
 * moved fs.h from ./src/ into ./lib/

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
39d5b94cac Reorganized pathes to files in '#include' directives 2010-01-26 10:30:22 +02:00
Slava Zanko
ddb9ada2e8 Changes in sources matched with mass movement of $(srcdir)/src/*/ into $(srcdir)/lib/*/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
4f11e4b665 Massive moved some dirs from $(srcdir)/src into $(srcdir)/lib
Moved subdirs:
 * filehighlight
 * mcconfig
 * search
 * skin
 * tty

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
52f6bed7d0 Moved dir $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Also, initial support of library directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Mikhail S. Pobolovets
a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Slava Zanko
73159dbc32 Move all hints-files from lib to doc/hints 2009-05-08 13:23:42 +03:00
Slava Zanko
2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Mikhail S. Pobolovets
04a446b237 Merge branch '324_viewing_man_w_references' 2009-04-17 21:33:18 +03:00
Sergei Trofimovich
8f181d9e42 mc.ext: man: fixed cat as fallback for zsoelim
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-04-17 21:16:17 +03:00
Mikhail S. Pobolovets
b20cd38d0d * lib/mc.ext.in: fix: if zsoelim is absent use cat instead
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 23:33:49 +03:00
Mikhail S. Pobolovets
07584c35c7 Merge branch '190_srpm_support' 2009-04-16 22:31:48 +03:00
Mikhail S. Pobolovets
a83de0cc46 * lib/mc.ext.in:
Fixes a problem with viewing manual pages that
    references other pages.

    Original discussion at:
    https://bugzilla.novell.com/show_bug.cgi?id=489757

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 11:41:39 +03:00
Mikhail S. Pobolovets
f021c090f9 * lib/mc.ext.in:
Tar is missing a - as argument fix

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:57:43 +03:00
Mikhail S. Pobolovets
d178dffaec * lib/mc.ext.in:
Now mc also tries to use antiword if aviable

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:47:23 +03:00
Mikhail S. Pobolovets
0cb9da2bd6 * lib/mc.ext.in:
Now mc tries to search for a installed text-webbrowser and
    try to use them instead of only trying lynx.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 09:46:12 +03:00
Ilia Maslakov
3b5e2c052f Merge branch 'utf-8' into master
resolve conflicts:
	configure.ac
	src/complete.c
	src/file.c
	src/layout.c
	src/main.c
	src/menu.c
	src/screen.c
	src/util.c
	src/widget.c
	src/widget.h
2009-04-04 19:50:46 +00:00
Mikhail S. Pobolovets
551e9e5153 lib/mc.ext.in: Fixed: Wrong position of .glade 'open'
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-20 11:35:51 +02:00
Slava Zanko
37ccd9ccac Open .glade support in mc.ext
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-03-20 11:14:45 +02:00
Mikhail S. Pobolovets
5fd1537717 lib/mc.ext.in: command line options fix by adamw (#183)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 11:11:58 +02:00
Mikhail S. Pobolovets
70e800fc58 mandriva: Srpm support for extfs
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 13:28:40 +02:00
Mikhail S. Pobolovets
da3b76b8d7 Merge branch '176_lzma' 2009-02-21 12:23:50 +02:00
Enrico Weigelt, metux IT service
220f4f4caf manually merged mc-4.6 2009-02-05 07:25:47 +01:00
Enrico Weigelt, metux IT service
161dc235a6 lib/mc.sh.in: fixes for non-bash shells (fixing #196) 2009-02-04 22:39:27 +01:00
Enrico Weigelt, metux IT service
a5ba278729 merged in lzma patch from mandriva 2009-02-04 21:16:00 +01:00
Enrico Weigelt, metux IT service
e5cad3802b Merge commit 'origin/mc-4.6' 2009-02-04 00:44:39 +01:00
Enrico Weigelt, metux IT service
d4927f99ef Merge commit 'origin/201_historic_compressors' 2009-02-04 00:41:30 +01:00
Enrico Weigelt, metux IT service
dd6f2d7362 added patch by angel_il on #219 2009-02-03 19:10:58 +01:00
Mikhail S. Pobolovets
19716b790a Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 22:18:12 +02:00
Mikhail S. Pobolovets
8bc0e27a54 Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 21:00:35 +02:00
Slava Zanko
8fe8a1fc38 Add UTF-8 charset to list of charsets. 2009-01-26 12:20:41 +02:00
Slava Zanko
86fb0bfc03 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:15:35 +02:00
Slava Zanko
753f65c242 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:00:33 +02:00
Enrico Weigelt, metux IT service
173ca89fca merged jpelletier's patch for historic archive formats 2009-01-24 04:59:34 +01:00
Slava Zanko
9623a85506 lib/mc.ext.in: change filemask for recognize 7z-files
vfs/extfs/u7z:
  - change only LC_DATE global variable for correct work with arhive;
  - add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Enrico Weigelt, metux IT service
315633ecce changed the HQ to http://www.midnight-commander.org/ 2009-01-11 21:37:27 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01:00
Slava Zanko
aad7c6c317 Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
Pavel Tsekov
7c190bc576 * lib/mc.ext.in: Play .flv files. 2007-11-02 14:20:27 +00:00
Pavel Tsekov
97c4582e9c * FAQ: Update MC's homepage url.
* README: Ditto.
* mc.qpg.in: Ditto.
* mc.spec.in: Ditto.
* doc/mc.1.in: Ditto.
* doc/mcedit.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
* doc/mcview.1.in: Ditto.
* doc/es/mc.1.in: Ditto.
* doc/hu/mc.1.in: Ditto.
* doc/it/mc.1.in: Ditto.
* doc/pl/mc.1.in: Ditto.
* doc/ru/mc.1.in: Ditto.
* doc/sr/mc.1.in: Ditto.
* doc/sr/mcserv.8.in: Ditto.
* lib/mc.hint: Ditto.
* lib/mc.hint.cs: Ditto.
* lib/mc.hint.es: Ditto.
* lib/mc.hint.hu: Ditto.
* lib/mc.hint.it: Ditto.
* lib/mc.hint.nl: Ditto.
* lib/mc.hint.pl: Ditto.
* lib/mc.hint.ru: Ditto.
* lib/mc.hint.sr: Ditto.
* lib/mc.hint.uk: Ditto.
* lib/mc.hint.zh: Ditto.
2007-09-24 12:40:47 +00:00
Pavel Roskin
b3ae812c32 * mc.ext.in: Call xmms consistently. Never preserve the
existing queue (it was done for wav, but not for mp3 files).
Preserving the queue is not a good idea if mc is used to move
the files around.  Always redirect stdout and stderr to
/dev/null.
2006-12-28 03:57:01 +00:00
Leonard den Ottolander
e2959bb66a * mc.ext.in: ipkg package manager uses gzipped tars (.ipk). 2006-06-22 12:57:00 +00:00
Leonard den Ottolander
6b2b857e48 mc.ext.in: Loosen match for mailbox. 2006-06-05 10:24:35 +00:00
Leonard den Ottolander
b0b8d116ad * mc.ext.in: Open mailboxes using mailfs. 2006-05-28 12:40:21 +00:00
Pavel Tsekov
c826992e1e * lib/mc.ext.in: Improve output of the View command for debian packages. 2006-03-23 16:00:08 +00:00
Leonard den Ottolander
1624165a91 * lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not
portable to f.e. SunOS. Use backticks instead.
2006-03-18 13:05:52 +00:00
Pavel Tsekov
239d8a64c2 * lib/mc.ext.in: Add support for Perl .pod files. 2006-03-15 16:28:27 +00:00
Leonard den Ottolander
118b31fa91 * lib/mc-wrapper.sh.in: Handle user names with spaces.
* lib/mc-wrapper.csh.in: Likewise.
2006-02-28 22:42:52 +00:00
Leonard den Ottolander
199cc08828 * lib/mc.ext.in: Open gimp in the background. 2006-02-19 12:04:03 +00:00
Pavel Tsekov
b3fa1f0a3e * src/cmd.c: When invoking external viewer, probe VIEWER environment
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00
Roland Illig
009400124c Added newline. :) 2005-09-06 09:20:29 +00:00
Roland Illig
42a100029b * mc.ext: nm(1) view is enabled for all ELF files, not just
files ending in .o.
2005-09-06 09:20:01 +00:00
Roland Illig
e0898803a1 * mc.menu: %d is already quoted, so it must not be written "%d". 2005-09-06 06:01:07 +00:00
Pavel Roskin
179aa43514 * lib/mc.ext.in: Restore support for opening 7-zip archives. 2005-07-20 21:28:50 +00:00
Pavel Roskin
680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Leonard den Ottolander
b7552a4e40 lib/mc.ext.in: Match log files as plain text; match local man pages; add fixes
for gzipped man pages to plain and bzipped man pages.
2005-07-03 15:04:11 +00:00
Leonard den Ottolander
2704385e05 lib/mc.ext.in: Move matches for plain compressed files down. 2005-07-03 12:43:15 +00:00
Pavel Roskin
a52ce4e9ac * lib/mc.ext.in: Support opening for 7-Zip archives. 2005-06-22 02:23:50 +00:00
Roland Illig
bba40f1e93 * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-06-06 00:05:25 +00:00
Andrew V. Samoilov
966f5cb430 * lib/mc.ext.in: Added support for .7z archives. 2005-05-30 08:12:17 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Pavel Roskin
ef3e4ddcc9 * lib/mc.ext.in: Add OpenOffice.org 2 extensions, use o3totxt
to view OpenOffice.org documents.
2005-05-13 15:09:55 +00:00
Roland Illig
afce6c8106 * lib/mc.ext.in: Recognize either *.udeb or *.deb as Debian
packages. Fixes Savannah patch #3899.
2005-04-16 10:24:46 +00:00
Andrew V. Samoilov
89accff625 * lib/mc.ext.in: Add a few sound formats that "play" and "mikmod"
utility knows.
2004-10-28 06:19:23 +00:00
Andrew V. Samoilov
0112ed6d65 * lib/mc.ext.in: Use xmms for audio files in XWindows mode.
Add support for *.wma files. Add support for playlists.
2004-10-20 05:14:42 +00:00
Andrew V. Samoilov
b01dc1030f * lib/mc.lib: Add gnome, rxvt and xterm-new terminals. 2004-09-10 09:23:43 +00:00
Andrew V. Samoilov
9278084559 Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231) 2004-08-17 08:31:16 +00:00
Pavel Roskin
3738fbba68 * lib/mc.ext.in: Use gqview instead of ee for images. ee seems
to be is obsolete.  Suggested by Marcel Pol <mpol@gmx.net>
2004-04-02 07:22:18 +00:00
Pavel Roskin
970793d4e2 * lib/mc.ext.in: Recognize *.tb2 and *.tbz files. 2004-01-22 07:40:51 +00:00
Pavel Roskin
c5a633d8ab Update from Arpad Biro. 2004-01-19 17:22:06 +00:00
Pavel Roskin
6a9f6d29c4 Changes from Strahinya Radich. 2003-10-10 21:06:41 +00:00
Pavel Roskin
86d951b9c4 Remove references to obsolete xterm fixes. 2003-10-08 19:40:58 +00:00
Pavel Roskin
5670baccb4 Update some URLs. From Frederic L. W. Meunier <lists@pervalidus.tk> 2003-09-28 20:04:05 +00:00
Pavel Roskin
6a728cb3f9 * lib/*.ti: Remove, these files are obsolete.
* lib/tdiff: Likewise.
* lib/xterm.tcap: Likewise.
* lib/Makefile.am: Remove obsolete files.  Don't install
README.xterm and xterm.ad, there are partly obsolete and can
break things if used as is.
2003-09-23 06:11:19 +00:00
Pavel Roskin
887d889906 Fix typos.
Reported by GoTaR <gotar@poczta.onet.pl>
2003-09-23 05:54:27 +00:00
Pavel Roskin
c92b530b5f * lib/mc.hint.sr: Updated.
* lib/mc.menu.sr: New file - translated menu.
* lib/Makefile.am: Add mc.menu.sr.
* doc/sr/: New Serbian documentation.
* doc/Makefile.am: Add "sr" directory.
* configure.in: Add substitutions for new files.
2003-09-22 21:04:59 +00:00
Pavel Roskin
a3a8b91ced Add mc.hint.sr. 2003-09-12 02:53:44 +00:00
Pavel Roskin
58d1d9fe2b * lib/mc.hint.sr: New file - Serbian hints. 2003-09-11 21:22:44 +00:00
Pavel Roskin
294cf76b3b Unset EXT just in case. 2003-09-10 00:17:25 +00:00
Pavel Roskin
2355c67ada * lib/mc.menu: Add entry for viewing manual pages. 2003-09-04 17:05:33 +00:00
Pavel Roskin
807db8eda2 * lib/mc-wrapper.csh.in: Use "id" command to find the real user
id.  $USER is not reliable.
* lib/mc-wrapper.sh.in: Likewise.
Reported by Figura Peter <peterf@autus.sk>
2003-08-18 16:44:22 +00:00
Pavel Roskin
8c4a0aa3c0 * lib/cedit.menu: Avoid using "id -u", it doesn't work on
Solaris.  From Andrew V. Samoilov <andrew@email.zp.ua>
2003-08-02 23:01:51 +00:00
Pavel Roskin
ff9c544b88 * lib/mc.lib: Add more "end" and "home" sequences for xterm. 2003-07-23 05:48:55 +00:00
Pavel Roskin
c1d9304c3f * lib/mc.hint.cs: Typo fixes. 2003-06-29 23:18:23 +00:00
Pavel Roskin
e54ac85df6 * lib/mc.ext: Allow ZIP in all capitals in "file" output. 2003-06-23 17:00:57 +00:00
Pavel Roskin
f0e6a9d522 * lib/mc.ext.in: Don't run compressed logs from /var/log through
nroff.  Suggested by Alfie Costa <agcosta@gmx.net>
2003-06-06 23:40:05 +00:00
Pavel Roskin
31e038ded1 * configure.in: Add vfs/extfs/iso9660 to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ISO images.
2003-04-29 16:05:12 +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
c13e3a213a * lib/mc.ext.in: Add entry for QNX Neutrino packages. 2003-02-23 05:52:05 +00:00
Pavel Roskin
3d26743be6 Remove copyright notices. 2003-02-12 23:48:53 +00:00
Pavel Roskin
9180186101 * lib/mc.ext.in: Fix missing comma that affected viewing RPM packages. 2003-01-30 00:27:33 +00:00
Andrew V. Samoilov
86d8893548 shell desc does not allow wildcards.
* regex/\.(rpm/spm)$: Use --nosignature only if rpm supports this.
2003-01-28 06:58:18 +00:00
David Martin
e886207c20 Update Spanish messages and help. 2003-01-13 11:02:20 +00:00
Pavel Roskin
eaf4ca610d Remove old download location. 2002-12-27 14:31:57 +00:00
Pavel Roskin
201dbae818 * lib/mc.ext.in: Use --nosignature with rpm to avoid a message
in the viewer about unsigned packages.
2002-12-24 23:01:43 +00:00
Pavel Roskin
336183ab5d * lib/mc.ext.in: Play *.mov by mplayer. 2002-12-24 08:30:51 +00:00
Pavel Roskin
1ef9add08b Use lha, not lharc. 2002-12-14 04:41:19 +00:00
Pavel Roskin
b594ab56c4 Add support for lslR archives compressed by bzip2. 2002-12-12 08:33:00 +00:00
Pavel Roskin
63894e4080 * lib/mc.ext.in: Remove ftplist. Add patchfs. 2002-12-09 20:27:24 +00:00
Pavel Roskin
b246f3c7ea s/Could not/Cannot/ 2002-12-08 01:12:18 +00:00
Andrew V. Samoilov
9cd542a5d7 * lib/mc.menu: Don't use --repetitive-best option with bzip2 -
it is redundant in versions 0.9.5 and above.
2002-11-14 10:50:23 +00:00
Pavel Roskin
2797997f9c * lib/edit.indent.rc: Remove all options for indent and add a
comment explaining where those options should be.
2002-11-06 20:27:06 +00:00
Pavel Roskin
f218f0224e * lib/mc-wrapper.csh.in: Remove /bin/csh at the beginning - this
script is not meant to be executed by the kernel.  This also
eliminates dependency of the RPM package on csh.
* lib/mc-wrapper.sh.in: Remove /bin/sh at the beginning.
2002-11-05 18:46:10 +00:00
Marco Ciampa
21b5823b5d Reset changes made in Makefile.am for mistake. 2002-11-05 18:42:57 +00:00
Marco Ciampa
f203f0208e fixed creation mc-wrapper.csh & mc-wrapper.sh 2002-11-05 17:05:28 +00:00
Marco Ciampa
513941ad49 mc.sh & mc.csh creation fixed... 2002-11-05 16:53:16 +00:00
Pavel Roskin
4107d9a672 Remove mc-gnome.ext, add wrappers. 2002-11-01 21:03:01 +00:00
Pavel Roskin
2be7e8d4ea Remove argument passing, it's not needed for aliases. 2002-11-01 19:48:45 +00:00
Pavel Roskin
68ace346be Fix to pass "make distcheck". 2002-11-01 18:21:14 +00:00
Pavel Roskin
83cb1dd047 * configure.in: Don't substitute mc.sh and mc.csh - it's now
done ...
* lib/Makefile.am: ... here.  Add wrappers for mc to avoid
defining complex shell scripts in functions and aliases.
* lib/mc-wrapper.csh.in: New file - template for the script
that runs mc and changes directory in csh.
* lib/mc-wrapper.sh.in: New file - template for the script
that runs mc and changes directory in sh.
2002-11-01 18:10:20 +00:00
Pavel Roskin
d8c9fe58f1 * lib/mc.csh.in: Add quoting and check for missing file. 2002-10-31 16:55:57 +00:00
Pavel Roskin
a9ec61a020 Add some protection. 2002-10-31 14:45:25 +00:00
Pavel Roskin
cca4ac1b16 * lib/mc.csh.in: Update to use the new -P option. This script
has absolutely no protection against special symbols in
directory names and lacks TMPDIR support.
2002-10-31 06:30:53 +00:00
Pavel Roskin
9b75f6df97 Respect TMPDIR environment variable. 2002-10-31 05:36:54 +00:00
Pavel Roskin
f5bf601c7c * lib/mc.sh.in: Update to use the new -P option. 2002-10-31 05:26:54 +00:00
Pavel Roskin
38e3189d0a * lib/mc.ext.in: Rename TROFFASCII to MAN_FLAGS.
* configure.in: Likewise.  Add "-c" (disable ANSI color) to
MAN_FLAGS if supported.
2002-10-30 02:37:48 +00:00
Pavel Roskin
f5bc8ca14a * lib/mc.ext.in: Don't use links to view html - the "-dump"
option has been removed in the recent versions.
From David Martin <dmartina@excite.com>
2002-10-24 04:57:51 +00:00
Pavel Roskin
48dcdf714e Shorten the homepage hint.
From Peter Masiar <peter.masiar@yale.edu>
2002-10-23 19:20:13 +00:00
Pavel Roskin
df98f2a2dc Update the homepage address. 2002-10-23 05:22:17 +00:00
Pavel Roskin
af1c9c0775 Update from David Martin <dmartina@excite.com> 2002-10-14 13:24:24 +00:00
Pavel Roskin
bfec8a5fe7 * lib/mc.ext.in: Don't use "-dump" option with "links".
From David Martin <dmartina@excite.com>
2002-10-14 13:10:40 +00:00
Pavel Roskin
3e79378af6 * lib/mc.hint*: Remove all references to "-1" - hints file is no
substitute to unambigous GUI.
From Christian Laubscher <christian.laubscher@tiscalinet.ch>
2002-10-13 23:29:04 +00:00
Pavel Roskin
6f85fe6f90 * lib/mc.ext.in: Redirect stderr from "links" to suppress a
warning if it's not found.
2002-10-12 20:07:58 +00:00
Marco Ciampa
5683eb30cb in italian after a comma is an error to start with uppercase... 2002-09-22 13:55:28 +00:00
Pavel Roskin
748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
0e0dc9d33a * lib/mc.menu: Don't call tarballs "releases". Don't
dereference symlinks.
2002-09-12 19:21:13 +00:00
Pavel Roskin
110af08b0b * lib/mc.ext.in: Remove edit rules for compressed files that
were compressing even unchanged files - the editor itself can
handle compression better.
2002-09-04 19:01:13 +00:00
Pavel Roskin
3fd891256c * lib/mc.ext.in: Add new OpenOffice.org formats. Always use
OpenOffice.org, not StarOffice.  Add more video formats.
2002-08-27 06:33:47 +00:00
Pavel Roskin
27b3644329 * lib/mc.ext.in: Use gzip instead of gunzip and compress. Avoid
unnecessary pipeline.  Redirect stderr from cpio, because it can
be non-empty even for successful operations.
2002-08-27 05:59:06 +00:00
Pavel Roskin
b54612721c * lib/mcserv.init: Update from Red Hat package.
* lib/mcserv.pamd: Likewise.
2002-08-26 03:46:17 +00:00
Pavel Roskin
15a6a98f18 * mc.sh.in: Only bash needs the mc() function to be exported. 2002-08-25 19:40:24 +00:00
Pavel Roskin
723739afc8 * lib/edit.indent.rc: Use tidy to format HTML.
From David Martin <dmartina@excite.com>
2002-08-24 18:09:45 +00:00
Pavel Roskin
d40f336c24 * lib/cedit.menu: Remove all references to the error file.
* lib/edit.indent.rc: Likewise.
* lib/edit.spell.rc: Likewise.
2002-08-24 17:39:07 +00:00
Pavel Roskin
9ff6874d9e * lib/mc.ext.in: Try links before lynx. Force full path when
invoking X11 browsers - it breaks VFS, but VFS support in mc.ext
is already broken if the program starts in background.  Add a
comment discouraging taking this code as example.
2002-08-19 02:27:19 +00:00
Pavel Roskin
ab104ea1f5 * lib/mc.menu: Remove all references to $MC_CONTROL_FILE, which
was unsafe by design and is no longer supported.  Use %t instead
of %u to preserve tags in case of failure.
2002-08-18 22:53:07 +00:00
Pavel Roskin
785ff75d4f * lib/mc.global: Remove, it duplicates the role of mc.lib.
* lib/mc.lib: Add contents of mc.global.
* lib/Makefile.am: Remove all references to mc.global.
2002-08-17 01:16:02 +00:00
Pavel Roskin
62a7a04fe5 * lib/mc.hlp.hu: Move ...
* doc/hu/mc.hlp.hu: ... here.  Make all necessary adjustments.
2002-08-14 06:18:48 +00:00
Pavel Roskin
369316e6f0 Purge comments that make no sence now (Drop, Title, user-defined commands). 2002-08-10 00:18:07 +00:00
Pavel Roskin
5a6b3d6b61 * lib/mc.ext.in: Remove all unrecognized actions (e.g. Extract)
and entries that are obsolete or make no sence.
2002-08-09 23:19:53 +00:00
Pavel Roskin
56368fe9f2 * lib/xnc.hlp: Move ...
* doc/xnc.hlp: ... here.
* doc/Makefile.am: Necessary adjustments.
* lib/Makefile.am: Likewise.
* src/Makefile.am: Likewise.
2002-08-09 21:55:20 +00:00
Pavel Roskin
f68aab696c * lib/mc.lib: Add f11-f20 keys for Konsole. 2002-08-07 23:43:58 +00:00
Pavel Roskin
c819e0de4d * lib/mc.ext.in: Open *.doc and *.rtf files with abiword by
default. Open *.xls with gnumeric.  Use mplayer for most video
formats.
2002-07-28 21:04:36 +00:00
Pavel Roskin
e0a1975590 * lib/mc.ext.in: Remove handling of executables. They should
be handled internally for "pause after run" to work.
2002-07-16 05:16:45 +00:00
Pavel Roskin
23b183df45 * lib/mc.ext.in: Add support for *.rmi files - latest TiMidity++
can play them.
2002-04-21 04:09:02 +00:00
Pavel Roskin
8b5418771b * lib/mc.ext.in: Run "file" before "nm" to avoid an error
message "no symbol found" for unsupported architectures and
provide more useful information.
2002-02-26 23:59:55 +00:00
Andrew V. Samoilov
f04c521675 * lib/edit.indent.rc: Use "#! /bin/sh"
* lib/edit.spell.rc: Likewise.
* lib/mcserv.init: Likewise.
2002-02-21 14:18:46 +00:00
Andrew V. Samoilov
14f1557b8c * lib/cedit.menu: Eliminate bashisms.
Add missed `:' in AUTHOR evaluation.
Unset LANGUAGE and make LC_ALL empty.
Use "#! /path/to/program".
2002-02-21 14:15:28 +00:00
Pavel Roskin
a2ee840c65 * lib/mc.menu: Correct quoting.
Reported by Matthias Urban <murban@cs.uni-magdeburg.de>
2002-01-03 16:33:08 +00:00
Marco Ciampa
c8e31fc95a Changed Learn keys menu - corrected. 2001-12-17 16:02:33 +00:00
Pavel Roskin
bfb469435d * lib/mc.ext.in: Use "type" to recognize zip and lha archives. 2001-11-29 21:27:55 +00:00
Pavel Roskin
efe14b8bf1 * lib/mc.ext.in: When running X programs in background, do it
from subshell.  Otherwise some of them terminate when mc exits.
Reported by Christian Dysthe <christian@dysthe.net>
Remove some obsolete and gmc-specific entries.  Use StarOffice
to open files detected as "Microsoft Office Document".
2001-11-28 00:25:44 +00:00
Pavel Roskin
6e6eb3465e * lib/mc.lib: Support "Home" and "End" sequences in xterm from
XFree86 4.1.0.
2001-11-27 16:23:40 +00:00
Andrew V. Samoilov
07302c86a4 * lib/mc.menu (Extract compressed tar files to subdirectories): Use $i in case statement 2001-11-22 09:28:04 +00:00
Pavel Roskin
3fe616ace4 * lib/mc.ext.in: Add support for Netpbm files. 2001-10-30 08:08:04 +00:00
Andrew V. Samoilov
6c1fabe920 * mc.hint.ru: Fix typo. 2001-10-18 09:34:44 +00:00
Pavel Roskin
ddcec565ec * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a
Makefile.  Don't allow any suffixes after "Makefile".
2001-10-16 07:30:33 +00:00
Pavel Roskin
fcebeec60c * lib/mc.ext.in: Add support for *.xcf files (native GIMP
format).
2001-10-12 06:32:58 +00:00
Pavel Roskin
f30f16c588 * lib/mc.menu: Use "case" instead of non-portable "egrep -q".
Fix compress<->bzip2 conversion and conversion of tagged
archives.
2001-10-06 08:54:05 +00:00
Pavel Roskin
23bdfba2a6 * lib/mc.ext.in: Use ogginfo to view *.ogg files.
Suggested by Marcel Pol <mpol@gmx.net>
2001-10-05 22:41:33 +00:00
Pavel Roskin
b3cd72c2df * lib/mc.ext.in: Use xmms to play *.mp3 under X. When viewing
*.mp3, use "verbose" option to mpg123.  Add support for *.ogg
and *.mid files.
2001-10-05 05:51:26 +00:00
Pavel Roskin
6f248850ea * lib/edit.spell.rc: Try aspell before resorting to ispell. 2001-09-20 01:13:29 +00:00
Pavel Roskin
33b09eee48 * configure.in: Update list of browsers. Don't fallback to
lynx since it cannot be run in background.
* lib/mc.ext.in: Redirect output of X11 browsers to /dev/null.
If no browser for X11 was found, use lynx.
2001-09-12 22:10:37 +00:00
Pavel Roskin
9b0385f063 * lib/ncurses.h: Remove.
* lib/Makefile.am: Remove ncurses.h.
2001-09-03 02:47:38 +00:00
Pavel Roskin
d0ae217d83 * lib/startup.links: Remove.
* lib/README.desktop: Likewise.
* lib/Makefile.am: Remove all references to DESKTOP_FILES.
2001-08-24 18:39:59 +00:00
Pavel Roskin
11bc824c4a * lib/edit.indent.rc: Create cooledit.error right away to
override its old contents.  Don't use ksh extentions.  Treat *.C
files as C++.  Recognize more C++ extensions.  Support java.
Update URL for "astyle".  Quote all arguments to protect spaces.
* lib/edit.spell.rc: Don't save terminal settings - mc does it
itself.  Quote all arguments to protect spaces.
2001-08-23 17:45:33 +00:00
Pavel Roskin
0482535bf5 * doc-gnome/C/figs/Makefile.am: Don't install GNOME-specific
files if GNOME frontend is disabled.
* idl/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* new_icons/Makefile.am: Likewise.
2001-08-21 04:43:03 +00:00
Andras Timar
e04c443bb2 2001-08-19 Andras Timar <timar@gnome.hu>
* lib/Makefile.am: Added Hungarian hints
        * lib/mc.hint.hu: by Arpad Biro <biro_arpad@yahoo.com>
2001-08-19 18:36:26 +00:00
Pavel Roskin
18831a11b0 * lib/mc.lib: Add definition for "bs" for xterm and xterm-color. 2001-08-19 16:07:04 +00:00