From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 07:01:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E03511065670 for ; Thu, 5 Apr 2012 07:01:08 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out7.libero.it (cp-out7.libero.it [212.52.84.107]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0068FC12 for ; Thu, 5 Apr 2012 07:01:08 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0204.4F7D427B.00B9,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.41.166.231) by cp-out7.libero.it (8.5.133) id 4F71B5A1014811BB for freebsd-questions@freebsd.org; Thu, 5 Apr 2012 08:58:03 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id q356vtIO065801 for ; Thu, 5 Apr 2012 08:57:55 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4F7D4273.1010604@netfence.it> Date: Thu, 05 Apr 2012 08:57:55 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.28) Gecko/20120314 Thunderbird/3.1.20 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 10.1.2.13 Subject: Fast question abount EDITOR 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, 05 Apr 2012 07:01:09 -0000 Hello. This might be a stupid question... however... %setenv EDITOR emacs -nw setenv: Too many arguments. %setenv EDITOR "emacs -nw" %crontab -e crontab: emacs -nw: No such file or directory crontab: "emacs -nw" exited with status 1 Is there a way I can easily achieve the above? Do I really need a script which in turns call emacs -nw? bye & Thanks av.