rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: "Mark K. Gardner" <mkgardne@cs.uiuc.edu>
To: joe@earthlight.co.nz
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: are there any patches which add ~ expansion to rc
Date: Wed, 17 Sep 1997 18:08:54 -0400	[thread overview]
Message-ID: <199709172208.RAA05196@pertsserver.cs.uiuc.edu> (raw)
In-Reply-To: <19970918035545.53950@pandora> (message from Joseph Skinner on Wed, 17 Sep 1997 11:56:45 -0400)

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
-- 


  parent reply	other threads:[~1997-09-18  1:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17 15:56 Joseph Skinner
1997-09-17 21:56 ` Scott Schwartz
1997-09-17 22:08 ` Mark K. Gardner [this message]
1997-09-18 10:14 ` Tim Goodwin
1997-09-18 23:26   ` Chris Siebenmann
1997-09-19 17:21     ` Jeremy Fitzhardinge
1997-09-18  2:27 arnold
1997-09-19  7:51 Steve_Kilbane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199709172208.RAA05196@pertsserver.cs.uiuc.edu \
    --to=mkgardne@cs.uiuc.edu \
    --cc=joe@earthlight.co.nz \
    --cc=rc@hawkwind.utcs.toronto.edu \
    --subject='Re: are there any patches which add ~ expansion to rc' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).