---------- Forwarded message ---------- From: Errin Larsen <[EMAIL PROTECTED]> Date: Fri, 8 Oct 2004 15:36:28 -0500 Subject: Re: Extra newline characters. To: Ron Smith <[EMAIL PROTECTED]>
On Fri, 8 Oct 2004 13:24:22 -0700 (PDT), Ron Smith <[EMAIL PROTECTED]> wrote: <<SNIP>> > > > Thanks for your help :-). You're welcome! > I'm simply loging into a free shell account, then > using 'vi', on the other end, to write the scripts. But, I get odd behavior > from the shell(s) when I execute the script (again on the other end). > > --Ron > My guess, in this case, is that you're terminal emulator (DOS) is having trouble talking to the shell. I would try some of the suggestions from Kevin: > Try: > $ stty sane > $ TERM=vt100; export TERM > > That will give you a common default terminal emulation. I would > recommend getting a better windows client terminal. Some good free ones > are putty and teraterm. Cygwin is a complete linux emulation package > the runs on windows and includes decent terminal emulators (and I > believe perl comes with it). I'm wondering what shell you are using? you can type: # echo $SHELL on most UNIX accounts, this will be set for you and will contain your default shell. Kevin's suggestions will work with most shells, but Cshell would likely complain. I think your problem is more shell and terminal-emulation related, rather than Perl related. I'd suggest a good new-to-UNIX book, If I were you. Do you have a SysAdmin you can contact with problems or help-needed questions? If so, I would explain your problem to her/him as she/he (wow, that's annoying, huh? trying to keep PC is a pain!) would be most familiar with your environment and terminal options. I also agree with Kevin that a good terminal emulation program could help you. To follow Chris' advice, the really good ones will support SSH, as well. I'd suggest Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/ --Errin PS: I forgot to mention some further [EMAIL PROTECTED] mailing list etiquette: Try to CC the list with your replies, as well. Some people will complain if you don't! Keep up the UNIX and Perl learning! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>