[racket] Scribble commandline interaction

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Wed Dec 15 11:18:42 EST 2010

On 12/15/10 11:17 AM, Matthew Flatt wrote:
> At Wed, 15 Dec 2010 11:10:27 -0500, David Van Horn wrote:
>> Is there a way to typeset not just a command line, but a command line
>> interaction, e.g. something like:
>>
>>      $ svn help
>>      Subversion command-line client, version 1.6.5.
>>      ...
>>
>> Using commandline doesn't get the line breaks right and inserting
>> explicit linebreak's messes up the alignment on subsequent lines.  Using
>> verbatim does the right thing, but doesn't align consistently with
>> commandline uses (which I'm also using).
>
> Does supplying `#:indent 2' to `verbatim' produce the right output?

Seems to, yes.

Thanks.





Posted on the users mailing list.