Skip to main content

Text User Interface for Plover

Project description

Console UI Plugin for Plover

https://img.shields.io/pypi/v/plover_console_ui.svg https://img.shields.io/pypi/dm/plover_console_ui.svg

This is a plugin for the open source stenography program Plover

Requires Plover version 4.0.0 or later

Run Plover entirely inside your terminal window!

console-ui.png

Getting Started

  1. Open Plover

  2. Navigate to the Plugin Manager tool

  3. Select plover_console_ui in the list

  4. Click install

Or directly install plover_console_ui into Plover’s python environment

Linux/Mac

Start Plover with the –gui option: plover --gui console

Windows

Due to some Windows workaround code (in Plover), this plugin does not work well on the packaged Windows build

Here’s a launcher that works: python -m plover --gui console

Yes, it requires essentially ‘run from source’… I’m sorry

Usage

Regular Use

Plover commands are all functional:

  • {PLOVER:LOOKUP}

  • {PLOVER:ADD_TRANSLATION}

  • {PLOVER:SUSPEND}

  • {PLOVER:RESUME}

  • {PLOVER:TOGGLE}

  • {PLOVER:FOCUS}

  • {PLOVER:CONFIGURE}

Note for the commands which do window manager focus:

  • LOOKUP

  • ADD_TRANSLATION

  • FOCUS

  • CONFIGURE

This console_ui only knows which window it lives in if that window has focus on start-up

Otherwise: expect the focus feature not to work

Key Commands

These key commands are always available when console_ui has focus:

  • Ctrl-C or Ctrl-Q: Exits Plover

  • PageUp/PageDown: Scrolls the console buffer up/down

    (Note: if anything new is added to console it will auto-scroll back down)

Command Line

The help command is always available and will show all the currently available commands

If a command has the description ... there are further commands contained inside

Commands can be partially entered

m to use the machine command

Once you know your way around, you don’t need to enter each menu one at a time

col for goldenrod from the top level

Case is ignored

configure is the same as CONFIGURE

To get back to the previous menu level, press Enter on its own

If a command has <> in its description it takes one or more arguments. The type of the argument is between the <>

Commands

  • addtranslation: enters ADD_TRANSLATION mode

  • lookup: enters LOOKUP mode

  • output: toggles Plover output on/off

  • reset: reconnects current machine

  • tape: toggles paper tape display

  • suggestions: toggles suggestions display

  • dictionaries: configure dictionaries

    • add: add a dictionary by its file path

    • remove: remove a dictionary by displayed number

    • toggle: toggle a dictionary by displayed number

    • priority: prioritise a dictionary by displayed number (to its new number)

  • machine: configure machine

    • options: configure current machine options

    • (One ‘set machine’ command per installed machine plugin)

  • system: configure system

    • (One ‘set system’ command per installed system plugin)

  • configure: Plover configuration commands

    • space_placement: (Before Output|After Output)

    • start_attached: (True|False)

    • start_capitalized: (True|False)

    • undo_levels: Number of undo levels

    • log_file_name: Name of the log file

    • enable_stroke_logging: Enable/Disable stroke logging

    • enable_translation_logging: Enable/Disable translation logging

    • auto_start: If ‘True’ enable Plover output on start-up

    • extensions: Enable/Disable extension commands

      • (One ‘toggle extension’ command per installed extension plugin)

  • colors: set console_ui colors

    These commands take web color names

    Color hexes are also supported (e.g. #ffffff for white)

    (Note: not all terminals support all colors)

    • foreground: set foreground color

    • background: set background color

  • loglevel: configure which Plover log messages will get printed to console_ui

    • WARNING: any logs at WARNING or above will be printed

    • CRITICAL: any logs at CRITICAL or above will be printed

    • ERROR: any logs at ERROR or above will be printed

    • INFO: any logs at INFO or above will be printed

    • DEBUG: any logs at DEBUG or above will be printed

  • exit: exits console_ui (and Plover)

Contributing

Head to the open source repository

Issues + PRs welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover_console_ui-1.0.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

plover_console_ui-1.0.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file plover_console_ui-1.0.0.tar.gz.

File metadata

  • Download URL: plover_console_ui-1.0.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for plover_console_ui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 210f5600e527950e8512eeb4e276c9ed8be0a273bd9bf0dfc8f2ee02cf89a7c6
MD5 134822fbd49afbc19a54124a00224f57
BLAKE2b-256 6fc8fd4ff1bb86c9aa70276aaea8c013a5fb987fbff71102afb8d0bcaa168bde

See more details on using hashes here.

File details

Details for the file plover_console_ui-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: plover_console_ui-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for plover_console_ui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d66c0fcae65a3469e0975efd5065a6b1195cd90b7041681c6ab839846e277cdf
MD5 fb022755f15a26f410f0ec70ba3c2126
BLAKE2b-256 e452fd2a774d1dd1600606b6dfb8293ca71afd4a7e9ad63c6e411c4847fdd92a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page