[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Tabs in STDOUT



At 08:29 -0400 98/07/23, Chris Nandor wrote:
> At 08.23 -0400 1998.07.23, Richard Christensen wrote:
> >I was wondering why the tabs look like and behave like spaces on STDOUT
> >for MacPerl. When writing to a file, everythings looks nice and orderly.
> >But, when I have to output displayed on the screen it looks like a single
> >space instead of a tab.
>
>
> The MacPerl editor/window does not handle tabs "properly".

Recall that the MacPerl editor/output window uses the Text Edit engine.
This is the same editor used by TeachText and (now) SimpleText.  Neither of
these programs understands tabs well.  TeachText was created for simple
README files.

If you use the BBEdit plugins, you can have your MacPerl output come back
to a BBEdit window.  Or, set your formatting with printf, format, and an
appropriate number of spaces.  But don't count on tabs.
---
Vicki Brown, vlb@cfcl.com        |\      _,,,---,,_
Journeyman Sourceror      ZZZzz /,`.-'`'    -.  ;-;;,_
Scripts & Philtres             |,4-  ) )-,_. ,\ (  `'-'
http://www.cfcl.com/~vlb      '---''(_/--'  `-'\_)
P.O. Box 1269 San Bruno, CA  94066

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch