Re: PuTTY and editing long lines on the command prompt
From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 01/07/05
- Previous message: Glenn Robinson: "Re: SSH tunnels query"
- In reply to: removethis: "PuTTY and editing long lines on the command prompt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: Glenn Robinson: "Re: SSH tunnels query"
- In reply to: removethis: "PuTTY and editing long lines on the command prompt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|