On Wednesday, 16 November 2005, at 10:37:54 (+0800),
Phuah Yee Keat wrote:

> I am total newbie with stty stuffs, do you mean that the "default"
> stty settings are set by my Eterm/Xterm/Aterm/Konsole and not by the
> distro/unix? How does that explains the inability for my escape to
> work across "telnet localhost" then?

Your default stty settings are determined by your tty.  In other
words, the kernel.  You can change them at any time.  For example,
from my .bashrc:

if (tty -s); then
  export TERM=${TERM:-Eterm}
  export TERMINFO=$HOME/.terminfo
  export TTY=`tty`
  stty -ixon -ixoff erase ^H kill ^U susp ^Z intr ^C stop ^@ start ^@
  #eval `resize`
fi


> My stty -a shows erase = ^?, I compile Eterm with
> --with-backspace=del, and my TERM=Eterm, my backspace keys still
> works correctly in curses-based apps (vi and another custom curses
> app), I don't understand what kind of conflict it might cause.

man terminfo

> If it can create conflict, does it means that --with-backspace=del
> should not be used with TERM=Eterm at all? Then why do we have the
> --with-backspace configure switch in the first place?

Because some people prefer to use Eterm with TERM=xterm or TERM=linux.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "A lot of times, men do things they don't want to do so the woman
  they're going out with will do things *they* don't want to do."
                                                          -- Tim Allen


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to