Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.0.20010530192516.06e1b440@mail> X-Sender: superbiskit AT mail X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 30 May 2001 19:30:27 -0400 To: Cygwin General MailList From: "David A. Cobb" Subject: Re: Bash echoing terminal input in Xemacs term-mode [#2] In-Reply-To: <5.1.0.14.0.20010530083950.0530b390@mail> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 5/30/01 08:45 AM (Wednesday), I wrote: >I'm trying to run in an XEmacs TERM session. The documentation says that >term-mode makes no attempt to echo or do anything else with the input -- >it relies on the program doing the read. > >Is there a switch or SET flag or whatever that would cause bash to echo >_per_keystroke_ ? >As it is, it repeats the line after I type . That's late the way I type! > >I imagine it might depend on whether bash does a TERMINFO on the terminal, >and what it gets for results in this case. Doesn't the same problem exist >with an XTERM session also? *Follow up:* shell-mode shows TERM="emacs" TERMCAP="emacs:co#79:tc=unknown:" and shell-mode does show a bash echo per-keystroke. term-mode shows TERM="eterm" TERMCAP=$'eterm:li#23:co#91:cl=[a long string of escape sequences]' and term-mode doesn't echo until . I don't understand the "$'" construction in TERMCAP="$' .... '" but somewhere in the information above is the answer to why I don't get the keystrokes. >David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy. >Get my PGP key at >: >Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954} >"By God's Grace I am a Christian man, by my actions a great sinner." >--The Way of a Pilgrim, R. M. French [tr.] ><---.----!----.----!----.----!----.----!----.----!----.----!----.----> > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy. Get my PGP key at : Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954} "By God's Grace I am a Christian man, by my actions a great sinner." --The Way of a Pilgrim, R. M. French [tr.] <---.----!----.----!----.----!----.----!----.----!----.----!----.----> -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple