Re: dfports/x11/xterm 196_3 -> 197

看板DFBSD_submit作者時間21年前 (2005/01/01 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
--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--
文章代碼(AID): #11rago00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11rago00 (DFBSD_submit)