Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
08-12-2006, 06:31 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2003
Location: San Antonio
Posts: 25
Rep:
|
putty and ssh trouble
Everytime I copy and paste more than 1 line of text from my windows machine to my ssh server via putty, it doesn't seem to refresh the screen on putty properly.
It's extremely hard to explain but it makes it very difficult to go back and delete a few characters or see the beginning of the cmd I typed. I'm guessing this is not normal because i've tried using other servers using putty and I don't have this issue.
I have no idea if it's a putty issue or something to do with my ssh server, so I don't know where to start to fix this.
|
|
|
|
08-12-2006, 07:02 AM
|
#2
|
|
LQ Newbie
Registered: Jul 2003
Location: San Antonio
Posts: 25
Original Poster
Rep:
|
|
|
|
|
08-13-2006, 08:15 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2003
Location: San Antonio
Posts: 25
Original Poster
Rep:
|
Wow, I'm an idiot. I just disabled the colors on the prompt and now its working.
Anyone know why this happens when you add colors to your prompt?
|
|
|
|
08-13-2006, 08:30 AM
|
#4
|
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
If you don't properly escape the color character sequences, bash thinks they are normal characters. All bash knows is the width of the terminal in characters and the amount of characters currently on the line. It gets confused when you have non-printing characters that mess up the line sequence.
|
|
|
|
08-13-2006, 10:00 AM
|
#5
|
|
LQ Newbie
Registered: Jul 2003
Location: San Antonio
Posts: 25
Original Poster
Rep:
|
Quote:
|
Originally Posted by osor
If you don't properly escape the color character sequences, bash thinks they are normal characters. All bash knows is the width of the terminal in characters and the amount of characters currently on the line. It gets confused when you have non-printing characters that mess up the line sequence.
|
That is a very distinct possibility. How do I escape the color character sequences?
|
|
|
|
08-13-2006, 10:24 AM
|
#6
|
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|