profile
viewpoint

unxed/far2l-deb 41

.deb packages for far2l

unxed/fixhdd 5

hdd bad sectors fix utility

unxed/putty4far2l 3

PuTTY ssh client with far2l extensions

schors/bikable_ru 0

Сайт и движок bikable.ru

unxed/agg 0

Anti-Grain Geometry

unxed/bikable_ru 0

Сайт и движок bikable.ru

unxed/brightness.sh 0

Adjusts screen brightness based on webcam image

unxed/DbSimple 0

Simplest but poverful interface to work with various relational databases.

unxed/far2l 0

Linux port of FAR v2

unxed/far2l-fuse 0

Far2l plugin to ease sshfs[/cifs/davfs2/etc] FUSE mounts

issue commentthemyth92/ngx-lightbox

There is no way to stop event propagation

I'm working it around by checking if lightbox is open in my dialog close code and ignoring ESC if so.

narekharutyunyan

comment created time in 9 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@alkisg new patches for unzip and p7zip using your code snippet (thanks!) new_patches.zip Please test before I upload them to upstream.

btw, one more potential issue is Windows support (both p7zip and unzip are cross platform). Currently our code compiles only for *nix platforms, but oem charset issue may also happen on Windows. Unfortunately I have no Windows to check if it is actually so or some Windows specific code is used in those tools to process oem charset correctly.

gapan

comment created time in 10 days

push eventunxed/oemcp

unxed

commit sha f69f5c838aef5a339e85415dbb90e21b86a853d5

fix segfaults with wrong locales

view details

push time in 10 days

push eventunxed/oemcp

unxed

commit sha b4d63d7ed1da69f081f063e81269ce2cc1817ab8

fixed locale detection

view details

unxed

commit sha 04ffa2cf595773db682325d6c85aea1b2424952b

Merge branch 'master' of https://github.com/unxed/oemcp

view details

push time in 10 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Tested with Serbian. Locales for Cyrillic and Latin are different. For cyrillic, its sr_RS. For latin:

LANG=sr_RS.UTF-8@latin
LANGUAGE=sr_RS
LC_CTYPE="sr_RS.UTF-8@latin"

But I can't find different Latin/Cyrillic locales for Azeri and Uzbek.

gapan

comment created time in 10 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@alkisg that's better, of course! Still some issues:

  1. It we want to do things right, why should we define CP437 three times? We can use lc_to_cp_table[91] instead.
  2. Good idea is to add a check for empty input, like if (lc_len == 0). Without such check lc_to_cp() returns the first cp, 850, instead of default 437 if input is empty.
  3. Not sure if we should interpret partial locale values like "ru". This probably means something goes wrong outside of lc_to_cp(), so better idea is to fall back to default encoding in that case. So we need additional condition like (lc_len == strlen(lc_to_cp_table[i]))
  4. Adding functional code to object-oriented style code of p7zip looks weird, that's why I wrote it as inline code, not external function. But your code can be easily adopted for inline use :)

Also I found several issues with this CP detection method itself

  1. There are two CPs for "az_AZ" in our table. Not sure how to distinguish Azeri Cyrillic from Azeri Latin for that locales. Same with "sr_RS" and "uz_UZ".
  2. iconv does not support CP720, we should implement transcoding ourselfs to support arabic languages. It should not be very hard. cp720 chars are
\x80\x81éâ\x84à\x86çêëèïî\x8d\x8e\x8f\x90\u0651\u0652ô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡\u064b\u064c\u064d\u064e\u064f\u0650≈°∙·√ⁿ²■\u00a0

(from https://github.com/ashtuchkin/iconv-lite/pull/221) so we can just use (character code - 128) as index in that string to get utf-8 char

gapan

comment created time in 10 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Maybe this issue should be renamed to something like "fix handling of non-utf8 file names inside .zip archives"?

gapan

comment created time in 10 days

push eventunxed/oemcp

unxed

commit sha 811bc5edabcaef135f5a5a2dd0f4dcbac22fd12a

Update README.md

view details

push time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

It's honor for me that my small piece of code will benefit the education in Greece!

gapan

comment created time in 11 days

push eventunxed/oemcp

unxed

commit sha b17a1624564988744a179ef942d19b40007f032d

Update README.md

view details

push time in 11 days

push eventunxed/oemcp

unxed

commit sha 16cc11f39de96187a1ba39049a4c637a4a43fed1

Update README.md

view details

push time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Built .deb with patched p7zip for testing purposes. NB, it will overwrite your existing p7zip installation, so install with sudo dpkg -i p7zip-oemcp.deb, uninstall with sudo apt remove p7zip-oemcp && sudo apt reinstall p7zip-full p7zip. This is amd64 package built on Mint 19.03 so it should work on Ubuntu 18.04 and later also.

Engrampa processes file names in OEM charset like a charm with this package installed on my system.

PS: p7zip patch contained two bugs, now they are fixed and everything is working perfectly. Sourceforge issue updated.

gapan

comment created time in 11 days

push eventunxed/oemcp

unxed

commit sha 73639da7fada561a0a87a06867908b4e253c5e18

Add files via upload

view details

push time in 11 days

push eventunxed/oemcp

unxed

commit sha 2186faaa204130f34e2070464b5cb6425c5a93db

Fixed locale processing, now engrampa works fine with patched p7zip

view details

push time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Looks like there is still a problem with engrampa itself.

File name in my test archive is: "Новый текстовый документ.txt".

With vanilla p7zip it is shown in console and also in engrampa as "®¢ë© ⥪áâ®¢ë© ¤®ªã¬¥­â.txt".

With patched p7zip it is shown in console (checked both 7z l sample.zip and 7za l sample.zip) as "Новый текстовый документ.txt".

But engrampa show is as "ì«óδ⌐ ΓѬßΓ«óδ⌐ ñ«¬π¼Ñ¡Γ.txt".

Made .deb with patched p7zip for test purposes (amd64, build on mint 19.03, ubuntu 18.04 compatible). Install by sudo dpkg -i p7zip-oemcp.deb. Remove by sudo apt remove p7zip-oemcp && sudo apt reinstall p7zip-full p7zip. p7zip-oemcp.zip

gapan

comment created time in 11 days

push eventunxed/oemcp

unxed

commit sha b492f5aed5debd0817b28e781301231479022322

Fix strings termination

view details

push time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@alkisg sounds good! If so, can I please ask you (and all over people here also :) to test patched p7zip on your system with different archives to make sure I don't missed anything? I will do the same.

gapan

comment created time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Maybe we can somehow force whose patches to be added on a build stage then building unzip/p7zip packeges for ubuntu? There are dozen of issues on launchpad discussing related problems and even ubuntu blueprint for unzip to detect the encoding of filenames.

gapan

comment created time in 11 days

issue commentelfmz/far2l

multiarc: use system locale to select ANSI/OEM code pages for non-UTF8 zip files

Maybe we have to wait for upstream (unzip) to implement the same behavior for consistency. https://sourceforge.net/p/infozip/patches/29/

unxed

comment created time in 11 days

issue openedelfmz/far2l

strange path changes with multiarc

  1. run fresh instance of far2l (it's important!)
  2. open any archive on right panel
  3. press Alt+F1
  4. press Enter
  5. press Tab
  6. press Enter
  7. left panel folder is changed to "/usr/lib/far2l/Plugins/multiarc/plug/ "

o_O

created time in 11 days

push eventunxed/far2l-deb

unxed

commit sha da230445be23b670654421c9baf082005d0a7e1c

Add files via upload

view details

push time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@gapan with my patches you can use LC_ALL=el_GR.UTF-8 7z x win10test.zip or LC_ALL=ru_RU.UTF-8 7z x win10test.zip or even use alias for those: alias 7z='LC_ALL=el_GR.UTF-8 7z' alias 7z='LC_ALL=ru_RU.UTF-8 7z' Remember you should have do

sudo locale-gen el_GR.UTF-8
sudo locale-gen ru_RU.UTF-8

for this to work

I checked this out with my patched p7zip, it works like a charm.

gapan

comment created time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

btw, how does windows internal zip processing works? if it creates non-UTF8 zip files (for sure it does), where should be some trick for them to be opened correctly on other windows systems

gapan

comment created time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

unar option is great, thanks! works good with russian, but still fails with win10test.zip from here

tested encoding detection lib uchardet for possible use with unzip/p7zip

it works just the same: ok with russian, not ok with win10test.zip same with enca same with chardet

maybe libchardet will show better results, have not tried yet

there also is charset detector from ICU - one more solution to try

gapan

comment created time in 11 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

p7zip with the similar OEM code page auto detection patch applied. Patch itself. Issue on sourceforge.

gapan

comment created time in 12 days

push eventunxed/oemcp

unxed

commit sha 8ff9feab120f2b237dbff4ed0716eed20a972646

Update README.md

view details

push time in 12 days

push eventunxed/oemcp

unxed

commit sha 24417a3a413e9b6d4e8611ead8b09ffcfaa5c2d5

Add files via upload

view details

push time in 12 days

push eventunxed/oemcp

unxed

commit sha b03e989bdcdd7cd9008ce817d6ce8f717bcd135a

Update README.md

view details

push time in 12 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Here is unzip from sourceforge patched for proper code page auto detection. Patch itself. Issue on sourceforge.

gapan

comment created time in 12 days

push eventunxed/oemcp

unxed

commit sha 065959619b1eb735c1c8a0d2e3b29c22e07fe093

Add files via upload

view details

push time in 12 days

issue openedelfmz/far2l

multiarc fails to open encrypted 7z archives

samples: not_opens.zip

created time in 12 days

issue openedelfmz/far2l

7z extracts all files instead of just selected one

  1. Open this archive 111111.zip
  2. Try to extract "111111/test1/folder_1/file_2.txt" with F5
  3. "file_1.txt", "file_2.txt" and "file_3.txt" will all be extracted

same with folders: extracting one forces extraction of all

created time in 12 days

issue openedelfmz/far2l

redundant paths then extracting folders from archives

steps to reproduce:

  1. download this file unzip610b.zip

  2. create empty folder in left panel and enter it

  3. open archive in right panel

  4. go to "windll" folder

  5. copy "csharp" folder to left panel

  6. instead of "csharp" folder, the whole "unzip610b/windll/csharp" folder structure will appear on left panel

same with .tar.bz2, .tar.gz, 7z

created time in 12 days

push eventunxed/far2l-deb

unxed

commit sha 175f0428dae52271f32b8b976da517dc072b203f

Add files via upload

view details

push time in 12 days

issue openedelfmz/far2l

multiarc: use system locale to select ANSI/OEM charset for non-UTF8 zip files

See zip.cpp, starting from here

  if (ZipHeader.Flags&0x800) { // Bit 11 - language encoding flag (EFS) - means filename&comment fields are UTF8
  } else if (ZipHeader.PackOS==11 && ZipHeader.PackVer>20 && ZipHeader.PackVer<25)
    CPToUTF8(CP_ACP, Item->FindData.cFileName,Item->FindData.cFileName, ARRAYSIZE(Item->FindData.cFileName));
  else if (ZipHeader.PackOS==11 || ZipHeader.PackOS==0)
    CPToUTF8(CP_OEMCP, Item->FindData.cFileName, Item->FindData.cFileName, ARRAYSIZE(Item->FindData.cFileName));

This code assumes .zip file has cyrillic encoding, as we have CP_ACP and CP_OEMCP hardcoded to 1251 and 866 in WinPort:

	UINT TranslateCodepage(UINT codepage)
	{
		switch (codepage) {
    		case CP_ACP: return 1251;
    		case CP_OEMCP: return 866;
		}
		return codepage;
	}

Better solution would be to get LANGUAGE parameter from locale command output and use corresponding ANSI/OEM code page for that language.

But how to convert strings like "ru_RU" to code page numbers? To achieve this I wrote a simple perl script that parses dlls/kernel32/nls files from wine source tree.

#!/usr/bin/perl

$dir = ".";
opendir DIR, $dir;
my @dir = readdir(DIR);
close DIR;

foreach(sort @dir){
    if (-f $dir . "/" . $_ ) {
        my @parts = split "\\.", $_;
        if (@parts[1] eq 'nls') {
            #print $_, "\n";
            open(my $file, '<', $dir . "/" . $_) or die "Unable to open $!";
            my @strings=<$file>;
            foreach(@strings) {
                my ( @match1 ) = ($_ =~ /(LOCALE_IDEFAULTCODEPAGE "(\d+)")/g);
                if ($match1[1]) { $cp = $match1[1]; }
                my ( @match2 ) = ($_ =~ /(LOCALE_SISO3166CTRYNAME "(\w+)")/g);
                if ($match2[1]) { $cn = $match2[1]; }
                my ( @match3 ) = ($_ =~ /(LOCALE_SISO639LANGNAME "(\w+)")/g);
                if ($match3[1]) { $ln = $match3[1]; }
                my ( @match4 ) = ($_ =~ /(LOCALE_IDEFAULTANSICODEPAGE "(\d+)")/g);
                if ($match4[1]) { $cpa = $match4[1]; }
            }
            if (($cn ne '029') && ($cp ne '1')) {
                print "$ln", "_", "$cn,$cp,$cpa\n";
            }
        }
    }
}

So here is locale-to-code-page conversion table. Hope it helps to implement code page processing properly (maybe we also need something like environment variable to override auto detected code page numbers).

af_ZA,850,1252
ar_SA,720,1256
ar_LB,720,1256
ar_EG,720,1256
ar_DZ,720,1256
ar_BH,720,1256
ar_IQ,720,1256
ar_JO,720,1256
ar_KW,720,1256
ar_LY,720,1256
ar_MA,720,1256
ar_OM,720,1256
ar_QA,720,1256
ar_SY,720,1256
ar_TN,720,1256
ar_AE,720,1256
ar_YE,720,1256
ast_ES,850,1252
az_AZ,866,1251
az_AZ,857,1254
be_BY,866,1251
bg_BG,866,1251
br_FR,850,1252
ca_ES,850,1252
zh_CN,936,936
zh_TW,950,950
kw_GB,850,1252
cs_CZ,852,1250
cy_GB,850,28604
da_DK,850,1252
de_AT,850,1252
de_LI,850,1252
de_LU,850,1252
de_CH,850,1252
de_DE,850,1252
el_GR,737,1253
en_AU,850,1252
en_CA,850,1252
en_GB,850,1252
en_IE,850,1252
en_JM,850,1252
en_BZ,850,1252
en_PH,437,1252
en_ZA,437,1252
en_TT,850,1252
en_US,437,1252
en_ZW,437,1252
en_NZ,850,1252
es_PA,850,1252
es_BO,850,1252
es_CR,850,1252
es_DO,850,1252
es_SV,850,1252
es_EC,850,1252
es_GT,850,1252
es_HN,850,1252
es_NI,850,1252
es_CL,850,1252
es_MX,850,1252
es_ES,850,1252
es_CO,850,1252
es_ES,850,1252
es_PE,850,1252
es_AR,850,1252
es_PR,850,1252
es_VE,850,1252
es_UY,850,1252
es_PY,850,1252
et_EE,775,1257
eu_ES,850,1252
fa_IR,720,1256
fi_FI,850,1252
fo_FO,850,1252
fr_FR,850,1252
fr_BE,850,1252
fr_CA,850,1252
fr_LU,850,1252
fr_MC,850,1252
fr_CH,850,1252
ga_IE,437,1252
gd_GB,850,1252
gv_IM,850,1252
gl_ES,850,1252
he_IL,862,1255
hr_HR,852,1250
hu_HU,852,1250
id_ID,850,1252
is_IS,850,1252
it_IT,850,1252
it_CH,850,1252
iv_IV,437,1252
ja_JP,932,932
kk_KZ,866,1251
ko_KR,949,949
ky_KG,866,1251
lt_LT,775,1257
lv_LV,775,1257
mk_MK,866,1251
mn_MN,866,1251
ms_BN,850,1252
ms_MY,850,1252
nl_BE,850,1252
nl_NL,850,1252
nl_SR,850,1252
nn_NO,850,1252
nb_NO,850,1252
pl_PL,852,1250
pt_BR,850,1252
pt_PT,850,1252
rm_CH,850,1252
ro_RO,852,1250
ru_RU,866,1251
sk_SK,852,1250
sl_SI,852,1250
sq_AL,852,1250
sr_RS,855,1251
sr_RS,852,1250
sv_SE,850,1252
sv_FI,850,1252
sw_KE,437,1252
th_TH,874,874
tr_TR,857,1254
tt_RU,866,1251
uk_UA,866,1251
ur_PK,720,1256
uz_UZ,866,1251
uz_UZ,857,1254
vi_VN,1258,1258
wa_BE,850,1252
zh_HK,950,950
zh_SG,936,936
zh_MO,950,950

created time in 13 days

issue openedelfmz/far2l

can not view/edit symlink inside .tar.xz

sample:

sample.zip

try to view/edit usr/lib/far2l/far2l_askpass

(extracting symlinks with F5 works fine)

created time in 13 days

issue openedelfmz/far2l

multiarc fails to open .tar.bz2

sample: https://netix.dl.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

created time in 13 days

push eventunxed/oemcp

unxed

commit sha e2fe0fe01e8ac97a19e2a713004d02a0f46189e4

Update README.md

view details

push time in 13 days

push eventunxed/oemcp

unxed

commit sha d0aca8ecb78b211bdc2da6d460227dd489d3b159

Add files via upload

view details

push time in 13 days

push eventunxed/oemcp

unxed

commit sha 993c61945c5d3c7e8f12c54f3a9ab559ca080333

Fallback to 437 if detection fails

view details

push time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Wrote a small utility to implement OEM code page autodetection from system locale. Based on wine code. It's currently a shell script, but it can be easily converted to .c for use inside unzip or p7zip code.

gapan

comment created time in 13 days

push eventunxed/oemcp

unxed

commit sha da699d6dada602cf9526f7fc085e6810fa8b110c

Add files via upload

view details

push time in 13 days

push eventunxed/oemcp

unxed

commit sha fceeba9f4bddf2a55ce26d7bb2fe6f37cb56dbba

Update README.md

view details

push time in 13 days

push eventunxed/oemcp

unxed

commit sha 1072528ca2556b45040aa52f832a7ae4c4939abb

Update README.md

view details

push time in 13 days

create barnchunxed/oemcp

branch : master

created branch time in 13 days

created repositoryunxed/oemcp

Small utility to get corresponding OEM code page by current locale (posix)

created time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

The 3 line patch allows engrampa users to manually specify the encoding.

"good small patch to p7zip" I mean, sorry :) 3-line-patch to engrampa is ok! First manual step is ok also!

gapan

comment created time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Well, I am not sure 3-line patch is even possible here. Looked inside wine's code to see how it detects OEM code pages, its something non trivial.

Btw,

unzip -O cp`wineconsole --backend=curses chcp.com | grep -Eo 'page: [0-9]+' | grep -Eo '[0-9]+'` sample.zip

works fine (but you need the whole wine just to open archive, so weird...)

gapan

comment created time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@alkisg thanks again, but info-zip.org seems to be down.

As for p7zip, https://sourceforge.net/p/p7zip/bugs/187/

Probably p7zip developer doesn't think that this feature is too important, Or it can be difficult to implement.

Should I hope the patch will be accepted if developer not even interested in the implementation?

gapan

comment created time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

@alkisg thanks, maybe you can tell where unzip development is happening? Not ubuntu package, but unzip source code itself.

gapan

comment created time in 13 days

issue openedelfmz/far2l

.tar.xz are opened by multiarc, but no file can be extracted

sample attached (packed to .zip as github does not allow .tar.xz uploads) control.zip

created time in 13 days

issue commentelfmz/far2l

far2l's editor refuses to copy/paste some characters

This char is copied/pasted ok then I copy/paste it as a part of some string. And refuses to paste when I copy single char itself!

unxed

comment created time in 13 days

issue commentelfmz/far2l

far2l's editor refuses to copy/paste some characters

One more interesting detail: it copypastes ok from google ("cat paw unicode", 1st link), but refuses to copypaste from this page (both tries from Firefox).

But when i open this page in Chrome, copying/pasting this char from this page works fine.

Maybe firefox sends this char to clipboard in some weird way?

unxed

comment created time in 13 days

issue openedelfmz/far2l

.deb files are opened incorrectly by multiarc

Then I open .deb file, I see a single file with the same name and no extension inside. Contents of the file matches exactly the contents of the source .deb file.

Expected behavior: open as .ar archive.

created time in 13 days

push eventunxed/far2l-deb

unxed

commit sha ad150de3c5b2e38a6a41b492063b2007d93a0482

Add files via upload

view details

push time in 13 days

issue commentmate-desktop/engrampa

Prefer to open zip files with unzip instead of 7z

Why can not engrampa detect appropriate DOS encoding by system locale settings and set environment variables automatically?

gapan

comment created time in 13 days

pull request commentmate-desktop/engrampa

Allow preferring unzip over 7z, as it supports OEM encodings (#5)

Why can not engrampa detect appropriate DOS encoding by system locale settings and set environment variables automatically?

alkisg

comment created time in 13 days

issue commentelfmz/far2l

far2l's editor refuses to copy/paste some characters

Tried with clean config, same behavior. Will try on another systems when I have time.

unxed

comment created time in 14 days

push eventunxed/far2l-deb

unxed

commit sha d67c6423259e1f698ea41bbbabef628593cf0110

Add files via upload

view details

push time in 17 days

push eventunxed/far2l-deb

unxed

commit sha 9634d91eb6d970f1b436b8c08cb7bc126c795dd9

Update README.md

view details

push time in 17 days

push eventunxed/far2l-deb

unxed

commit sha fb3466354f57089c9fbcbc6630b0665d1476e651

Update make_far2l_deb.sh

view details

push time in 17 days

push eventunxed/far2l-deb

unxed

commit sha 09b87ce648a93470107bd12ed1830304a5a073e6

Update make_far2l_deb.sh

view details

push time in 17 days

issue closedelfmz/far2l

editor processes some chars wrongly

  1. Open attached file with far2l's editor
  2. Go to the end of a line (press "end" key for example)
  3. Try to erase entire line by pressing "backspace" multiple times and see what happens. sample.txt

closed time in 25 days

unxed

issue commentelfmz/far2l

editor processes some chars wrongly

Closing as "not a bug" if so.

unxed

comment created time in 25 days

issue commentelfmz/far2l

Setup "sponsor" button in order to allow support this project

я вот прям готов донейтить на фичи :) например, на (опциональный) перенос по словам в редакторе как-в-блокноте-windows

vasilievip

comment created time in a month

issue closedelfmz/far2l

clipboard access query interface bug

as clipboard access query interface is drawn by host far2l, not by remote one, you sometimes get things like this:

Снимок экрана в 2019-11-30 02-49-00_

closed time in a month

unxed

issue commentelfmz/far2l

clipboard access query interface bug

seems to be fixed in some recent revision, closing

unxed

comment created time in a month

push eventunxed/far2l-deb

unxed

commit sha 9e2b84ab8596285a308dad33e3fa010c54650c46

Add files via upload

view details

push time in a month

push eventunxed/far2l-deb

unxed

commit sha f7c6670a4d244a683360bd58dc3a6e868d09d5ac

Add files via upload

view details

push time in a month

issue closedunxed/far2l-deb

NetRocks - FTP get error 'stat failed (2)'

I don't upload files on my FTP server, error 'stat failed (2)'. The error is repeated for upload from zip and tar.gz By example: https://www.drupal.org/project/drupal/releases/8.8.5

See my screencast: https://youtu.be/zZaU8XL4meY

My FAR version from https://launchpad.net/~far2l-team/+archive/ubuntu/ppa Ubuntu 18.04

closed time in a month

simonovich

issue commentelfmz/far2l

editor processes some chars wrongly

Yet another sample. Try to open it in viewer and editor and compare results.

out.log

unxed

comment created time in a month

issue openedelfmz/far2l

editor processes some chars wrongly

  1. Open attached file with far2l's editor
  2. Go to the end of a line (press "end" key for example)
  3. Try to erase entire line by pressing "backspace" multiple times and see what happens. sample.txt

created time in a month

issue openedelfmz/far2l

clipboard access query interface bug

as clipboard access query interface is drawn by host far2l, not by remote one, you sometimes get things like this:

Снимок экрана в 2019-11-30 02-49-00_

created time in a month

issue commentelfmz/far2l

(patch) mc-like single ESC support in TTY w/o far2l_exts mode

А можно это вытащить в настройки или ну там через переменную окружения задавать, как в mc?

https://midnight-commander.org/ticket/1508

unxed

comment created time in a month

issue commentelfmz/far2l

far2l's editor refuses to copy/paste some characters

wx version, linux mint x64 MATE edition 19.3 maybe building with/without libwxgtk3.0-gtk3-dev matters? mint 19.3 is ubuntu 18.04 equivalent

unxed

comment created time in a month

issue openedelfmz/far2l

far2l's editor refuses to copy/paste some characters

This one, for example: 🐾

created time in a month

issue commentcyd01/KiTTY

[Feature Request] Support for OSC 52 (clipboard access)

I expect there is a little change the requested documentation for "far2l terminal extensions" will surface.

Protocol is very simple, but to explain it, I need to digg into the code I wrote a half a year ago. Will try to find some time for it. Maybe it is reasonable to start right now and add some little pieces from time to time, so let's go :)

First of all. Far2l extensions use APC (Application Program Command) escape sequences, so all of them starts with "\x1b_".

Next goes sequence header (string "far2l" for server->client sequences and "f2l" for client->server sequences). After it goes actual payload that is stack-like structure <VARIABLE1><VARIABLE1_SIZE><VARIABLE2><VARIABLE2_SIZE>etc Where VARIABLE is some sequence of bytes and SIZE is it's size as 4-byte int.

Each sequence is finished with "\x07".

Then far2l is launched on the server side, it tries to turn on special "far2l extensions" mode on client (in this mode keyboard keys and mouse events should be sent as far2l sequences and not in common way) by sending "\x1b_far2l1". Client should reply with "\x1b_far2lok\x07", this means far2l mode is supported and turned on.

If client receives "\x1b_far2l0", that means it should turn extensions mode off and send keyboard and mouse events as usual.

All other server-to-client sequences starts with "\x1b_far2l:", and there are several types of them (event type is always last variable in payload stack for such sequences): "n" - show desktop notification, "w" - get largest console window size, "c" - clipboard interaction, etc.

Will explain each of those sequence types and also client-to-server sequences in further comments. Please remind several days later!

unxed

comment created time in 2 months

issue commentelfmz/far2l

(patch) mc-like single ESC support in TTY w/o far2l_exts mode

И правда работает. Кайфец. Спасибо :)

unxed

comment created time in 3 months

issue commentunxed/far2l-deb

NetRocks - FTP get error 'stat failed (2)'

I do not maintain whose ppa. You should open an issue in https://github.com/elfmz/far2l instead.

simonovich

comment created time in 3 months

more