<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">Mark and Paul,<br>
<br>
Thank you for your insight.&nbsp; I actually solved this in a very simple
way.<br>
<br>
All users access this app via a script.&nbsp; I just place the following in
that script and it worked.<br>
<br>
case $TERM in<br>
&nbsp;&nbsp;&nbsp; xterm)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty erase "^H"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty intr "^?"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty susp ""<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty eol ""<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty rprnt ""<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty werase ""<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stty eol2 ""<br>
&nbsp;&nbsp;&nbsp; ;;<br>
esac<br>
<br>
This was a snipet of code from the /etc/profile that <a class="moz-txt-link-abbreviated" href="mailto:brian@aljex.com">brian@aljex.com</a>
posted many years ago to get filepro working properly with Linux.&nbsp; Some
of my users are coming into this app via a thin-client linux server
using a gnome desktop ssh session.&nbsp; Therefore my choice of emulations
is limited.&nbsp; <br>
<br>
The solution I have will only effect filepro via one of these
sessions.&nbsp; All other users who access are coming in via a ssh session
directly using alphacom.&nbsp; Alphacom has the best filepro scoansi
emulation I have ever seen and it is only $25 per seat.<br>
<br>
Many thanks.&nbsp; You guys really go tme thinking outside the box.<br>
<br>
Richard D. Williams<br>
</font><br>
<br>
Fairlight wrote:<br>
<blockquote cite="mid20070221120314.A10280@iglou.com" type="cite">
  <pre wrap="">Only Richard D. Williams would say something like:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Does anyone know how I can change the behavior of the delete key for a 
xterm emulation?
This would be for filepro only. 

I would like to change my filepro termcap so the Delete key works the 
same as the scoansi Delete key instead of having to do a ctrl-c.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
man xmodmap

I don't actually remember the full syntax anymore though.  Been quite a
while since I've regularly used X11.  There's a section in the examples in
the man page that shows setting Backspace to emit "^?", so you should be
able to extrapolate.

You're not exactly on about just for an xterm though.  Using something like
xmodmap is going to change it server-wide (well, session-wide).  So if that
key is currently doing something like the IBM Remove "^[[3~" sequence, and
you force it to generate 0x7F, -all- your applications are going to have to
be able to cope with that key emitting that.  For an xterm, you'll just
need to set INTR to "^?", and that's no problem.  Most other things don't
care.  Some might, though.  Web browsers used to have funny ideas about ^H
vs ^? in text input widgets--especially Motif-based anything.

But for an xterm to do what you want, you need to xmodmap to get the key
emitting the right code, and -also- stty inside the shell, or set that
discipline when starting the xterm (-tm intr "^?").  You need the
combination of actions for this to work.

mark-&gt;
  </pre>
</blockquote>
<br>
</body>
</html>