Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jarib-win32console

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jarib-win32console

  • 1.2.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

This file implements a port of Perl's Win32::Console and Win32::Console::ANSI modules.

Win32::Console allows controling the windows command line terminal thru an OO-interface. This allows you to query the terminal (find its size, characters, attributes, etc). The interface and functionality should be identical to Perl's.

Win32::Console consists of a Ruby .rb interface. For best performance, this library has been also ported to C.
If you lack a C compiler, you can still use the class thru the ruby interface. If you can compile it, then the ruby interface is not used and the C functions are called instead.

Win32::Console::ANSI is a class derived from IO that seamlessly translates ANSI Esc control character codes into Windows' command.exe or cmd.exe equivalents.

These modules allow you to develop command-line tools that can take advantage of the unix terminal functions while still being portable. One of the most common uses for this is to allow to color your output. The modules are disted with Term/ansicolor.rb, too, as it is a nice thing to verify it is working properly.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc