Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
This is unlikely to be a PuTTYcyg issue. You need to make sure you've enclosed 
any non-printing characters in your prompt with '\[' and '\]', so that readline 
can correctly calculate the length of the prompt. See also 
http://www.gnu.org/software/bash/manual/html_node/Printing-a-Prompt.html#Printin
g-a-Prompt.

Original comment by andy.koppe on 6 May 2011 at 5:02

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
I occasionally experience the same behavior, but so far I have not been able to 
consistently reproduce it, which is why I have not reported any issue.

I am using the default Cygwin prompt, as set by /etc/bash.bashrc, i.e. 
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '

I do not see anything wrong with this prompt. Do you ?

Original comment by [email protected] on 19 May 2011 at 7:34

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Nope, looks fine to me to. I'd check whether the number of columns reported by 
`stty -a` tallies with the actual window size.

Original comment by andy.koppe on 20 May 2011 at 7:36

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
I have the same problem too. And I found it occurs under Win7_64 but not WinXP.

A quick but dirty solution:
Change "Property" of PuTTYcfy.exe by right click on the file, "Compatibility", 
check "Run this program in compatibility mode for", select "Windows XP (Service 
Pack 3), and then "Apply/OK".

Wish it helpful.

Original comment by [email protected] on 22 Oct 2011 at 2:12

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Update: It seems my solution yetoday will cause some weird problem. Wish anyone 
can fix the bug. Thanks.

Original comment by [email protected] on 23 Oct 2011 at 8:38

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Update2: I downloaded source code of PuTTY, and tried to have a look at the 
bug. Fortunately, I found that there is a "PuTTY wish cygwin-terminal-window
" feature in version 0.61. I tried, it works well.

Reference: 
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/cygwin-terminal-windo
w.html

Original comment by [email protected] on 23 Oct 2011 at 1:04

from puttycyg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.