From: Juhapekka Tolvanen <juhtolv@cc.jyu.fi>
To: zsh-users mailing list <zsh-users@sunsite.dk>
Subject: My zsh disturbs nvi?
Date: Mon, 18 Oct 2004 22:14:33 +0300 [thread overview]
Message-ID: <87mzyj7s9y.fsf@heresy.ainola.jyu.fi> (raw)
I have had weird problems with text-editor called nvi:
http://www.bostic.com/vi/
When I try to run nvi under zsh running under screen as normal luser, it
gives these error messages during startup:
/home/juhtolv/.nexrc, 8: Shell expansion failed
/home/juhtolv/.nexrc, 8: Ex command failed: pending commands discarded
Press Enter to continue:
I can run nvi normally as root, also under screen:
I sent a bug report about that to Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=231851
It seems, I am getting closer to fix. FAQ file provided with nvi says:
Q: I'm using ksh or csh as my vi edit option shell value, and file
expansions don't work right!
A: The problem may be in your ksh or csh startup files, e.g., .cshrc. Vi
executes the shell to do name expansion, and the shell generally reads
its startup files. If the startup files are not correctly configured
for non-interactive use, e.g., they always echo a prompt to the screen,
vi will be unable to parse the output and things will not work
correctly.
Now, can you tell me, what's wrong with my shell configs?
http://iki.fi/juhtolv/configs/shellrc/
--
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX
next reply other threads:[~2004-10-18 19:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 19:14 Juhapekka Tolvanen [this message]
2004-10-18 20:33 ` Bart Schaefer
2004-10-18 20:49 ` Juhapekka Tolvanen
2004-10-18 20:57 ` Wayne Davison
2004-10-18 21:17 ` Juhapekka Tolvanen
2004-10-18 22:50 ` Peter Stephenson
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=87mzyj7s9y.fsf@heresy.ainola.jyu.fi \
--to=juhtolv@cc.jyu.fi \
--cc=juhtolv@iki.fi \
--cc=zsh-users@sunsite.dk \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).