8

ping output in far file manager Hi guys, how do I copy FAR-Manager's console output? For example when I use ping command I want to copy it's output text, but not image.

Oh, and I would like to do so with keyboard! :)

Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
ViliusK
  • 1,760
  • 4
  • 17
  • 18

4 Answers4

18

Far Manager has a special key combination that starts the selection: Alt+Insert. Then follow steps 2 and 3 suggested by @grawity.

Roman Kuzmin
  • 606
  • 4
  • 11
  • 1
    Alt+Insert is what I was looking for. Thank's Roman! :) – ViliusK Jan 23 '11 at 15:22
  • 3
    *Far Manager* has a lot of useful predefined key combinations. But many of them are not quite discoverable (not included into menus, command bars, etc.), so take a look at the built-in help: F1 | Keyboard reference. – Roman Kuzmin Jan 23 '11 at 15:39
  • Alternatively look at docs online: https://github.com/FarGroup/FarManager/blob/master/far/FarEng.hlf.m4 – gavenkoa Jul 17 '22 at 12:33
  • I'm using FAR manager for over 14 years, and I haven't known about this feature. Thank you so much, it seems like the only way to select text when running on windows 11. – Gabriel Ciubotaru May 04 '23 at 07:24
8

You do it the same way for all Windows Console programs:

  1. Enter Mark mode: Alt+Space, E, K

  2. Mark text using Shift+

  3. Press Enter to copy, or Esc to cancel.


Alternatively, you can redirect the output of a specific command to a file:

ping > output.txt
u1686_grawity
  • 426,297
  • 64
  • 894
  • 966
2

in the far console, type

edit:<ping 127.0.0.1

instead of just

ping 127.0.0.1

it will execute the ping command and open the Far built-in editor with the output afterwards. You will be able to edit it as a normal text file

you can also use view:< instead of edit:< to open the built-in viewer, not editor

imaximchuk
  • 293
  • 2
  • 4
0

Hotkeys and scrolling during running command: you can use Ctrl+Shift+F3 to open history of output in built-in viewer or Ctrl+Shift+F4 to open it in built-in editor. This allows efficient commands output investigation, including scrolling possibility, using built-in viewer and editor capabilities.

From internal help

MMM
  • 2,652
  • 5
  • 25
  • 43
Andzej Wal
  • 101
  • 1