1 |
On Saturday, 22 June 2019 09:51:48 BST Jorge Almeida wrote: |
2 |
> On Sat, Jun 22, 2019 at 9:36 AM Mick <michaelkintzios@×××××.com> wrote: |
3 |
> > On Saturday, 22 June 2019 08:52:56 BST Jorge Almeida wrote: |
4 |
> > > However, |
5 |
> > > my urxvt behaves as you describe, more or less: |
6 |
> > > - open urxvt |
7 |
> > > - cat some file with long enough lines |
8 |
> > > - lines wrap |
9 |
> > > - shrink window (horizontally) |
10 |
> > > - contents are NOT redrawn (just like xterm) |
11 |
> > |
12 |
> > OK, we have a difference in behaviour here. In my urxvt lines longer than |
13 |
> > the window shrinking width are redrawn and wrap into the next line. |
14 |
> > |
15 |
> > > - restore window size |
16 |
> > |
17 |
> > Wrapped lines will now unwrap to take up the increasing window width. |
18 |
> > Unlike xterm, no characters are truncated/lost in urxvt. |
19 |
> > |
20 |
> > > - cat same file, etc |
21 |
> > > - contents are now redrawn properly! |
22 |
> > > |
23 |
> > > It appears urxvt does the job by itself (minus what seems to be a bug) |
24 |
> > |
25 |
> > Jorge, your urxvt seems to work differently to my installations here. |
26 |
> > Nevertheless, I'm coming to the conclusion xterm won't behave in the same/ |
27 |
> > similar way as urxvt when it comes to redrawing its window contents. |
28 |
> |
29 |
> Just to make sure there is no misunderstanding: the apparent bug only |
30 |
> manifests itself the first time I do the shrinking/restoring stuff, |
31 |
> after launching a urxvt window. Following tries will show the desired |
32 |
> behaviour. Can you confirm it doesn't happen in your installation? |
33 |
|
34 |
Correct, I do not observe the bug you mention in my installation. I also |
35 |
tried in fluxbox and the redrawing happens in the same way right from the |
36 |
start, except fluxbox does not use a compositor, so (re)wrapping is a bit |
37 |
jerky and shows up half a second after I stopped resizing the window. |
38 |
|
39 |
I need to explain I have added urxvtd in my start up: |
40 |
|
41 |
if [ -x /usr/bin/urxvtd ]; then |
42 |
/usr/bin/urxvtd --opendisplay --fork --quiet |
43 |
fi |
44 |
|
45 |
|
46 |
so additional terminals launched with '/usr/bin/urxvtc -pe tabbed' reuse the |
47 |
same single process of the daemon, making them faster and more economical in |
48 |
resource usage. I assume they inherit some of what's already in memory and |
49 |
this may be a reason why I don't observe your reported bug - although I can't |
50 |
recall if I have this running in fluxbox. |
51 |
|
52 |
-- |
53 |
Regards, |
54 |
Mick |