public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Prompt wrapping lines problems
       [not found] <1138844908.4160788.1633516517585.ref@mail.yahoo.com>
@ 2021-10-06 10:35 ` jp
  2021-10-08 23:39   ` L A Walsh
  0 siblings, 1 reply; 3+ messages in thread
From: jp @ 2021-10-06 10:35 UTC (permalink / raw)
  To: cygwin

Hello,I have the problem described in this page :https://superuser.com/questions/283236/cygwin-bash-prompt-is-wrapping-lines-on-the-same-line
I've tried everything to solved this but I didn't succeed. I have to reinstall again a previous version of cygwin...
So please, for the next version of cygwin, resolved this in the package, because it totally drive me crazy...
Thanks a lot and thanks for your great work for the cygwin software.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Prompt wrapping lines problems
  2021-10-06 10:35 ` Prompt wrapping lines problems jp
@ 2021-10-08 23:39   ` L A Walsh
       [not found]     ` <919866450.1283857.1633765090246@mail.yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread
From: L A Walsh @ 2021-10-08 23:39 UTC (permalink / raw)
  To: jp, cygwin


Did you try the the solution suggested?  I.e. 

What do you see if you type:

  echo "$TERM"

How did you start your bash prompt? 

Also might be useful to send the output of:

  stty -a
 

On 2021/10/06 03:35, jp via Cygwin wrote:
> Hello,I have the problem described in this page :https://superuser.com/questions/283236/cygwin-bash-prompt-is-wrapping-lines-on-the-same-line
> I've tried everything to solved this but I didn't succeed. I have to reinstall again a previous version of cygwin...
> So please, for the next version of cygwin, resolved this in the package, because it totally drive me crazy...
> Thanks a lot and thanks for your great work for the cygwin software.
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Prompt wrapping lines problems
       [not found]     ` <919866450.1283857.1633765090246@mail.yahoo.com>
@ 2021-10-09 13:41       ` L A Walsh
  0 siblings, 0 replies; 3+ messages in thread
From: L A Walsh @ 2021-10-09 13:41 UTC (permalink / raw)
  To: jp, cygwin



On 2021/10/09 00:38, jp wrote:
> 
> 
> I'm very happy that you respond me. Yes, I've tried the solution 
> suggested but I didn't succeed, but it doesn't matter now, because I've 
> installed and old version of cygwin.
> 
> Theese are the result of the command, but it will not help you because 
> it comes from the old version of cygwin and not from the new one 
> containing the bug.
> 
> 
> $ echo "$TERM"
> xterm
> 
> me@me ~
> $ stty -a
> speed 38400 baud; rows 22; columns 191; line = 0;

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>^^^>...That's awfully wide!!!
normally you use 80 charcaters wide -- and the terminal you showed looked
more like 80 characters, than 191.

Bash may not be wrapping until 191, 

try setting columns to 80 (stty cols 80)
and making sure your stty -a shows the same columns
as your '$LINES' variable.

About COLUMNS, I see:
 COLUMNS
 Used by the select compound command to  determine  the  terminal
 width  when  printing selection lists.  Automatically set if the
 checkwinsize option is enabled or in an interactive  shell  upon
 receipt of a SIGWINCH.
----
	This suggests that it might be necessary to have the checkwinsize
variable set, since if you change the size of your bash window, it won't
have anyway of knowing if that option is off


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-09 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1138844908.4160788.1633516517585.ref@mail.yahoo.com>
2021-10-06 10:35 ` Prompt wrapping lines problems jp
2021-10-08 23:39   ` L A Walsh
     [not found]     ` <919866450.1283857.1633765090246@mail.yahoo.com>
2021-10-09 13:41       ` L A Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).