From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20110126160259.GA5381@snow.home> References: <20110126160259.GA5381@snow.home> Date: Wed, 26 Jan 2011 20:37:10 -0500 Message-ID: Subject: Re: [9fans] p9p 9term problem From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Topicbox-Message-UUID: a18843cc-ead6-11e9-9d60-3106f5b1d025 > Enabling cooked mode (middle-click -> 'cook', probably > along with `stty -echo`) can help -- it makes 9term only > send an entire line at once -- but it may create some other problems. A better way to do this is to leave 9term in nocook mode (meaning the menu says cook - just don't click on it). As long as you execute (for bash) set +o emacs set +o vi to turn off those editing modes, bash will just read from the tty with echo turned on, and if echo is turned on 9term will let you do mouse editing and deliver the lines one line at a time. Even better, at least for acme users, is that win works with stty echo turned on too. In fact it works better. It does the echo cancellation internally (if it sees echoing coming back it just doesn't print it) and automatically erases typing after a prompt like Password: so you can run ssh or sudo in a win window without fear of displaying your password for all to see. This is all as of mid-October 2010. If you haven't updated since then you might want to. Russ