<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Dear Ashish,<br>
<br>
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.<br>
<br>
You can set these resources inside a file ~/.Xresources, and fetch them
without restarting X by issuing a command like:<br>
<blockquote type="cite"><tt>xrdb -merge ~/.Xresources</tt></blockquote>
<br>
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:
<a class="moz-txt-link-freetext" href="http://www.debian-administration.org/article/Customizing_your_xterm">http://www.debian-administration.org/article/Customizing_your_xterm</a>.<br>
In order to affect the settings you mention, you would put the
following in your ~/.Xresources:<br>
<br>
<blockquote type="cite">xterm.*.scrollBar: true<br>
! What do you mean by "lines buffered"? The scrollback buffer?<br>
! Then, here it is:<br>
xterm.*.saveLines: 4096<br>
xterm.*.scrollTtyOutput: false<br>
! You didn't ask for the following, but repositioning to the<br>
! bottom upon keypress is probably useful given that the above<br>
! is disabled.<br>
xterm.*.scrollKey: true<br>
</blockquote>
<br>
After running "xrdb -merge ~/.Xresources" (or restarting X), all your
xterms will have these settings always applied.<br>
<br>
Regards,<br>
Massimo.<br>
<br>
<br>
</tt><br>
On 07/20/2010 11:57 PM, Ashish Agarwal wrote:
<blockquote
 cite="mid:AANLkTim3NU9sqDnXi6LNeWX74S0zPLdqOfpkZPOqEWHJ@mail.gmail.com"
 type="cite">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.
  <div><br>
  </div>
  <div>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).</div>
  <div><br>
  </div>
  <div>The features I would like are:</div>
  <div>- a scroll bar</div>
  <div>- the number of lines buffered should be increased</div>
  <div>- output to a window should not reposition the screen to the
bottom of the scrolling region (the -si option to xterm should
accomplish this)</div>
  <div><br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</body>
</html>