
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
######## libxosd-ruby ########
Introduction
Compiling
Installing
Example
Contact
Introduction
XOSD is a system that displays text on top of the other windows, much like the on-screen display (OSD) used by most modern televisions and video-players. libxosd-ruby is a ruby interface to this library.
BUGS:
Since XOSD uses pthread, and (at least in Debian) ruby is, by default, compiled without -lpthread, the ruby process sometimes fails to exit when XOSD is used, unless "exit!" is used. This library checks if ruby was compiled with "-lpthread", and if not, adds an exit handler using "at_exit" that executes "exit!".
$ ruby extconf.rb (if this fails looking for 'mkmf', you probably need the ruby-dev package) $ make
Installation may need to be done as root. Installs to ruby site dir.
$ ruby install.rb
require 'rxosd' osd = RXOSD.new(2) osd.font = '---bold-r---33-------*' osd.align = RXOSD::LEFT osd.valign = RXOSD::BOTTOM osd.timeout = 4 osd.puts("First line") sleep 1 osd.puts("Second line") sleep 1 osd.puts("First line again", 0) sleep 1 osd.slider(50, 1) osd.wait_until_hidden osd.clear osd.timeout = 4 osd.puts("Second line again", 1)
If you have any problems, comments, or questions, please contact me one of the following ways: Email: Derek Lewis libxosd-ruby@lewisd.com Bug Reports: http://rubyforge.org/tracker/?atid=595&group_id=133 Feature Requests: http://rubyforge.org/tracker/?atid=598&group_id=133 Support Requests: http://rubyforge.org/tracker/?atid=596&group_id=133 Open Discussion: http://rubyforge.org/forum/forum.php?forum_id=537
FAQs
Unknown package
We found that libxosd-ruby demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.