Open unxed opened 4 years ago
Added package for Fedora and Centos: https://github.com/polter-rnd/far2l-rpm/ Builds here: https://copr.fedorainfracloud.org/coprs/polter/far2l/
ура! Давно пользуюсь в Ubuntu и Debian. Вот бы ещё и для Астры собрать
По предложению коллеги сделал чатик в телеграме для желающих вот https://t.me/far2l_ru
I'm thinking about migrating coloring palettes from pseudoregistry into ini file to improve startup speed for poor macos users (see #910 ). Is that a big issue> i know there're reg-based themes distributed somewhere...
For now its about stuff in REG/HKU/c/k-Software/k-Far2/k-Colors/k-Highlight
I'm thinking about migrating coloring palettes from pseudoregistry into ini file to improve startup speed for poor macos users (see #910 ). Is that a big issue> i know there're reg-based themes distributed somewhere...
updated my themes with .ini files for highlights. don't know about other themes 🤷♂️
seems coloring themes gonna move again, something frightening ripens at config.ini branch..
wow, a war on pseudo registry
aha, and winner will take away https://github.com/elfmz/far2l/blob/master/far2l/registry.cpp
aha, and winner will take away https://github.com/elfmz/far2l/blob/master/far2l/registry.cpp
Small request. If ini file(s) have been changed in far2l's editor, reload the configuration when closing the editor. Or at least not overwrite ini(s) when exiting far2l, even if "automatically save settings" option is enabled.
Not sure if its possible with feasible effort
Portable build. Works even on CentOS 7 :) Only one executable: you just upload it to almost any "shared" hosting, and run. TTY-only as intended for remote use. SMB in NetRocks refuses to work properly in portable mode, so no SMB also.
https://github.com/unxed/far2l-deb/tree/master/portable
Build scrips also published (see howtobuild.txt).
Should run on CentOS 7+, Ubuntu 14.04+, Debian 9+, Amazon Linux 2+ and almost any supported distro :)
ура! Давно пользуюсь в Ubuntu и Debian. Вот бы ещё и для Астры собрать
Its opensource, just need to wait a bit...
Installation script for Oracle Linux (tested on aarch64)
install_far2l_aarch64_oracle_linux.tar.gz
Sorry, no wx, no libarchive, no samba, no webdav. Also python needs some manipulations by hands, see #1164. All other stuff works as expected.
Portable version for aarch64 (even with webdav and libarchive!): https://github.com/unxed/far2l-deb/blob/master/portable/far2l_portable_aarch64.tar.gz
putty-nd with far2l extensions https://sourceforge.net/p/putty-nd/feature-requests/36/
https://github.com/proffix4/FAR2L-FEDORA
RPM spec of far2l (Linux port of FAR Manager v2).
A book about Ruby development mentions far2l as recommended file manager:
There are some other flavors of file managers. However, Far Manager is so useful tool, so programmers have ported this manager to Linux and MacOS. You can find setup instructions by following the link above, but we’ll cover it here for MacOS
https://www.sitepoint.com/premium/books/ruby-is-for-fun/read/1/kkg4ugqh/
far2l built with wxQt
https://build.opensuse.org/package/show/home:AndnoVember:test/far2l-qt
wxWidgets over qt? Looks little bit weird :), whats point of such configuration?
far2l extensions support merged to mainline KiTTY: https://github.com/cyd01/KiTTY/pull/357
xTRD and xSCL plugins ported to far2l
EditWrap plugin port (good simple example of how to port windows plugins to linux)
Sample far2l plugin written in Pascal (builds with Free Pascal Compiler). Maybe helpful for porting Pascal plugins, as it has PluginW.pas module updated for far2l plugin API changes and also Windows.pas with some required WinAPI constants and structures that FPC do not offer by default.
far2l extensions support merged to mainline KiTTY
А что нужно сделать (включить\настроить), чтобы воспользоваться новой функциональностью? Пробовал версию 0.76.0.8 с сайта https://www.fosshub.com/KiTTY.html, ничего не получилось.
far2l extensions support merged to mainline KiTTY
А что нужно сделать (включить\настроить), чтобы воспользоваться новой функциональностью? Пробовал версию 0.76.0.8 с сайта https://www.fosshub.com/KiTTY.html, ничего не получилось.
Там с небольшими ошибками вмержили патч, я сделал пулл реквест с исправлениями
The far2l plugin that searches the word under the cursor below or above the current location. This is quite useful for quick navigation in sources
The Far2l Starry Dark theme: https://github.com/sclea/far2l-starry-dark-theme
yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
yum install git
yum install centos-release-scl
yum install devtoolset-7-gcc-c++
yum install epel-release
yum install gawk m4 cmake3 xerces-c-devel uchardet-devel spdlog-devel libarchive-devel
yum install python3-devel
NetRocks/SFTP
yum install libssh-devel
NetRocks/FTPS
yum install openssl-devel
NetRocks/SMB
yum install libsmbclient-devel
NetRocks/NFS
yum install libnfs-devel
NetRocks/WebDAV
yum install neon-devel
git clone https://github.com/elfmz/far2l
mkdir far2l.build && cd far2l.build
scl enable devtoolset-7 bash
cmake3 -DUSEWX=no -DPYTHON=yes -DCMAKE_BUILD_TYPE=Release ../far2l
make
make install
exit
Now you can run far2l from the shell prompt. Enjoy!
Astra Linux installation guide for far2l
Пакет для ALT Linux: http://www.sisyphus.ru/ru/srpm/far2l Пакет для OpenSuse: https://build.opensuse.org/package/show/home:AndnoVember:test/far2l Appimage: https://github.com/area-of-dev/Far2l.AppImage/releases для Gentoo: https://gpo.zugaina.org/Overlays/guru/app-misc/far2l Для Arch: https://aur.archlinux.org/packages/far2l-git https://packages.altlinux.org/en/sisyphus/srpms/far2l/ Для FreeBSD: https://www.freshports.org/misc/far2l Ещё несколько пакетов для разных дистров: https://repology.org/project/far2l/versions
dnf install git
dnf install gcc-c++
dnf install epel-release
dnf install gawk m4 cmake3 xerces-c-devel uchardet-devel spdlog-devel libarchive-devel pcre-devel
dnf install python3-devel
dnf install libssh-devel
dnf install openssl-devel
dnf install libsmbclient-devel
rpm -ivh https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/libnfs-4.0.0-1.el8.x86_64.rpm
rpm -ivh https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/libnfs-devel-4.0.0-1.el8.x86_64.rpm
dnf install neon-devel
git clone https://github.com/elfmz/far2l
mkdir far2l.build && cd far2l.build
cmake3 -DUSEWX=no -DPYTHON=yes -DCMAKE_BUILD_TYPE=Release ../far2l
make
make install
Now you can run far2l from the shell prompt.
Alpine Linux build https://github.com/michaellukashov/far2l/releases/download/untagged-881ef1a464438b0391b9/far2l-nowx-static-alpine.tar.gz
Required changes to build: https://github.com/michaellukashov/far2l/tree/lmv/dev
Run build: docker/docker.sh
Makefile for OpenWRT: https://github.com/elfmz/far2l/issues/1438#issuecomment-1336471867
Portable version updated: now able to run on as ancient systems as Debian 7, CentOS 6, Ubuntu 14.04. Also bug with sftp client in netrocks not working on some systems seems to be fixed.
Makefile for OpenWRT:
Improved a bit https://gist.github.com/spvkgn/6fbfe7a68dbfec0feade847729117751
far2l net interfaces configuration plugin https://github.com/VPROFi/netcfgplugin
Lots of useful info on far2l in Russian: https://github.com/akruphi/far2l/wiki
Since May 18 2023 OpenWRT switched from libpcre to libpcre2. Use following Makefile to build far2l opkg .ipk for current OpenWRT builds/snapshots:
include $(TOPDIR)/rules.mk
PKG_NAME:=far2l
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/elfmz/far2l.git
PKG_SOURCE_VERSION:=master
CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Ivan Sorokin <unxed@mail.ru>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/far2l
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Far2L File Manager
ifdef CONFIG_PACKAGE_libpcre2
DEPENDS:=+libstdcpp +libpcre2
else
DEPENDS:=+libstdcpp +libpcre
endif
endef
define Package/far2l/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/far2l $(1)/usr/share/far2l
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/far2l $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/far2l/* $(1)/usr/lib/far2l/
$(CP) $(PKG_INSTALL_DIR)/usr/share/far2l/* $(1)/usr/share/far2l/
endef
#TARGET_LDFLAGS += -static-libstdc++
CMAKE_OPTIONS += \
-DUSEUCD=OFF \
-DUSEWX=OFF \
-DCOLORER=OFF \
-DNETROCKS=OFF
ifdef CONFIG_USE_MUSL
CMAKE_OPTIONS += -DMUSL=ON
endif
ifdef CONFIG_PACKAGE_busybox
CMAKE_OPTIONS += -DTAR_LIMITED_ARGS=ON
endif
$(eval $(call BuildPackage,far2l))
Install far2l in Termux from my repository:
echo "deb [trusted=yes] https://spvkgn.github.io/far2l-termux termux extras" | tee $PREFIX/etc/apt/sources.list.d/far2l.list && \
apt update && apt install far2l
~ $ apt list far2l*
Listing... Done
far2l-plugins-colorer/termux,now 2.5.1+git20230717-1 aarch64
far2l-plugins-netrocks/termux 2.5.1+git20230717-1 aarch64
far2l-ttyxi/termux 2.5.1+git20230717-1 aarch64
far2l/termux,now 2.5.1+git20230717-1 aarch64
Ветка форума оригинального Far для Windows, где far2l обсуждать можно: https://forum.farmanager.com/viewtopic.php?t=12813
far2l for Android (Termux): https://t.me/far2l_ru/9771
да уж, фар на андроиде это конечно занимательно.. а оно без клавы хоть немного юзабельно? думаю там как минимум надо всякие твики делать чтоб долгим нажатием выделять файлы по типу Ins'а и т.п.
В термуксе есть Ins и другие клавиши (см. https://wiki.termux.com/wiki/Touch_Keyboard) , а так внешняя клавиатура в помощь)
Let's make something like wiki page here on github with links to all projects related to far2l. One of main advantages of Far for Windows was rich ecosystem, and I see no reason why far2l should have lesser possibilities to have a wider one (actually ecosystem already exists and growing, even although main project still declared as alpha). As we have no wiki page (or something like plugring ;) yet, let's start right here.
Macros A
collection of keyboard macros
for Linux port of FAR v2: https://github.com/corporateshark/far2l-macros, useful for example if you use a MacBookPro 13" keyboard, which doesn't have keys such as Ins.Plugins
GVFS plugin
(rich set of network protocols supported): https://github.com/cycleg/far-gvfsFUSE plugin
(sshfs usage simplified): https://github.com/unxed/far2l-fuseeditwrap plugin
port: https://github.com/unxed/far2l-EditWrap (good example of rather simple plugin porting)Lua plugin
: https://github.com/shmuz/LuaFAR-2L sample plugin in FreePascal: https://github.com/unxed/far2l-fpc-helloworldCompatible apps
putty4far2l
- putty fork with far2l terminal extensions (all hotkeys, clipboard): https://github.com/unxed/putty4far2lkitty
- terminal with far2l extensions also supported: https://github.com/cyd01/KiTTYFar2lRestore
- imports Windows Far .reg settings to far2l: http://alter.org.ua/ru/soft/linux/far2l_reg/Packages/builds/build scripts
PPA
: https://launchpad.net/~far2l-team/+archive/ubuntu/ppa Custom.deb
's: https://github.com/unxed/far2l-deb/Amazon Linux
build script: https://github.com/unxed/far2l-deb/blob/master/misc/amazon_linux_far2l.shFedora
build howto: https://github.com/nvv13/far2l/commit/c94226c4ffb68f6a21c263cda6ba94338a03e51dAlt Linux
build spec: https://github.com/vitlav/far2l/commit/9e6b6dac05d06ac0ad38cdd5d9fb3e4c68f4430bCygwin
howto: https://github.com/elfmz/far2l/issues/583#issuecomment-528762866nixpkgs
(linux & darwin): https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/misc/far2lrpm
(centos/fedora): https://github.com/polter-rnd/far2l-rpm/portable build
(for "shared" hosting, etc): https://github.com/elfmz/far2l/issues/647#issuecomment-787537688Notable forks (see branches also)
Alter1
(slow copy fix, unicode detection fix, KOI8-U, etc) https://github.com/Alter-1/far2lha3flt
(hidden files display mode shown) https://github.com/ha3flt/far2ll-4-l
(pdf support in multiarc) https://github.com/l-4-l/far2lsvost
(large code cleanup work) https://github.com/svost/far2lsingalen
(macos build fixes) https://github.com/singalen/far2lshmuz
(adoption for better Lua support): https://github.com/shmuz/far2lColors Monokai-inspired color theme https://github.com/elfmz/far2l/issues/791#issuecomment-709407687