Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gitpyr.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!gitpyr!robert From: robert@gitpyr.UUCP (Robert Viduya) Newsgroups: net.unix-wizards Subject: Re: disallowing subshell in More Message-ID: <143@gitpyr.UUCP> Date: Sun, 17-Feb-85 11:00:41 EST Article-I.D.: gitpyr.143 Posted: Sun Feb 17 11:00:41 1985 Date-Received: Mon, 18-Feb-85 06:11:02 EST References: <8279@Berkeley.UUCP> <9500003@philabs.UUCP> Organization: Georgia Tech, Atlanta Lines: 26 >< Posted from vip@philabs.UUCP > >It's beginning to look like the law of diminishing returns is taking > >effect - you might want to write a simple pager that doesn't do anything > >other than page files. (I didn't even think about "more"s escape to "vi", > >because I never use it - that's one problem with big programs with a large > >set of features that few people are 100% familiar with.) Try "p", shown > >in Kernighan and Pike starting on p. 180. > > Okay, Guy, great. But what if you want your users to use a program like > vi? Then what? I would like users to be able to use an editor. Vi and > most other editors, with the exception of some of the third-party > (expensive) stuff, allow the user to escape to a shell. > System V has an editor called red(1) which is just a restricted version of ed(1). The restrictions are that you can only edit files in the current directory and the '!' shell escape command is disallowed. robert -- Robert Viduya Georgia Institute of Technology ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert