Home > Perl6, unicode > One line of unicode at you fingertips

One line of unicode at you fingertips

I found myself making finger acrobatics to enter “»” on the CLI to test examples dealing with IO::* because camelia comes with a restricted setting. I’m using screen what does support digraphs but doesn’t include the fancy chars I need for my Perl 6 pleasure.

As it turns out one can tell screen to exec a shell command, let it take keyboard input and paste the result in the active screen window. There is a irssi plugin that allows the usage of digraphs and is implemented in Perl 5.

It’s not really doing what I wanted to do but got a list of digraphs to start with. A little while later I got a Perl 5 script that is doing what is needed to turn screens digraphs into something useful for a Perl 6 lubber. As a side effect irssi got convenient digraphs without fiddling with Josh Holland‘s plugin. And so does any program running inside screen. If you don’t like my intentionally RFC breaking digraphs – fork away.

♥ Happy␣typing! ♥¶

Categories: Perl6, unicode

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: