CLI Noob question

Felix's Avatar

Felix

19 Oct, 2021 09:14 PM

Hello there!
Have been using MPW for a few years now, but it always was the java gui version. (.jar looks very java at least)
Now i run a linux machine and decided to get my feet wet with the CLI version. So far so good, got it working. 2 Things:
When i type in my master password, it shows on screen. Is there a way to turn that off (like any other prompt where you shall enter a password in a terminal), and 2:
actually copying the generated password to clipboard isn't as straightforward as it used to be, since the gui*s "press enter to copy" as well as ctrl-C don't exist in terminal world.

I guess there are ways around #2, do you have a suggestion on how to fix/address #1?

Thank you very much!

  1. Support Staff 1 Posted by Maarten Billemo... on 20 Oct, 2021 01:56 PM

    Maarten Billemont's Avatar

    Regarding #1, if you compile the CLI with support for ncurses, it will be able to do this for you.

    When building, pay attention to its output. If it reports ncurses is missing, install the necessary dependencies (you'll want to look in your package manager for a development version of the ncurses library).

    Regarding #2, the CLI comes shipped with a small bash script that will combine the CLI app with some tools for copying the password to the clipboard. The install script should offer to do the work for you, or you can just peek around and find the pieces you need.

  2. 2 Posted by Felix on 21 Oct, 2021 08:44 AM

    Felix's Avatar

    Finding ncurses and json-c dev versions did the trick.
    It works perfectly now.

    This thread can now safely be closed.

    Thank you!!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac