From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pertsserver.cs.uiuc.edu ([128.174.247.69]) by hawkwind.utcs.utoronto.ca with SMTP id <24653>; Wed, 17 Sep 1997 21:48:28 -0400 Received: (from mkgardne@localhost) by pertsserver.cs.uiuc.edu (8.8.5/8.8.5) id RAA05196; Wed, 17 Sep 1997 17:08:54 -0500 (CDT) Date: Wed, 17 Sep 1997 18:08:54 -0400 Message-Id: <199709172208.RAA05196@pertsserver.cs.uiuc.edu> From: "Mark K. Gardner" To: joe@earthlight.co.nz CC: rc@hawkwind.utcs.toronto.edu In-reply-to: <19970918035545.53950@pandora> (message from Joseph Skinner on Wed, 17 Sep 1997 11:56:45 -0400) Subject: Re: are there any patches which add ~ expansion to rc Reply-to: mkgardne@cs.uiuc.edu Joe, A while ago I hacked rc to add ~ expansion. (It was a real kludge.) However, after thinking about it more I decided that expansion really belongs in readline/editline. So I modified readline v2.1 to support it. I then had to make a relatively minor change to rc to initialize readline properly and to perform expansion. [Caveat: I decided not to use ~ because of its obvious conflict with pattern matching in rc. Instead I used % which seems to be free. It would have been better if the final expansion was done in readline, but it appeared that readline would be too easy to break.] The modification works fine. I have to remember to use ~ instead of % in emacs though! The patch is too long to post and is of (perhaps) limited interest so I will email it to you directly. Mark -- Mark K. Gardner (mkgardne@cs.uiuc.edu) University of Illinois at Urbana-Champaign Real-Time Systems Laboratory --