Thanks for the help. I&#39;ll read up more an X resources.<div><br><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 4:24 AM, Massimo Rimondini <span dir="ltr">&lt;<a href="mailto:rimondin@dia.uniroma3.it">rimondin@dia.uniroma3.it</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  

<div 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 href="http://www.debian-administration.org/article/Customizing_your_xterm" target="_blank">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 &quot;lines buffered&quot;? The scrollback buffer?<br>
! Then, here it is:<br>
xterm.*.saveLines: 4096<br>
xterm.*.scrollTtyOutput: false<br>
! You didn&#39;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 &quot;xrdb -merge ~/.Xresources&quot; (or restarting X), all your
xterms will have these settings always applied.<br>
<br>
Regards,<br>
Massimo.<br>
<br>
<br>
</tt><div><div></div><div class="h5"><br>
On 07/20/2010 11:57 PM, Ashish Agarwal wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">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 &#39;xterm&#39; 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>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Netkit.users mailing list
<a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</div>

<br>_______________________________________________<br>
Netkit.users mailing list<br>
<a href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a><br>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a><br>
<br></blockquote></div><br></div>