WMII Terminal Width of 80 Columns for xterm (colrules)

Posted by BCable on Super User See other posts from Super User or by BCable
Published on 2010-05-06T04:00:38Z Indexed on 2010/05/06 4:08 UTC
Read the original article Hit count: 266

Filed under:
|
|

I'm trying to get WMII to split horizontally at 80 columns for xterm, but I'm only seeing a way to do this via percentage. It would be nice to be able to set it by something other than percentage for various resolutions, but if I have to deal with that I will.

The problem is that even percentages don't work at my resolution (1366x768). 47+47 in /colrules yields 79 characters and 48+48 yields 81 characters. As far as I can tell, there is no decimal system allowed so I could do 47.5 for instance.

I came from Ion3 and I'm used to using 80 column terminals, resizable by the keyboard, to get a reasonable cut off point for VIM when I'm coding. I would just settle with using the mouse, but WMII seems to be much more fluid than Ion3, so I would have to do it a LOT, which sounds annoying.

Any ideas?

© Super User or respective owner

Related posts about linux

Related posts about xterm

  • XTerm and a bold text

    as seen on Super User - Search for 'Super User'
    This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false XTerm*pointerColor: white XTerm*pointerShape: left_ptr XTerm*charClass: 37:48,45-47:48,58:48,64:48,126:48 XTerm*cursorColor:… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • tput: unknown terminal

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM xterm # tput -T ansi unknown terminal "ansi" In fact, ... # ls /usr/lib/terminfo/x x1700 xl83 … >>> More

  • xterm window gets stuck after some time

    as seen on Super User - Search for 'Super User'
    I am using xterm on RHEL with KDE. Usually after a couple of days, the xterm terminals get stuck i.e. I am not able to resize or relocate them. After this, even if I open a new terminal, it is stuck the same way. What I do is logout and login again. Is this a bug with xterm? Is there a known solution… >>> More