Subject: Re: XFM
To: Jaime Kikpole <jk7023@cnsvax.albany.edu>
From: David Weaver <dweaver@clover.cleaf.com>
List: netbsd-help
Date: 01/17/1996 09:35:35
On Wed, 17 Jan 1996, Jaime Kikpole wrote:

>         Two questions.  The first one is that everytime I run xinit I need
> to type "stty sane" in the Xterm windows.  Is there any way to automate
> this?  (Some .*rc that I don't know about, perhaps?)

Set the XTerm*ttyModes resource.  From the xterm man page: 

       ttyModes (class TtyModes)
               Specifies a  string  containing  terminal  setting
               keywords  and  the characters to which they may be
               bound.  Allowable keywords  include:  intr,  quit,
               erase,  kill,  eof,  eol, swtch, start, stop, brk,
               susp, dsusp, rprnt, flush, weras, and lnext.  Con-
               trol characters may be specified as ^char (e.g. ^c
               or ^u) and ^? may  be  used  to  indicate  Delete.
               This  is  very  useful  for overriding the default
               terminal settings without having  to  do  an  stty
               every time an xterm is started.


>         Also, I was trying to compile xfm tonight and I got a missing file
> error.  The file was alloca.h and was included by Fm.h.  I was wondering if
> anyone had heard of these before?  (The only archie site that I know is not

In NetBSD, alloca(3) is in <stdlib.h>.  Just comment out the reference to
<alloca.h>,  possibly replacing it with <stdlib.h>.