Skip to main content

The Screen class lets you to do positioned writes to the dos terminal.

Project description

– Screen positioning and colors in the dos shell (and unix too)

Documentation Status

Installation

pip install doscmd-screen

Changes

Version 1.0.3 introduces thread safe window areas through the Window class.

Changes in version 1.0 include support for non-dos platforms, a visual test script, and zero-based indexing of screen positions. Since the last one is a backwards incompatible change I have upped the major version number. I don’t forsee any further backwards incompatible changes in this module.

Documentation

The documentation lives at http://doscmd-screen.readthedocs.org/

Usage

Straight forward positioning and terminal colors in the terminal:

import screen  # screen probably needs to be your first import.
scr = Screen()
scr.centerxy(scr.center, scr.middle, '((.))')

scr.writexy(scr.left, scr.bottom,
            'left bottom',
                    color='black', on='red')

Works for both Windows..

https://dl.dropboxusercontent.com/u/94882440/screenshot-dos.png

..and unix-like terminals:

https://dl.dropboxusercontent.com/u/94882440/screenshot-linux.png

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

dosbox-screen-1.0.3.zip (9.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dosbox_screen-1.0.3-py2-none-any.whl (8.0 kB view details)

Uploaded Python 2

dosbox-screen-1.0.3.win32.exe (204.7 kB view details)

Uploaded Source

File details

Details for the file dosbox-screen-1.0.3.zip.

File metadata

  • Download URL: dosbox-screen-1.0.3.zip
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dosbox-screen-1.0.3.zip
Algorithm Hash digest
SHA256 a0849f025f16e42ef8158df9df1b905fdfef989124eda2e1b9ca52538f7fede0
MD5 a850c0511eb833a8585f5345f775c340
BLAKE2b-256 94534f4fd5b658f1cc4ea2d5ec221919f97ff2478a61b77ff0444db1d215b9b7

See more details on using hashes here.

File details

Details for the file dosbox_screen-1.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for dosbox_screen-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 63355dac393dfa7849bd28d5aa13e9dbafd3c7e9079a55a9e1cbdd2891d333bb
MD5 e5151b2a0a2149e4601339660d4ff4d8
BLAKE2b-256 6bf966b8a075c93916613afffed916ed75a99858cf4c13f5d7fe0382e5326c88

See more details on using hashes here.

File details

Details for the file dosbox-screen-1.0.3.win32.exe.

File metadata

File hashes

Hashes for dosbox-screen-1.0.3.win32.exe
Algorithm Hash digest
SHA256 3cdaef7a9ae13de02009ff88e4f418012b62929b50fdfe47b669d53ac813a063
MD5 1d402316d48ec02db3dda1b45f8d04c3
BLAKE2b-256 e125cccf46b5d80af2101ae268f88f7a88164cd988c62c3a43f11cdc2a6dd261

See more details on using hashes here.

Supported by

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