Skip to content

Commit

Permalink
hlf: update and cleanup (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
spnethw committed Jan 1, 2025
1 parent 9fb2133 commit e3c39ce
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 96 deletions.
94 changes: 72 additions & 22 deletions far2l/bootstrap/scripts/FarEng.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -846,19 +846,6 @@ is truncated to a zero sized file, renamed to a temporary name and then
deleted.


@ErrCannotExecute
$ #Error: Cannot execute#
The program you tries to execute is not recognized as an internal or
external command, operable program or batch file.

When executing the contents of the command line, FAR2L searches for the
executable in the following sequence (sequentially substituting all extensions
listed in the environment variable %PATHEXT%):

1. The current directory
2. The directories that are listed in the PATH environment variable


@MiscCmd
$ #Panel control commands - miscellaneous#
Screen grabber #Alt-Ins#
Expand Down Expand Up @@ -1509,6 +1496,9 @@ $ #Menus: options menu#
#Files highlighting# Change ~files highlighting and sort groups~@Highlight@
#and sort groups# settings.

#Notifications# Shows ~Notifications Settings~@NotificationsSettings@ dialog.
#Settings#

#Save setup# Save current configuration, colors and
screen layout.

Expand Down Expand Up @@ -1648,8 +1638,7 @@ $ #Plugins manager#
#Path for personal plugins#
Enter here the full path, where FAR2L will search for "personal" plugins in addition to the "main"
plugins. Several search paths may be given separated by ';'. Environment variables can be entered in the
search path. Personal plugins will not be loaded, if the switches -p or -co are given in the
~command line~@CmdLine@.
search path. Personal plugins will not be loaded, if the switch -co is given in the ~command line~@CmdLine@.

@ChoosePluginMenu
$ #Plugin selection menu#
Expand Down Expand Up @@ -2462,6 +2451,7 @@ input without viewer or editor screens in the background.
#Save commands history#
Forces saving ~commands history~@History@ before exit and restoring after starting FAR2L.
Commands history list may be activated by #Alt-F8#.
This option can also be found in the ~Command line settings~@CmdlineSettings@ dialog.

#Save folders history#
Forces saving ~folders history~@HistoryFolders@ before exit and restoring after starting FAR2L.
Expand All @@ -2480,6 +2470,12 @@ while its earlier occurrences are deleted from the history.
the command was executed is also taken into account; that is, if the same command was executed from
two different directories, both entries will be saved in the history.

#Autohighlight in history#
Allow FAR2L to automatically assign single-button shortcuts to items in the ~Commands history~@History@,
~Folders history~@HistoryFolders@ and ~File view history~@HistoryViews@. This can be convenient, but there
is also a risk of accidental selection due to unintentional key presses, given the dynamic nature
of such lists. If you do not use this feature or feel uncomfortable with it, you can disable it.

#Auto save setup#
If checked, FAR2L will save setup automatically. The current folders for both panels will be also saved.

Expand Down Expand Up @@ -2533,9 +2529,7 @@ $ #Settings dialog: panel#
system changes will be disabled if the
count of file objects exceeds the
specified value.

The auto-update mechanism works only for FAT/FAT32/NTFS file
systems. The value of 0 means "update always". To force an
The value of 0 means "update always". To force an
update of the panels, press #Ctrl-R#.

#Network drives# This option enables panel autorefresh
Expand Down Expand Up @@ -2603,25 +2597,36 @@ This may require some additional time before starting deleting
to calculate the total files count.

#Use Ctrl-PgUp for location menu#
Pressing #Ctrl-PgUp# in the root directory:
- for local drives - shows the location menu;
- for network drives - activates the Network plugin (if it is available)
or location menu (if the Network plugin is not available).
Pressing #Ctrl-PgUp# in the root directory shows the ~Location menu~@DriveDlg@.

#Datetime format#
Here you can select the order in which the day, month, and year are displayed, and
specify the separators for date and time based on your preferences.
"Reset to default" button restores the settings to the standard values offered by far2l.
"Reset to current" button is useful if you want to cancel changes that have not
yet been confirmed, and return to the current far2l settings.
"From system locale" button sets the date and time format according to your operating
system's locale.

#Cursor blink interval# (*GUI-backend only)
Allows decreasing or increasing the cursor blink frequency; the acceptable range of
values is from 100 to 500 ms.

#Change font# (*GUI-backend only)
Shows the font selection dialog where you can choose a font for displaying the far2l interface.

#Disable antialiasing# (*GUI-backend only)
Disabling anti-aliasing algorithms may slightly speed up rendering, but it can negatively
affect the visual perception of text.

#Use OSC52 to set clipboard data# (*TTY-backend only)
OSC52 allows copying from far2l running in TTY mode (even via SSH connection) to
your local system clipboard.
Some terminals also need OSC52 to be enabled in terminal's settings.
If you are using far2l on a remote untrusted system, giving remote system write access
to your clipboard may be potentially unsafe.
Note: The option is displayed if other preferred clipboard access methods (TTY|X, TTY|F)
are inaccessible.

#Override base colors palette# (*TTY-backend only)

Expand Down Expand Up @@ -2698,8 +2703,18 @@ $ #Menu settings#
You may choose action for mouse buttons, when click occures outside a menu:
#Cancel menu#, #Execute selected item# or #Do nothing#.

#Loop list scrolling#
Enable this option to allow circular scrolling through vertical menus when
the arrow keys are held down. After reaching the top or bottom item, the cursor
will automatically jump to the opposite end of the list.


@CmdlineSettings
$ #Settings dialog: command line#
#Save commands history#
Forces saving ~commands history~@History@ before exit and restoring after starting FAR2L.
This option can also be found in the ~System settings~@SystemSettings@ dialog.

#Persistent blocks#
Do not remove block selection after moving the cursor in command line.

Expand All @@ -2712,9 +2727,28 @@ but this block.
disabled, you may use the #Ctrl-Shift-End# key to autocomplete a line. The autocomplete
feature is disabled while a macro is being recorded or executed.

#Command output splitter#
Enables the display of dividing lines between command outputs in the built-in ~Terminal~@Terminal@.
A green line of "-" characters indicates successful command execution, and a yellow
line of "~~" characters indicates errors. This makes the output more structured and helps
to evaluate the results of command execution faster.

#Wait keypress before close#
Pause for key press after executing a command in the built-in ~Terminal~@Terminal@ before
showing the panels. Possible values: Never/On error/Always.

#Set command line prompt format#
This option allows to set the default FAR2L command ~line prompt~@CommandPrompt@.

#Use shell#
Force the use of the specified command shell in the built-in ~terminal~@Terminal@.
If no shell is provided, far2l will attempt to use the system shell (#$SHELL#). If the system
shell does not meet far2l's internal requirements, #bash# will be used as a fallback.
You can find out the current command shell used by far2l with the ~pseudo-command~@SpecCmd@
#far:about#.
Be aware that, currently, full support is available only for #bash#, and working with other
command shells may have significant limitations or errors.

@AutoCompleteSettings
$ #Settings dialog: AutoComplete & History#
#Show list#
Expand Down Expand Up @@ -3406,6 +3440,22 @@ or may be switched by #Ctrl-Alt-M# in panels.
Symbolic links are valid for NTFS drives only.


@NotificationsSettings
$ #Notifications settings#

#Notify on file operation completion#
Send desktop notifications when long-running operations like copying, moving,
and searching for files are completed.

#Notify on console command completion#
Send desktop notification when the command in the built-in ~Terminal~@terminal@ has
completed or failed.

#Notify only if in background#
Track the far2l window's state and send desktop notifications only when it is inactive.
Works in both graphical and terminal versions of far2l.


@ViewerSettings
$ #Settings dialog: viewer#
This dialog allows to change the default external or
Expand Down
116 changes: 94 additions & 22 deletions far2l/bootstrap/scripts/FarHun.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -698,23 +698,6 @@ felülíró karaktert megadni), ezután a fájl méretét nulla hosszúságúra
állítja, átmeneti nevet ad neki, végül törli.


@ErrCannotExecute
$ #Hiba: nem végrehajtható#
A program, amit megpróbáltunk futtatni, nem értelmezhető sem belső, sem
külső parancsként, sem futtatható programként, sem batch fájlként.

Amikor a FAR megpróbálja végrehajtani a parancssor tartalmát, a
következő sorrendben kutatja át a mappákat futtatható fájlok után,
a %PATHEXT% környezeti változóban definiált sorrendben behelyettesítve minden
kiterjesztést, kezdve a ".BAT;.CMD;.EXE;.COM;" kiterjesztésekkel:

1. Az aktuális mappában keres.
2. A %PATH% környezeti változó elérési útvonalaiban keres.
3. A 32 bites Windows rendszermappában keres (SYSTEM32).
4. A 16 bites Windows rendszermappában keres (SYSTEM).
5. A Windows mappájában keres.


@MiscCmd
$ #Panelvezérlő parancsok - egyebek#
Képernyőgrabber #Alt-Ins#
Expand Down Expand Up @@ -1395,6 +1378,9 @@ az eredeti színkombináció.
#Fájlkiemelések,# A ~fájlkiemelések, rendezési csoportok~@Highlight@
#rendezési csoportok# beállításai.

#Notifications# Shows ~Notifications Settings~@NotificationsSettings@ dialog.
#Settings#

#Beállítások# Elmenti a jelenlegi beállításokat, színeket
#mentése# és a képernyő elrendezését.

Expand Down Expand Up @@ -2179,6 +2165,12 @@ while its earlier occurrences are deleted from the history.
the command was executed is also taken into account; that is, if the same command was executed from
two different directories, both entries will be saved in the history.

#Autohighlight in history#
Allow FAR2L to automatically assign single-button shortcuts to items in the ~Commands history~@History@,
~Folders history~@HistoryFolders@ and ~File view history~@HistoryViews@. This can be convenient, but there
is also a risk of accidental selection due to unintentional key presses, given the dynamic nature
of such lists. If you do not use this feature or feel uncomfortable with it, you can disable it.

#Beállítások automatikus# Ha az opció be van kapcsolva, kilépéskor
#mentése# a FAR önműködően menti a beállításait, a
panelek aktuális helyzetével együtt.
Expand Down Expand Up @@ -2231,8 +2223,7 @@ mappákat akkor is név szerint rendezi, ha a fájlokat kiterjesztésük szerint
nem vonja maga után a panel automatikus
frissítését.

^<wrap>Az automatikus frissítés csak FAT,
FAT32 és NTFS fájlrendszerben működik. A "0" érték azt jelenti, hogy
^<wrap>A "0" érték azt jelenti, hogy
"mindig frissít". A frissítés kézzel is elvégezhető a #Ctrl-R#-rel.

#Hálózati meghajtók# Engedélyezi a panelek automatikus
Expand Down Expand Up @@ -2309,24 +2300,35 @@ meg.
#meghajtót vált# gyökérmappájában:
- ^<wrap>helyi meghajtónál megjeleníti a Meghajtók
menüt;
- hálózati meghajtónál elindítja a Hálózat
plugint (ha lehetséges) vagy meghívja a Meghajtók menüt (ha a Hálózat plugin
nem elérhető).

#Datetime format#
Here you can select the order in which the day, month, and year are displayed, and
specify the separators for date and time based on your preferences.
"Reset to default" button restores the settings to the standard values offered by far2l.
"Reset to current" button is useful if you want to cancel changes that have not
yet been confirmed, and return to the current far2l settings.
"From system locale" button sets the date and time format according to your operating
system's locale.

#Cursor blink interval# (*GUI-backend only)
Allows decreasing or increasing the cursor blink frequency; the acceptable range of
values is from 100 to 500 ms.

#Change font# (*GUI-backend only)
Shows the font selection dialog where you can choose a font for displaying the far2l interface.

#Disable antialiasing# (*GUI-backend only)
Disabling anti-aliasing algorithms may slightly speed up rendering, but it can negatively
affect the visual perception of text.

#Use OSC52 to set clipboard data# (*TTY-backend only)
OSC52 allows copying from far2l running in TTY mode (even via SSH connection) to
your local system clipboard.
Some terminals also need OSC52 to be enabled in terminal's settings.
If you are using far2l on a remote untrusted system, giving remote system write access
to your clipboard may be potentially unsafe.
Note: The option is displayed if other preferred clipboard access methods (TTY|X, TTY|F)
are inaccessible.

#Override base colors palette# (*TTY-backend only)

Expand Down Expand Up @@ -2365,6 +2367,60 @@ végrehajtása átmenetileg letiltja az automatikus kiegészítést.
^<wrap>ablak (lásd ~egyebek~@MiscCmd@). Az
opcióval letilthatjuk ezt a működést.


@VMenuSettings
$ #Menu settings#
#Left/Right/Middle mouse click outside a menu#
You may choose action for mouse buttons, when click occures outside a menu:
#Cancel menu#, #Execute selected item# or #Do nothing#.

#Hurok lista görgetés#
Enable this option to allow circular scrolling through vertical menus when
the arrow keys are held down. After reaching the top or bottom item, the cursor
will automatically jump to the opposite end of the list.


@CmdlineSettings
$ #Settings dialog: command line#
#Save commands history#
Forces saving ~commands history~@History@ before exit and restoring after starting FAR2L.
This option can also be found in the ~System settings~@SystemSettings@ dialog.

#Persistent blocks#
Do not remove block selection after moving the cursor in command line.

#Del removes blocks#
If a block is selected, pressing Del will not remove the character under cursor,
but this block.

#AutoComplete#
Allows to use the AutoComplete function in command line. When the option is
disabled, you may use the #Ctrl-Shift-End# key to autocomplete a line. The autocomplete
feature is disabled while a macro is being recorded or executed.

#Command output splitter#
Enables the display of dividing lines between command outputs in the built-in ~Terminal~@Terminal@.
A green line of "-" characters indicates successful command execution, and a yellow
line of "~~" characters indicates errors. This makes the output more structured and helps
to evaluate the results of command execution faster.

#Wait keypress before close#
Pause for key press after executing a command in the built-in ~Terminal~@Terminal@ before
showing the panels. Possible values: Never/On error/Always.

#Set command line prompt format#
This option allows to set the default FAR2L command ~line prompt~@CommandPrompt@.

#Use shell#
Force the use of the specified command shell in the built-in ~terminal~@Terminal@.
If no shell is provided, far2l will attempt to use the system shell (#$SHELL#). If the system
shell does not meet far2l's internal requirements, #bash# will be used as a fallback.
You can find out the current command shell used by far2l with the ~pseudo-command~@SpecCmd@
#far:about#.
Be aware that, currently, full support is available only for #bash#, and working with other
command shells may have significant limitations or errors.


@InfoPanelSettings
$ #Information Panel settings#

Expand Down Expand Up @@ -3004,6 +3060,22 @@ attribútumok, valamint a szimbolikus linkek csak NTFS fájlrendszerben
értelmezettek.


@NotificationsSettings
$ #Notifications settings#

#Notify on file operation completion#
Send desktop notifications when long-running operations like copying, moving,
and searching for files are completed.

#Notify on console command completion#
Send desktop notification when the command in the built-in ~Terminal~@terminal@ has
completed or failed.

#Notify only if in background#
Track the far2l window's state and send desktop notifications only when it is inactive.
Works in both graphical and terminal versions of far2l.


@ViewerSettings
$ #Beállítások: nézőke beállítások#
Ebben a párbeszédablakban a külső és ~belső nézőke~@Viewer@ alapértelmezett
Expand Down
Loading

0 comments on commit e3c39ce

Please sign in to comment.