看板 DFBSD_submit 關於我們 聯絡資訊
--HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 30, 2004 at 07:35:58AM +0100, Jeroen Ruigrok/asmodai wrote: > -On [20041230 04:02], Emil Mikulic (emikulic@dmr.ath.cx) wrote: > > let &t_Sf=3Dnr2char(27).'[3%p1%dm' > > let &t_Sb=3Dnr2char(27).'[4%p1%dm' > > > >(I think you missed the [s above) >=20 > Not really, those are the escape characters. ;) You initially wrote: > set t_Sf=3D<ESC>3%p1%dm > set t_Sb=3D<ESC>4%p1%dm Those really need to be: set t_Sf=3D<ESC>[3%p1%dm set t_Sb=3D<ESC>[4%p1%dm ^ When you enter ESC as a literal escape and Vim displays it as ^[ : set t_Sf=3D^[[3%p1%dm set t_Sb=3D^[[4%p1%dm Without the extra [ you will not get colours. What you will get will be quite amusing though. ;) --Emil --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (OpenBSD) iD8DBQFB1kZz7SqTGTRKaZ8RAhthAKDbN8VoOF5158t84JenS0T4W6hLtgCgiG8g 3i5PiVmZyFFi9HR4m2/TK8Y= =1RQP -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--