Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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
share|improve this answer

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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