Article View: net.bugs.2bsd
Article #23Resubmission of more suggestion
From: ucbvaxARPAVAXOnyxjmrubin
Date: Mon, 01 Feb 1982 16:28
Date: Mon, 01 Feb 1982 16:28
32 lines
1556 bytes
1556 bytes
The following is being resubmitted at the request of Mark Plotnick at MIT (eagle!mitccc!mp) who complained about the top being chopped off. The version of more which I'm using allows you to go into vi at a more prompt, if you're more'ing a file. It looks for vi in a specific place. This has two problems. (1) If you have a brain-damaged (or hard-copy) terminal, or your $TERM/$TERMCAP variable isn't set correctly, vi may semi-bomb, depending on which version of vi you're using. (If it's a nice version, it will just go into open mode automatically.) (2) If you have a free login which mores a file, you give it the ability to fork a shell from vi. (shell escapes tend to die otherwise--since more looks at your $SHELL variable.) (Of course, you can pipe the file into more--which destroys the ability to go into vi.) Suggestion: (1) more should use your shell with the -c (or maybe -cf) flag to find vi. This would also be nice if vi moves, or if a new version becomes available in a non-standard place. (2) Maybe it should use some environmental varialbe to find which visual editor you like to use--maybe you like a version of emacs or teco, instead. (3) If you're on a bad terminal, it should use ex, or something similarly non-visual. Joel Rubin
Technical Details
Message-ID:
<anews.Aucbonyx.249>Path:
arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!ARPAVAX:Onyx:jmrubinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!ARPAVAX:Onyx:jmrubin From: ucbvax!ARPAVAX:Onyx:jmrubin Newsgroups: net.bugs.2bsd,net.bugs.4bsd Subject: Resubmission of more suggestion Date: Mon, 01 Feb 1982 16:28:44 +0000 Message-ID: <anews.Aucbonyx.249>