I don't see how you can do that... you are dependent on the capabilities of the terminal. If its an old school text terminal, you can't just draw arbitrary stuff like a rotated D. That is pretty fancy and even in graphics mode has nothing to do with perl, or do I misunderstand your question?
On Fri, Dec 30, 2011 at 2:12 PM, Michael Ludwig <mil...@gmx.de> wrote: > FORREST COPLEY schrieb am 29.12.2011 um 10:48 (-0700): > > Is it possible to write a perl script to print a completely custom > > character on a console text terminal? > > Say a D rotated 90 degrees or something. > > or an A with the innards filled in. > > Here's how to print alpha to omega: > > perl -C2 -lwe 'print join q(, ), map chr, 0x391 .. 0x3a9' > > Α, Β, Γ, Δ, Ε, Ζ, Η, Θ, Ι, Κ, Λ, Μ, Ν, Ξ, Ο, Π, Ρ, , Σ, Τ, Υ, Φ, Χ, Ψ, Ω > > If you know the Unicode codepoints you can certainly print the characters. > For Perl, it's essentially numbers. > > Whether your particular character comes out nicely or not depends on > whether the font you're using has the glyph in question. > > Next time you might want to spend two seconds or even ten thinking > about a suitable subject line … > > -- > Michael Ludwig >