You are not logged in.

#1 2016-09-23 16:45:43

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Why does urxvt-unicode output more lines than other terminals?

I have a question on urxvt-unicode that has always puzzled me. I run a gsutil script to Google Cloud, and when I use it under other terminals (xfce-terminal or mate-terminal), I get less lines output than on rxvt-unicode.

Here is an example on Mate-Terminal for copying one file:

Copying file:///home/asdf/LastCloudBackup.txt [Content-Type=text/plain]...
/ [1 files][   29.0 B/   29.0 B]                                                
Operation completed over 1 objects/29.0 B. 

Here is the same operation when done on rxvt-unicode:

Copying file:///home/asdf/LastCloudBackup.txt [Content-Type=text/plain]...
/ [0 files][    0.0 B/   29.0 B]                                               
/ [1 files][   29.0 B/   29.0 B]                                                
Operation completed over 1 objects/29.0 B.

Any idea why there is an extra line of output on rxvt-unicode? Any settings that can reduce verbosity?

Thanks!

Offline

#2 2016-09-24 05:24:48

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: Why does urxvt-unicode output more lines than other terminals?

Thanks for the response! I will take a look at it with a hex editor when I get a chance. But what you say makes sense. Hopefully it will be fixed someday but I won't hold my breath.

Offline

#3 2016-09-24 16:47:05

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Why does urxvt-unicode output more lines than other terminals?

oneleaf wrote:

Any settings that can reduce verbosity?

Try adding this line to ~/.Xresources

URxvt.secondaryScreen: false

Offline

#4 2016-09-24 17:13:54

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: Why does urxvt-unicode output more lines than other terminals?

Head_on_a_Stick wrote:
oneleaf wrote:

Any settings that can reduce verbosity?

Try adding this line to ~/.Xresources

URxvt.secondaryScreen: false

Just gave this a try and it did not fix the issue, unfortunately.

In fact, I just did a big file over gsutil, and I realized it is even worse than I thought. Normally, the progress indicator stays in one line and keeps increasing 0% to 100%. But in urxvt, it can go up to an absurd number of lines for each level of progress.

Last edited by oneleaf (2016-09-24 17:19:38)

Offline

#5 2016-09-24 22:08:01

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: Why does urxvt-unicode output more lines than other terminals?

Here is an example of what happens...
http://i.imgur.com/mdAWSi8.png

Mod Note: oversized image converted to URL, please limit images to ~250x250px
-HoaS

Last edited by Head_on_a_Stick (2016-09-24 22:48:48)

Offline

#6 2016-09-24 22:39:50

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Why does urxvt-unicode output more lines than other terminals?

It would appear that other terminals are honouring an instruction to move the cursor back to the starting position, and overwrite what they'd previously put on that line, for reasons I can't guess at it appears urxvt-unicode is ignoring the instruction to do so.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#7 2016-09-26 07:10:23

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: Why does urxvt-unicode output more lines than other terminals?

Thanks for the feedback.

Sort of found a resolution to this in that the problem went away when I made the window wider. So I can sort of resolve this by widening the terminal as part of the script. Never had this issue with other terminals, despite having an actual narrower terminal with them, so it does seem like something wrong with the program in how it interacts with rxvt.

Offline

#8 2016-09-26 07:39:22

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Why does urxvt-unicode output more lines than other terminals?

oneleaf wrote:
Head_on_a_Stick wrote:
oneleaf wrote:

Any settings that can reduce verbosity?

Try adding this line to ~/.Xresources

URxvt.secondaryScreen: false

Just gave this a try and it did not fix the issue, unfortunately.

it probably won't solve the problem, but you know you have to manually merge the changes to .Xresources, right?
so each time you change the file:

xrdb -merge ~/.Xresources

then open a new urxvt.

Offline

#9 2016-09-26 07:52:04

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: Why does urxvt-unicode output more lines than other terminals?

ohnonot,
Yep, I knew to do that, but always appreciate the reminder. :-)

Offline

Board footer

Powered by FluxBB