[Netkit.users] xterm options

Massimo Rimondini rimondin at dia.uniroma3.it
Wed Jul 21 10:24:23 CEST 2010


Dear Ashish,

the standard way to affect xterm options is via X resources, namely a
repository kept by the X server containing application-specific settings
that every program can access to get its own configuration.

You can set these resources inside a file ~/.Xresources, and fetch them
without restarting X by issuing a command like:
> xrdb -merge ~/.Xresources

The full list of xterm-related X resources can be found in the man page
of xterm. A good starting point can be found here:
http://www.debian-administration.org/article/Customizing_your_xterm.
In order to affect the settings you mention, you would put the following
in your ~/.Xresources:

> xterm.*.scrollBar: true
> ! What do you mean by "lines buffered"? The scrollback buffer?
> ! Then, here it is:
> xterm.*.saveLines: 4096
> xterm.*.scrollTtyOutput: false
> ! You didn't ask for the following, but repositioning to the
> ! bottom upon keypress is probably useful given that the above
> ! is disabled.
> xterm.*.scrollKey: true

After running "xrdb -merge ~/.Xresources" (or restarting X), all your
xterms will have these settings always applied.

Regards,
Massimo.



On 07/20/2010 11:57 PM, Ashish Agarwal wrote:
> The xterm windows that virtual machines start up in have several
> limitations. I was hoping to pass extra options to the xterm command,
> but I cannot get this to work. I tried by aliasing 'xterm' in my shell
> and also adding the options to TERM_TYPE in netkit.conf. Neither has
> any effect.
>
> Does anyone know how to do this? Or should I just use konsole or gnome
> (but there are bug reports suggesting gnome causes other problems).
>
> The features I would like are:
> - a scroll bar
> - the number of lines buffered should be increased
> - output to a window should not reposition the screen to the bottom of
> the scrolling region (the -si option to xterm should accomplish this)
>
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>   
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20100721/b6fd40f1/attachment.htm 


More information about the Netkit.users mailing list