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! :)

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
4
  • 4
    Or ping | clip to actually copy the output. – paradroid Jan 21 '11 at 0:53
  • 4
    this is also good, but instead of Alt+Space, E, K it's shorter to use Alt+Insert :) – ViliusK Jan 23 '11 at 15:26
  • ping | clip does not work for me :( – ViliusK Jan 23 '11 at 15:26
  • @ViliusK Which OS you were on? clip.exe first appeared in Vista. – ᄂ ᄀ Feb 23 '17 at 8:51
15

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

2
  • 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
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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.