From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] managing windows in rio From: erik quanstrom Date: Fri, 8 Feb 2008 08:04:35 -0500 In-Reply-To: <32d987d50802080358u1cab115agb4d0b5152c1d55de@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 4bba6874-ead3-11e9-9d60-3106f5b1d025 >> 4. to recall commands typed in an rc session without resorting to the >> middle mouse button (snarf+paste)? > > russ has to useful scripts " and "" one prints the last comand the other > executes it. what they do is grepping /dev/text > >> 5. to make rc auto-scroll for programs that output many pages of text, e. >> g. a du on a deep directory tree, and to not block them after a single >> page? > > middle click, "scroll" one important difference that may be missed here is that unlike linux, the shell is not responsible for either of these behaviors. rio and acme are the two programs that link against libcomplete thus, when running on the console, there is no completion available. there is a version of rc with research unix-style history. /n/sources/contrib/quanstro/futharc.tgz. it works by saving parsed commands to a file designated by $history. the program history.c can be compiled as - and -p so that "-p x" would print the last command x executed in any window; "- x" would repeat that command. "grep x $history" would search history. > 7. to make rc auto-complete commands and not only file/directory names? > > different OS & paradigm == different behavior again, rc isn't doing the completion. rio/acme don't know what the commands might be. this is why tab is not the completion key. it would be inconvient to be disallowed typing tab in any program (save sam). - erik