From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 09:23:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F5811065673 for ; Thu, 10 Jul 2008 09:23:30 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from mailgate.neusoft.com (mailgate.neusoft.com [210.83.25.69]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9448FC1E for ; Thu, 10 Jul 2008 09:23:29 +0000 (UTC) (envelope-from zhangsc@neusoft.com) Received: from smtp.neusoft.com ([202.107.117.28]) by mailgate.neusoft.com (8.13.1/8.13.1) with ESMTP id m6A9Mth7015822 for ; Thu, 10 Jul 2008 17:22:56 +0800 Received: from neusofteaf5839 ([192.168.131.63]) by smtp.neusoft.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPPSA id <0K3S00GKOA2BOT@smtp.neusoft.com> for freebsd-questions@freebsd.org; Thu, 10 Jul 2008 17:22:59 +0800 (CST) Date: Thu, 10 Jul 2008 17:23:11 +0800 From: EdwardKing To: freebsd-questions@freebsd.org Message-id: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal X-Neusoft-MailScanner-Information: Please contact the ISP for more information X-Neusoft-MailScanner: Found to be clean Subject: how to set vi line number? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 09:23:30 -0000 my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show "#include" with other different color? How to modify to realize above function? thanks ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. -----------------------------------------------------------------------------------------------