Re: PuTTY and editing long lines on the command prompt

From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 01/07/05

  • Next message: Artur: "Servers supporting IDEA cipher"
    Date: 07 Jan 2005 15:12:34 +0000 (GMT)
    
    

    removethis <"hjohn(removethis)"@xs4all.nl> writes:
    >I use PuTTY to remotely log in to a Linux server running Bash using SSH.
    > The simplest way to reproduce my problem is to simply type characters
    >on the commandline until it reaches the edge of the screen. The cursor
    >now should go one line down and the commandline should continue, but in
    >PuTTY the cursor goes to the start of the same line and starts
    >overwriting it. [...]

    In my experience, the top two causes of this sort of problem have turned
    out to be:

     - Failure to use \[ and \] correctly in a custom prompt string
       (e.g. $PS1). Setting PS1 to something simple (e.g. "") should show
       whether this is the problem.

     - Failure of SIGWINCH to propagate properly after a horizontal terminal
       resize. If "kill -WINCH $$" clears the problem up, it's this one.


  • Next message: Artur: "Servers supporting IDEA cipher"

    Relevant Pages

    • PuTTY and editing long lines on the command prompt
      ... I use PuTTY to remotely log in to a Linux server running Bash using SSH. ... on the commandline until it reaches the edge of the screen. ... PuTTY the cursor goes to the start of the same line and starts ... overwriting large parts of the screen. ...
      (comp.security.ssh)
    • Re: putty focus problem in XP
      ... putty, the cursor becomes black, and so not visible with the default ... a problem with putty, as on two other XP machines i've tested, things ... to accommodate the default black background of putty, ... mode coloring on top of Putty, and the results of the colorized 'ls' ...
      (comp.security.ssh)
    • putty focus problem in XP
      ... putty works fine in XP until i change the focus. ... putty, the cursor becomes black, and so not visible with the default ... a problem with putty, as on two other XP machines i've tested, things ... to accommodate the default black background of putty, ...
      (comp.security.ssh)
    • Re: Logging In to PuTTY
      ... The cursor will not move at all or accept ... A.7.16 My keyboard stops working once PuTTY displays the password ... Unlike the Windows login prompts, PuTTY doesn't display the password ...
      (comp.security.ssh)
    • Re: Bug in less version 406.
      ... I can't reproduce this on any of the 3 systems I have easy access to, ... session is via PuTTY. ...
      (freebsd-stable)