Andreas Mohr
8f4b10bdfd
Ticket #4615 : (web.sh) - select browser at runtime fixes
...
- use POSIX compatible builtin 'command' (all ext.d scripts use it)
- allow 'web.sh' git handling
Signed-off-by: Andreas Mohr <and@gmx.li >
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-12-19 20:29:07 +03:00
Andreas Mohr
e3689b52b1
Ticket #4615 : web.sh - select browser at runtime
...
Current browser selection happen on compile time and should change to runtime selection.
- add chromium browser to list
- bonus: remove shellcheck warning
Signed-off-by: Andreas Mohr <and@gmx.li >
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-12-17 09:32:22 +03:00
Yury V. Zaytsev
63a51cdcd7
Ticket #4609 : treat Rust crates as tar.gz archives
...
534ce68621/src/cargo/ops/cargo_package.rs (L185)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-12-06 16:13:02 +03:00
Yury V. Zaytsev
f0107ce193
Ticket #2633 : add xterm-clear terminal definition for FreeBSD termcap
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-10-22 13:21:19 +02:00
Dmitry Atamanov
8fc494fa63
Ticket #4572 : code cleanup before 4.8.33 release
...
Add shtml to mc.ext.ini (closes MidnightCommander/mc#205 )
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-10-05 15:05:58 +03:00
Yury V. Zaytsev
1e0e6b5e1e
charset: rename IBM866 to CP866 for iconv and adjust charset names for codeset
...
```
linux $ iconv -l | grep 866
866//
866NAV//
CP866//
CP866NAV//
CSIBM866//
IBM866//
IBM866NAV//
solaris $ iconv -l | grep 866
CP866 (CP866, CP-866, CP_866, 866),
IBM-866,
macos % iconv -l | grep 866
CP866 866 CSIBM866 IBM866 MSCP866
musl/src/locale/codepages.h: "cp866\0"
```
On glibc-based systems, codeset will be set to charmap name, on most other systems it seems to be taken from locale name.
## Linux
```
zaytsev@fedora:~$ locale -a | grep ru
ru_RU
ru_RU.cp866
ru_RU.ibm866
ru_RU.iso88595
ru_RU.koi8r
ru_RU.utf8
russian
ru_UA
ru_UA.koi8u
ru_UA.utf8
zaytsev@fedora:~/src$ LC_ALL=ru_RU.cp866 LANG=ru_RU.cp866 ./a.out
IBM866
zaytsev@fedora:~/src$ LC_ALL=ru_RU.koi8r LANG=ru_RU.koi8r ./a.out
KOI8-R
zaytsev@fedora:~/src$ LC_ALL=ru_RU.iso88595 LANG=ru_RU.iso88595 ./a.out
ISO-8859-5
```
## macOS
```
ru_RU.ISO8859-5
ru_RU.CP866
ru_RU.CP1251
ru_RU.UTF-8
ru_RU.KOI8-R
ru_RU
zaytsev@Yurys-MBP mc % LANG=ru_RU.CP866 LC_ALL=ru_RU.CP866 ./a.out
CP866
zaytsev@Yurys-MBP mc % LANG=ru_RU.ISO8859-5 LC_ALL=ru_RU.ISO8859-5 ./a.out
ISO8859-5
```
## FreeBSD
```
ru_RU.CP1251
ru_RU.CP866
ru_RU.ISO8859-5
ru_RU.KOI8-R
ru_RU.UTF-8
zaytsev@cfarm240:~ $ LANG=ru_RU.ISO8859-5 LC_ALL=ru_RU.ISO8859-5 ./a.out
ISO8859-5
zaytsev@cfarm240:~ $ LANG=ru_RU.CP866 LC_ALL=ru_RU.CP866 ./a.out
CP866
```
## Solaris
```
ru
ru.UTF-8
ru.koi8-r
ru_RU
ru_RU.ANSI1251
ru_RU.ISO8859-5
ru_RU.KOI8-R
ru_RU.UTF-8
zaytsev@gcc-solaris10:~/src$ LANG=ru_RU.ISO8859-5 LC_ALL=ru_RU.ISO8859-5 ./a.o>
ISO8859-5
zaytsev@gcc-solaris10:~/src$ LANG=ru.koi8-r LC_ALL=ru.koi8-r ./a.out
KOI8-R
```
## AIX
```
zaytsev@gcc111:[/home/zaytsev]locale -a
C
POSIX
en_US.8859-15
en_US.IBM-858
en_US.ISO8859-1
en_US
-bash-5.1$ LANG=en_US.ISO8859-1 LC_ALL=en_US.ISO8859-1 ./a.out
ISO8859-1
```
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-10-05 11:49:26 +02:00
Kirill Rekhov
f425b90402
Ticket #4588 : add vim keymap
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-09-23 14:00:47 +02:00
Yury V. Zaytsev
50976cec62
shell: replace which with command -v for speed and POSIX compatibility
...
https://stackoverflow.com/a/677212/5132088
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-09-11 08:45:25 +02:00
Yury V. Zaytsev
572312bd88
Ticket #4479 : prioritize console players for audio/video and images
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-09-10 10:00:28 +02:00
Andrey Semashev
92f56dc679
Ticket #4583 : Fix a typo for apt view command line.
...
Fixes MidnightCommander/mc#206 .
Signed-off-by: Yury V. Zaytsev <yury@shurup.com >
2024-09-05 10:57:05 +02:00
Morthimer McMare
cd8355bfa8
Ticket #4556 : color definitions in the "c.syntax" highlight file.
...
Definitions are provided for:
- Various punctuation (divided into 9 groups);
- Preprocessor;
- Keywords;
- Data types;
- Data type qualifiers;
- Numbers (can be different for the integer, hexadecimal, octal and floatpoint representations);
- Strings and escaped characters;
- Comments (with keywords like "TODO:");
- Labels.
In total 32 "defines"...
Based on the original "c.syntax" file, this version includes most of the content from C89..C23.
Closes MidnightCommander/mc#203 .
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-07-25 21:38:44 +03:00
Yury V. Zaytsev
9f02d1339d
mc.ext.ini: grammar.
2024-05-30 21:17:00 +03:00
Andrew Borodin
3d9ff0fbb7
mc.ext.ini.in: escape dot in gettext catalogs regex.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-05-30 21:17:00 +03:00
Andrew Borodin
4988414f18
Ticket #4502 : mc.ext.ini: escape literal parenthesis, don't escape spaces.
...
Escape literal parenthesis with double backslashes: \\( \\).
Spaces are no need to be escaped.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-05-30 21:17:00 +03:00
Eugene San (eugenesan)
ce571933c9
Ticket #4536 : skins: add root variant of julia256 skin.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-05-09 09:53:15 +03:00
Eugene San (eugenesan)
09077ff3c1
skins: modarin256-thin.ini: fix typo.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-05-09 09:52:15 +03:00
Dmitry Atamanov
9fb4261334
mcedit: update C and C++ syntax highlightings.
...
Closes MidnightCommander/mc#195 .
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-04-07 16:01:47 +03:00
Eugene San (eugenesan)
ad2431c40f
skins: add modarin256 thin and root variant.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-03-23 09:47:33 +03:00
Eugene San (eugenesan)
7b9e2db5cf
skins: add modarcon16 thin and root variant.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-03-23 09:47:29 +03:00
Eugene San (eugenesan)
2f4d7095f4
skins: add xoria thin and root variant.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-03-23 09:29:46 +03:00
Eugene San (eugenesan)
5d64768e22
Ticket #4530 : new skins.
...
Initial commit: xoria256.ini: clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-03-23 09:23:43 +03:00
purdeaandrei
147f28ab24
Ticket #4519 : mcedit: fix php.syntax.
...
Highlight comment located in any place of line, not from start only.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-01-28 11:29:39 +03:00
Andrew Borodin
b03981f1f4
ext.d/image.sh: use exiftool in addition to exif to view image metadata.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-01-13 17:14:57 +03:00
Andrew Borodin
3a160902a1
ext.d/image.sh: check $DISPLAY in the xpm View action.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-01-13 16:13:51 +03:00
Eugene San
51b0b5fe7c
mc.ext.ini: support avif images.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru >
2024-01-13 15:38:40 +03:00