From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Michaelson To: 9fans@cse.psu.edu Cc: r@geekmail.cc Subject: Re: [9fans] v8 shell Message-Id: <20031113234400.7e61f87b.ggm@apnic.net> In-Reply-To: References: <20031113160648.GB21872@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 13 Nov 2003 23:44:00 +0000 Topicbox-Message-UUID: 894db1e8-eacc-11e9-9e20-41e7f4b1d025 > > for example, the 'builtin' trick in modern shells comes out of the v8 > shell but the other half is missing. > > korn shell or bash: > > $ type cd > cd is a shell builtin > $ > > v8 shell: > > $ whatis cd > builtin cd > $ > > see the difference? the latter is executable code. why was it important > to `fix' this in the committee? bitterness rules. I found I had to set the PS1 and PS2 to be known shell comment markers to get things work work sanely when I played with this in shell a while back, and even then it wasn't very good. Its unfortunate that the $ is also a leadin to variable expansion, if it was functionally more like ; or :; it would have made it easier to snarf entire sequences of commands from screens. > > maybe that's why rc happened. probably was a factor. i know i asked > td to design rc, but i also did the work in creating the v8 shell. i > don't really remember. > > -rob like many people, I haven't been able to face the terminal moraine of rc, to get to the mountain tops behind it. If only there was a budget for clue, and a market for selling it in this area. -George -- George Michaelson | APNIC Email: ggm@apnic.net | PO Box 2131 Milton QLD 4064 Phone: +61 7 3367 0490 | Australia Fax: +61 7 3367 0482 | http://www.apnic.net