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 |
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. |
Quote:
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> .............................. |
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. |
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. |
All times are GMT -5. The time now is 08:41 PM. |