LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2013, 07:43 PM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
Unwanted gap at the bottom of xterm


Would you please look at this screenshot:

Click image for larger version

Name:	xterm-issue-1-stjerm-screen-2013-01-11.png
Views:	129
Size:	14.6 KB
ID:	11591

This is stjerm, a "Quake-style" terminal application, running GNU Screen. Note how the hardstatus bar sits right at the bottom of the screen, there is almost no visible gap.

The same happens in Vim, except the status line is exactly one line above the bottom, because commands will be inserted into the line below it. I would like to post a screenshot, but I can only upload three.

That works well in stjerm and RoxTerm.

The next screenshot begins to illustrate the problem:

Click image for larger version

Name:	xterm-issue-4-tilda-screen-2013-01-11.png
Views:	93
Size:	13.6 KB
ID:	11592

That is Tilda, another "Quake-style" terminal application. Note that there is a gap below the status bar. Likewise, Vim has a full empty line for commands, but in Tilda, that line is taller than in stjerm or RoxTerm. I found the exact same problem with LX Terminal, gaps the same size as in Tilda.

Finally, the problem at its worst:

Click image for larger version

Name:	xterm-issue-5-xterm-screen-2013-01-11.png
Views:	87
Size:	14.9 KB
ID:	11593

That is Xterm. Note how the gap now is considerably taller, and in Vim, there is absolutely enough room for two lines of commands under the status bar.

That is a waste of precious space, because my screen is small. It's a netbook.

I also feel the problem when using mutt in Xterm, there is an ugly, two-line empty space at the bottom of the screen that I'd really rather be using.

Now you may be thinking, "just use stjerm and get done with the whole issue." OK, maybe, but I have these two different uses for my terminal:

I press a key and have stjerm drop down whenever I want to run commands (which is very frequent), and I run two applications (e.g. mutt) in separate XTerm windows, launched by global key shortcuts.

I have been using RoxTerm or LX Terminal for those. Not because I particularly love them, rather because I have always hated Xterm so much. It is as ubiquitous as Vi, which is good, but it's always looked awfully awful ugly, and it's so hard to configure.

But I recently ran across some pretty darn good (unofficial, of course) documentation that really helped me with configuring Xterm so it looks decent. Since I have tamed the beast and now it looks good, I think I just want to use it because it's small, ubiquitous and has fewer dependencies. Tilda, Rox and LX Term can all go away, I will just stick with stjerm because of the drop-down feature, which I particularly love.

Now, can I fix that hideous gap in all my Xterm windows? I have tried a few tweaks like xterm*vt100*geometry: 120x80 (and many other geometry numbers) in ~/.Xresources, but it doesn't seem to make any difference.

Also, note that I run all these terminals maximized and in full screen mode, always set automatically by Openbox.
 
Old 01-15-2013, 12:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
have you tried to change the font?
 
Old 01-16-2013, 06:37 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Try starting the xterm with the option "+aw" (disable auto-wraparound)

I think your problem is an unintentional line wrap (possibly automatically generated) at the end of the last line.

You can also try the property "Xterm*autoWrap: false"

Last edited by jpollard; 01-16-2013 at 06:39 AM.
 
Old 01-17-2013, 07:25 PM   #4
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by pan64 View Post
have you tried to change the font?
No, I haven't, I wouldn't do that. It's the only font and size that I like on terminals.
 
Old 01-17-2013, 07:26 PM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by jpollard View Post
Try starting the xterm with the option "+aw" (disable auto-wraparound)

I think your problem is an unintentional line wrap (possibly automatically generated) at the end of the last line.

You can also try the property "Xterm*autoWrap: false"
I just tried both suggestions, neither worked. :-(
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 11 01-30-2023 04:45 AM
LXer: Move unity launcher to the bottom with Unity Bottom Launcher | PPA Ubuntu LXer Syndicated Linux News 0 12-19-2011 12:30 AM
Spawning xterm from Linux service: xterm: DISPLAY is not set bayoulinux Linux - General 3 11-26-2011 08:35 PM
XTerm(241) support for truetype fonts and method of changing XTerm font. ajassat Linux - Software 2 08-19-2009 12:01 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration