LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2009, 06:26 PM   #1
callagga
Member
 
Registered: Jan 2008
Posts: 36

Rep: Reputation: 15
Question putty is not converting "\n" to a new line??? how can I fix this???


Hi,

I'm using Putty to remote in. What's really annoying is that it is showing "\n" in the response text instead of rendering this as a new line.

How could I fix this?

Is this a Putty configuration issue (can't quite see the setting), or something on my server end?

thanks in advance
 
Old 01-19-2009, 08:10 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Look at the Putty Configuration by clicking on the terminals at the upper left corner select change settings. You can then change the terminal setting to suit.
 
Old 01-19-2009, 08:29 PM   #3
callagga
Member
 
Registered: Jan 2008
Posts: 36

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by onebuck View Post
Look at the Putty Configuration by clicking on the terminals at the upper left corner select change settings. You can then change the terminal setting to suit.
The problem I have is I've had a look at the configuration settings and it's not obvious to me what I need to change.

Anyone know which settings to use?

I see there is a "character set transaction" drop down, and it has heaps of entries to choose from. I've tried a few (e.g. UTF-8) but still no luck. Same of what I'm seeing:

..............................
?> Category.find(:all).to_yaml
=> "--- \n- !ruby/object:Category \n attributes: \n updated_at: 2009-01-19 05:47:55\n tax_item_id: \n category_type_id: \"2\"\n title: Investment\n id: \"1\"\n category_id: \n category_group_id: \"5\"\n created_at: 2009-01-19 05:47:55\n active: \"0\"\n attributes_cache: {}\n\n- !ruby/object:Category \n attributes: \n updated_at: 2009-01-19 05:47:55\n tax_item_id: \n category_type_id: \"2\"\n title: Entertainment\n id: \"2\"\n category_id: \n category_group_id: \"3\"\n created_at: 2009-01-19 05:47:55\n active <CUT>
..............................
 
Old 01-20-2009, 04:28 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Do you have the 'Auto wrap mode initially on' in the terminal settings of the Change settings? The 'Terminal Settings' are the options that control the terminal emulation.
 
Old 01-20-2009, 07:03 PM   #5
callagga
Member
 
Registered: Jan 2008
Posts: 36

Original Poster
Rep: Reputation: 15
thanks

I think in fact that the command I was using in fact really does spit out \n as a character not a line feed, so putty was doing the right thing. Doh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB stopped working -- lsusb results in: "Unknown line at line" jgombos Linux - Hardware 3 04-20-2008 07:37 PM
converting shell script from "dialog" to "xdialog" kushalkoolwal Programming 1 02-25-2008 09:40 PM
users created by "useradd" cannot remotely login with PuTTY. Why? Kreshna Linux - Software 4 10-16-2006 10:56 AM
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 12:49 PM
SSH PuTTy gives "connection refused" Sathington Linux - Networking 5 03-18-2004 06:10 AM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration