Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing EOUSAGE is not formatted

Status
Not open for further replies.

DarVar

Programmer
Mar 14, 2006
10
IE
Hi my perl program prints the options allover the place

print <<EOUSAGE;
Usage: option 1
option 2
option 3 etc..
EOUSAGE


However it doesn't print to the xterm in a formatted way.
i.e. it isn't lined up like above.

Is there a way to keep the output in line like above?

Thanks in advance
 
Maybe the settings for your Xterm are modified?

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I am using Putty.

Is it Putty that the problem?
 
Play around with the settings for puTTY, and see, there may also be configuration settings in your logon script that might affect this.

If you post what it should look like (hint: use
Code:
 tags), and also what it's actuially like (again the code tags to preserve formatting)

Regards


Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top