Subject: vi -c flag malfunctioning?
To: None <netbsd-users@netbsd.org>
From: Peter Bex <Peter.Bex@student.kun.nl>
List: netbsd-users
Date: 02/21/2004 17:17:12
--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello all,
Can anyone tell me why the command
$ vi -c "set wl=3D72"
will not work as expected? (`:set wl' shows `wraplen=3D0' and I expected i=
t to
say `wraplen=3D72', as the manpage seems to say it should.)
If I also supply an existing(!) file on the command line, the file opens,
with wraplen set to 72 (correct behaviour) and the cursor on the last line
of the file (incorrect behaviour, if you ask me).
I observed this behaviour on 1.6.1 and on -current, using nvi.
Am I missing something here or is this a real bug?
Regards,
Peter
--=20
http://www.student.kun.nl/peter.bex
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFAN4SILg33BXzVMqsRAu9TAJ4ujlwMUGAf2TJX+oephAzAGP5BwACgxeNO
RJSid0YEDAzeWmgPtkGPrjc=
=4W0R
-----END PGP SIGNATURE-----
--HcAYCG3uE/tztfnV--