How do I create a scrolling plan file? I read about their existence here http://www.catb.org/jargon/html/P/plan-file.html, but it doesn't explain how to actually make them.

link|improve this question

feedback

2 Answers

There's a compiler called asp for creating such files available here.

The problem with these now is that terminals are just too darn fast. This technique was used with slooow serial or dial-up connections. The techniques relies on sending a really large file consisting of text, carriage returns and sometimes newlines.

You can enjoy these files today by introducing a timing loop. Perhaps the easiest way is to use pv.

pv -q -L 1200 .plan
link|improve this answer
feedback

It's quite simple really - a file filled with subsequent frames of a single line animation separated with a carriage return (not line feed) so each line overwrites the line before.

E.g., (\r is carriage return)

......<\r.....<.\r....<..\r...<...\r..<....\r.<.....\r<......\r

would animate an arrow moving left through some dots. Delays can be created by having either multiple carriage returns, or repeating the same frame many times.

link|improve this answer
I tried this like so: echo -e "...<\r..<.\r.<..\r<..." > ~/.plan, but the result was "Plan: ...<^M..<.^M.<..^M<...". The man of my finger says it's from Linux NetKit .17. I'm running centos 5.2 – pythonic metaphor Mar 4 '11 at 20:08
1  
Looks like finger on Linux is filtering it and escaping the non-printable characters. – Majenko Mar 4 '11 at 20:22
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.