bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stty settings override ~/.inputrc?


From: Chet Ramey
Subject: Re: stty settings override ~/.inputrc?
Date: Tue, 09 Aug 2005 12:20:52 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)

Paul Jarc wrote:
> Chet Ramey <chet.ramey@case.edu> wrote:
> 
>>Readline, beginning with version 5.0, reads the stty special character
>>settings and binds them to their readline equivalents each time
>>readline() is called.  It reads ~/.inputrc once per `program'.
> 
> 
> Suggestion: when reading .inputrc, update the stty settings to match
> as closely as possible, so that re-reading the same stty settings for
> the next command won't change anything.  That way, .inputrc wins
> (persistently) over the original stty settings, but later changes to
> stty settings still win over .inputrc.

Readline should never change the user's persistent terminal settings
without his knowledge.  Users have a right to expect that changes will
only be made by them calling `stty' or one of its siblings.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]