
On Thu, Jul 19, 2012 at 01:53:25PM EDT, Pablo Olmos de Aguilera Corradini wrote: [..]
Even if it's not much, you can ignore it, so I wonder how people deal with this. What are your suggestions?
Well the problem is that an emulator's window size is measured in terminal cells, which are dependent on the font size that you specify when you launch your terminal session. While with window managers (and other X11 applications) the unit is the pixel. As a result, since you are working with integers, there is a high probability that there will be a mismatch, leaving a few pixel's worth between the terminal emulation's window and whatever slot you want it to fit into, either the entire physical screen of a ‘sub window’ created for instance by a tiling window manager. With xterm, you can use the -b flag etc. to tweak the terminal window's size pixel-wise, but since the value specified is a constant, this is really only convenient when you use full-screen terminals. Another option which turns out to be more flexible, is to tell your window manager to remove all decorations (borders, bars, etc.) from your terminal windows and use the same solid color for the terminal's background and the root window - e.g. black on black. The mismatch is still there of course, but you don't get to see it. What this means is that if you need to start two terminals with different-size fonts (e.g. for different scripts) and ask the window manager to maximize them.. the gap may be different but all you get to see is a black screen and your shell prompt. CJ -- Mooo Canada!!!!