disallowing subshell in More
Robert Viduya
robert at gitpyr.UUCP
Mon Feb 18 02:00:41 AEST 1985
><
Posted from vip at 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
More information about the Comp.unix.wizards
mailing list