Article View: news.software.readers
Article #8556Re: trn on BSDI386 1.1 - <enter> maps to ^M?
From: Wayne Davison
Date: Sat, 16 Apr 1994 21:24
Date: Sat, 16 Apr 1994 21:24
29 lines
1653 bytes
1653 bytes
According to Brian Behlendorf <bbehlen@soda.berkeley.edu>:
> when I leave cbreak mode with a command like "g alt.food", pressing
> return appends the ^M key instead of executing the command
It is possible that Configure chose the wrong termio setting for your
system. If you want to try out a different setting, change the lines
in the config.sh file that look like this:
i_sgtty='undef'
i_termio='undef'
i_termios='define'
to define one of these at a time and see if that helps. Alternately,
there is support for CR instead of LF in term.c that looks like this:
#ifdef cray
} while (*s != '\r'); /* till a newline (not echoed) */
#else
} while (*s != '\n'); /* till a newline (not echoed) */
#endif
You can change that to #if 1, if you like.
> Likewise with control-C
Maybe your interrupt character isn't set to be ^C? Check with "stty all".
--
Wayne Davison
davison@borland.com
Technical Details
Message-ID:
<CoDFGn.A54@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!fnnews.fnal.gov!uwm.edu!cs.utexas.edu!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!borland.com!davisonReferences:
<2okvlr$eah@agate.berkeley.edu>Show Full Headers
Complete Article Headers
Message-ID: <CoDFGn.A54@borland.com> Subject: Re: trn on BSDI386 1.1 - <enter> maps to ^M? Date: Sat, 16 Apr 1994 21:24:23 GMT From: davison@borland.com (Wayne Davison) References: <2okvlr$eah@agate.berkeley.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!fnnews.fnal.gov!uwm.edu!cs.utexas.edu!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 29