Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Mick
On Saturday, 22 June 2019 18:04:49 BST Grant Taylor wrote: > On 6/22/19 2:13 AM, Mick wrote: > > After all changing the shell option in .bashrc does not affect the > > display within the xterm window. > > "shell option in .bashrc"??? > > Are you launching a different shell from Bash? (.bashrc i

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Grant Taylor
On 6/22/19 2:13 AM, Mick wrote: These USE flags are the same like mine. ACK I don't think it is a shell related problem (but may be wrong). I think we need to be very careful and specific what part we think is shell (thus possibly readline) related vs terminal emulator related vs somethin

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Grant Taylor
On 6/22/19 1:52 AM, Jorge Almeida wrote: I think (wrongly?) that readline deals with redrawing when typing a command in the shell. I believe that readline comes into play with the shell which is controlling the command line. Any past output, even old command lines, are historical data that t

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Jorge Almeida
On Sat, Jun 22, 2019 at 11:16 AM Mick wrote: > > > Just to make sure there is no misunderstanding: the apparent bug only > > manifests itself the first time I do the shrinking/restoring stuff, > > after launching a urxvt window. Following tries will show the desired > > behaviour. Can you confirm

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Mick
On Saturday, 22 June 2019 09:51:48 BST Jorge Almeida wrote: > On Sat, Jun 22, 2019 at 9:36 AM Mick wrote: > > On Saturday, 22 June 2019 08:52:56 BST Jorge Almeida wrote: > > > However, > > > my urxvt behaves as you describe, more or less: > > > - open urxvt > > > - cat some file with long enough

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Jorge Almeida
On Sat, Jun 22, 2019 at 9:36 AM Mick wrote: > > On Saturday, 22 June 2019 08:52:56 BST Jorge Almeida wrote: > > > > However, > > my urxvt behaves as you describe, more or less: > > - open urxvt > > - cat some file with long enough lines > > - lines wrap > > - shrink window (horizontally) > > - co

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Mick
On Saturday, 22 June 2019 08:52:56 BST Jorge Almeida wrote: > There is a dev-libs/libtermkey, which I don't have installed. I don't have this installed either. I suppose it does not affect the drawing behavior. > However, > my urxvt behaves as you describe, more or less: > - open urxvt > - ca

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Mick
On Saturday, 22 June 2019 00:44:28 BST Grant Taylor wrote: > On 6/21/19 5:03 PM, Jorge Almeida wrote: > > ## equery uses x11-terms/xterm > > [ Legend : U - final flag setting for installation] > > [: I - package is installed with flag ] > > [ Colors : set, unset

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Jorge Almeida
On Sat, Jun 22, 2019 at 12:44 AM Grant Taylor wrote: > > > This was expected. After all, the output of "cat foo" is not processed > > through readline. > > I don't think that readline has anything to do with this. I think (wrongly?) that readline deals with redrawing when typing a command in th

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 5:03 PM, Jorge Almeida wrote: ## equery uses x11-terms/xterm [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-terms/xterm-337: U I - - Xaw3d

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Jorge Almeida
On Fri, Jun 21, 2019 at 11:38 PM Grant Taylor wrote: > > On 6/21/19 4:20 PM, Jorge Almeida wrote: > > Nope. Just plain xterm (which I use a lot). BTW: it also works > > remotely, via ssh. $TERM is "xterm". > > What use terms do you have enabled (that impact XTerm)? > > Please post the output of eq

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 4:20 PM, Jorge Almeida wrote: Nope. Just plain xterm (which I use a lot). BTW: it also works remotely, via ssh. $TERM is "xterm". What use terms do you have enabled (that impact XTerm)? Please post the output of equery uses x11-terms/xterm. XTerm(337) I think that's the current

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Jorge Almeida
On Fri, Jun 21, 2019 at 9:16 PM Grant Taylor wrote: > > On 6/21/19 2:04 PM, Jorge Almeida wrote: > > My xterm wraps & resizes just fine (e.g., a long line wraps; > > on maximizing the window, contents are redrawn and use just one > > line, if it fits). I don't think I did anything special for this

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 2:04 PM, Jorge Almeida wrote: My xterm wraps & resizes just fine (e.g., a long line wraps; on maximizing the window, contents are redrawn and use just one line, if it fits). I don't think I did anything special for this to work. That surprises me. Are you automatically running scr

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Jorge Almeida
On Fri, Jun 21, 2019 at 8:37 PM Grant Taylor wrote: > > On 6/21/19 12:03 PM, Mick wrote: > > However, lines do not wrap around when I resize the xterm window. :( > > I've never seen this work inside of XTerm. > > XTerm (and many other consoles) only display the output as it was given > to them.

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 12:03 PM, Mick wrote: I seem to have this enabled, as far as the GUI shows, along with reverse wraparound If it's enabled (checked) in XTerm's menu, then the feature is enabled. not sure what the reverse wraparound does. "reverse wraparound" is when you backspace off the left sid

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Mick
On Friday, 21 June 2019 19:29:36 BST Jorge Almeida wrote: > In case it is a bash thing: > Do you have a line > shopt -s checkwinsize > in ~/.bashrc ? > If not, add it and then experiment with a new xterm window > (maybe rxvt doesn't require it, for some reason...) Thanks again for persevering Jor

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Jorge Almeida
On Fri, Jun 21, 2019 at 7:03 PM Mick wrote: > In case it is a bash thing: Do you have a line shopt -s checkwinsize in ~/.bashrc ? If not, add it and then experiment with a new xterm window (maybe rxvt doesn't require it, for some reason...) Regards, Jorge

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Mick
Thanks Jorge, On Friday, 21 June 2019 18:43:56 BST Jorge Almeida wrote: > On Fri, Jun 21, 2019 at 5:32 PM Mick wrote: > > On Friday, 21 June 2019 13:57:23 BST Mick wrote: > > In case what I am asking for is not clear: How can I make xterm/konsole > > behave like rxvt-unicode does and redraw the

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Jorge Almeida
On Fri, Jun 21, 2019 at 5:32 PM Mick wrote: > > On Friday, 21 June 2019 13:57:23 BST Mick wrote: > window width. > > > > In xterm and friends the lines remain at the same original fixed width, > > whether the window is resized to a wider setting or not. In other words the > > line of code does n

[gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Mick
On Friday, 21 June 2019 13:57:23 BST Mick wrote: > I'm not sure I use the correct terminology below, but please bear with me > while I try to describe a long standing problem I'm trying to solve: > > I've been mostly using x11-terms/rxvt-unicode as a terminal emulator in X. > When resizing its win