From owner-freebsd-questions@FreeBSD.ORG Wed May 13 07:21:46 2009 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 A5D0C1065686 for ; Wed, 13 May 2009 07:21:46 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2668FC20 for ; Wed, 13 May 2009 07:21:46 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by wa-out-1112.google.com with SMTP id m38so213308waf.27 for ; Wed, 13 May 2009 00:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=OuqBx0x7xriSyyyalxBxqMeVi46x/d0VQzbR9tCx12o=; b=ubJvVBfqKg3PDbfwXCj3p/NUUXkJ5++j43EDxEIraXOMNasH7F6UWFJKvi9PoQ8jce mdzFQ/td+iaNJbGcHLAeBZisV0VN3YyKnDPYdSMq3Cmecn0WaECctTFIw9Ju8+9Vy2UX 3T9e/EDD2Uoi0ot7PQ5cK2jyBvX2CHiyoaZdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mLCQ9IXDTOVs3w49AW/xqS88l+nY3jjQI4f7hklTMpfZBvnqeOqXdBbonYO0dUXfTn HyodMFVjEzDozgzyfWYc+V+XkP/dWxEWu09gOnRJnPshWo1mQFFzVplOA2uJcJj7zjlP t6QH4QPbArLUQiU9VorlIWS5SL73qM3zOTYuI= MIME-Version: 1.0 Received: by 10.114.77.1 with SMTP id z1mr521642waa.214.1242199306101; Wed, 13 May 2009 00:21:46 -0700 (PDT) Date: Wed, 13 May 2009 12:51:46 +0530 Message-ID: From: manish jain To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: How to move vi to /bin 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: Wed, 13 May 2009 07:21:46 -0000 Hi, I want to move vi to /bin so that I have an editor available in single-user mode. This sounds simple (and should be if all you have is a single partition), but there are problems. For starters, terminfo can't locate its database in single-user mode. Could anyone please tell me how to go about this on a 7.x system ? I am also curious to know why FreeBSD doesn't place vi under /bin in the first place. Thank you and Regards Manish Jain invalid.pointer@gmail.com