Wednesday, December 3, 2014

Re: [slightly off] xterm left margin

>> This is not strictly vim related but don't know where to post it (is
>> there an xterm list somewhere?) and thought that people here might be
>> knowledgeable on xterm too not only vim.
>>
>> I'm using xterm (without any wrappers like gnome-terminal, etc) and
>> would like to set a left margin, i.e. I'd like to prevent the first
>> character to be immediately at the left side of the window. For
>> example one empty character on the left side would be great (this is
>> especially useful and comforting to my eyes when I use xterm in full
>> screen mode).
>>
>> I can't find anything that I could set in .Xdefaults or .Xresources
>> and also can't find a suitable command line option in the manual.
>>
>> Does anyone know if this is possible at all?
>>
>> Cheers,
>> Daniel
>
> `man xterm | less +/border` gives:
>> -b number
>> This option specifies the size of the inner border (the distance between
>> the outer edge of the characters and the window border) in pixels. That
>> is the vt100 internalBorder resource. The default is "2".
>
> So, for the .Xresources:
> 'xterm.internalBorder: $howManyPixelsYouWant'

Great, thanks a million!

Apparently my problem was that I was
googling/searching/manualreading/etc for the wrong term, I looked for
"margin" and "padding" when it is actually "border" :)

Cheers,
Daniel


> - Nathan
>
> --
> /"\ ASCII Ribbon Campaign
> \ / - against HTML emails
> X - against proprietory attachments
> / \ http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: