Brent Jones wrote: > On Fri, Aug 15, 2008 at 6:03 PM, Matt Harrison > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > Shawn Walker wrote: > > Matt Harrison wrote: > >> I connect to my SXCE box regularly over ssh and I've got a bash line > >> wrapping problem that is driving me mad. I googled about this for 2 > >> weeks and haven't found any solution. > >> > >> If I type a command that exceeds 65 characters (including the shell > >> prompt), it causes the line to wrap to the beginning of the same > >> line, and if I go back to change the command, it litters up the > >> entire terminal. Apart from making a mess it makes it really hard to > >> work in the console. > >> > >> This problem manifests when connecting over ssh from either a linux > >> machine with Konsole, or from Windows with PuTTY. I have tried > >> various things, including changing terminal types, and using the > >> "shopt" internal. > >> > >> In linux this problem occurred now and then but merely setting my > >> term type to "linux" always sorted it out. > >> > >> Does anyone have any information relating to this, if I can find a > >> solution it would make my life so much easier. > >> > >> On a side note, i have "\w" in my PS1 prompt to display the CWD. > This > >> is supposed to abbreviate the CWD with a tilde if working inside the > >> home directory. Unfortunately, if working as any user other than > >> root, the path is always displayed in full, as if outside the home > >> directory. This makes the prompt very large and adds to the 65 > >> character limit problem. > >> > >> Any ideas? > > > > I've seen this behaviour as well -- it's annoying to no end. > > Especially since if you use the backspace key to backup beyond the > > second line of text, the display of the command line is corrupted and > > you can't actually see what was typed before. > > > Exactly, if you do backspace too far and loose what you were typing, you > end up counting the characters you typed in your head to get to the > right point :P > > I'm glad I'm not the only one having this problem, hopefully someone > will have an idea for a workaround and we can get back to typing > commands without a backslash every 20 chars :) > > Matt > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > <mailto:opensolaris-discuss@opensolaris.org> > > > I see this occur in Putty often, not sure why, but it happens across all > my systems (Linux, FreeBSD, Solaris). > Try to manually size the Putty window to something else. Don't hit the > maximize button or minimize, but drag the corners around. > Doing so makes bash recognize the terminal width again, and I'm able to > type long lines after that (for a while).
I see this happening just using gnome-terminal *on* OpenSolaris 2008.05. So, there is definitely something broken here. -- Shawn Walker _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org