OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

p5-Term-ReadLine-TTYtter-1.4p4

Readline Library Wrapper Module for Twitter

Back to search · Project homepage

Description

This is Term::ReadLine::TTYtter. It is a modified version of T::RL:Perl with several new nonstandard features specific to TTYtter, but may be useful for other applications. It also allows UTF-8 characters to be entered without crashing, and adds a counter so you can see how many characters you've entered (which is a big deal for Twitter and other microblogging platforms). These methods are additionally defined, which are non-standard: * removereadline method: erases the current prompt from the screen * redisplay method: repaints the current prompt from the screen * hook_background_control method: connects the interactive readline prompt to a PID specified by $main::child. The PID is then sent signal SIGUSR1 when a character is beginning processing (i.e., the process needs to NOT write to the screen), and SIGUSR2 when done (i.e., the process can write again). * hook_use_ansi: same, but connects to $main::dont_use_counter (1 = disable_counter). Useful for prompts where this is irrelevant. * hook_no_tco: this is Twitter specific. See code. (The use of hooks into $main:: was so that the calling convention of &readline would not have to be disturbed to pass additional options.)

Package information

Ports path
devel/p5-Term-ReadLine-TTYtter
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Installing and updating packages · Package details as JSON