Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

far2l-fpc-helloworld

hello world plugin for far2l in pascal - fpc tryouts

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

far2l-fpc-helloworld

hello world plugin for far2l in pascal - fpc tryouts

Many Far Manager Plugins were written in Pascal (like those https://github.com/MaxRusov/far-plugins)) To port them to linux far manager port, far2l (https://github.com/elfmz/far2l)) we need to port, build and run helloworld plugin first. This repo is attempt to make such plugin using Free Pascal Compiler.

Current state: builds, runs.

wide is UTF-32 version

mb is UTF-8 version

Both are working, but mb is preferred as UTF-32 is almost not supported by Free Pascal. mb version also has bundled LazUTF8 unit from Lazarus to ease UTF-8 string manipulations.

Important! PluginW.pas and Plugin.pas are somethat incomplete, see FIXME comments. Also, C-language comments are not updated to releated Pascal-changes in those files. Windows.pas may be incomplete also.

Discussion on Free Pascal Russian forum: http://www.freepascal.ru/forum/viewtopic.php?f=10&t=43383