Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

Cadubi is an application written in Perl that allows you to draw text-based images.

cadubiCadubi is an application written in Perl that allows you to draw text-based images that are viewable on typical UNIX-based consoles.

Usually the applications that emulate these consoles support various text modes, such as background and foreground colors, bold, and inverse.

This text art, commonly called "ASCII art", is used in various places such as online BBSes, email and login prompts. 

-h --help
    display some documentation
    turn off beeping
-s [W] [H]
--size [W] [H]
    sets the size of the console for use with cadubi, where W is number of columns and H is number of rows.
-v --version
    show cadubi's version


Cadubi is available as a package for many operating systems including Ubuntu Linux, Debian GNU/Linux, Gentoo, Linspire, OpenBSD, NetBSD, FreeBSD, and the Fink package management system for Mac OS X.

Cadubi is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Beeping and command line options can be also set in /usr/bin/cadubi. 
i j k l
    Move the cursor around. Holding down shift and typing these keys will move the ursor five spaces instead of one.
    Paint the current pen on the screen.
    Move the cursor down one line and all the way to the left of the console.
delete or backspace or `
    Delete the character before the cursor.
    Prompt for a pen character
    Prompt for foreground color (see section colors).
    Prompt for background color (see section colors).
    Toggle bold mode.
    Toggle inverse mode.
    Toggle blink (highly annoying).
    Enter text mode. This allows you to type like as if you were using a normal text editor, and all the characters drawn onscreen will use the same mode as the pen Pressing Esc will exit text mode.
    Refresh the entire screen by redrawing each character.
    Open a file.
    Save the file.
    Show the quick help screen.
    Exit cadubi.
Cadubi has a 'pen' which describes the current mode. Properties of the pen are the painting character, foreground color, background color, bold, inverse, and blink. Whenever you paint or use the text mode, the characters drawn on the screen will have the properties of the pen. The current mode of the pen is shown at the bottom of the console and is what will be drawn on screen when you paint. Typically, foreground text colors are the same as background colors, unless the text is bold. If the text is bold, foreground colors are usually lighter than the background color, making text easier to read when the text has the same foreground and background color. Refer to the Quick Help (control-'h') to see what the colors look like on your console.

Text mode is an extremely useful feature. Once in the text mode you can type as if you were using a normal text editor, and all the characters drawn onscreen will use the same mode as the pen. To enter text mode, press the 't' key. To exit, press escape.

When cadubi reads a file, it will only read as much that will fit in the workspace (the area of the console minus the bottom row [status bar]). To gain more workspace, see the '-s' operator in section "options".
Cadubi optimizes its output files to display properly and take up as little space as possible. All cadubi output can be viewed with the 'cat' utility.
The color codes are case-insensitive. The following color codes can be chosen as fore- or background colors:
    0 or N - Normal (standard text)
    1 or W - White
    2 or R - Red
    3 or G - Green
    4 or Y - Yellow
    5 or B - Blue
    6 or M - Magenta
    7 or C - Cyan
    8 or K - Black

Custom Search

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
Share on Google Plus

About Hugo Repetto

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment


Post a Comment