From owner-freebsd-stable@freebsd.org Thu Mar 10 21:08:54 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AC30ACAEEB for ; Thu, 10 Mar 2016 21:08:54 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 232F0FDF for ; Thu, 10 Mar 2016 21:08:54 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id l68so4365169wml.0 for ; Thu, 10 Mar 2016 13:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:cc:to:from:message-id:date:user-agent :mime-version:in-reply-to; bh=WTH/uaVE1wdkyZ4FVckKs5NuzjQPvbA7+sgSEeBpJKw=; b=ekcMz4DHTQFjuKnP097/TfC6LsL3BmWE3ueG+Jrev0Rv3yuc7bHwwfLl+us9aCGeEy Ds+RlGGyMOAuiqAsaSTOVRYnhDS52unj0UWtnAowUzYQ6fE2QoanexRMRt7ZHOouPxZO cJeKBPnbs7qMXwqKy53A/FM/eYazbLAzD2xXgG0pYYchF+cSDa92UI8Fsiymv64thP+p fUVw/DYeYax2DkzBxo3Etz1Gq/p3Qas4K/CAg6WQ09zLVa1XF7k9ahJK5B7v/xdkIbwV LnOlxlQCTm3CIOp8q8kQjELAiMOQXsZT+YQrf3iU8727h/hT1H+m+BkeKetYM0Hsi8/L eWKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:cc:to:from:message-id:date :user-agent:mime-version:in-reply-to; bh=WTH/uaVE1wdkyZ4FVckKs5NuzjQPvbA7+sgSEeBpJKw=; b=AOyGcbfS97byYCFoyxGxEu7ONy3gXq3M+rZeWjmCPC9CLofh8frAp0sG40R5XDa6Ed UR5oRgXHwxo+hjs7sJHJ1s4LhPzkmEF3Udi0f5qvZ/55lxRok99RengvAT9acIkTgON3 UnNvxmZ3PJDBh70Dc7ojuxB4CVqrcM5L59J+3u8rVY0iwCnzFNtxO61Qv+9Z1RuYuCan u1o+0aKTMs5g88aVwo9aClJHqBtTxY7Ofe95i58/TAkNrn4oTVsW/687jdKCaHCFA1Lx BP4i4yUqTsQMRphxreP7WTc0+MPmeKEOo1hhAWZqjT359cMibzaFfc1VhmhqIU5AJzC5 20oA== X-Gm-Message-State: AD7BkJJK55vlaPN8aSdqTWE0k14nOMtqASzHTazTeklUHMYv5PJNZQrbOcdp4cr0U9B1UQ== X-Received: by 10.194.60.20 with SMTP id d20mr6677840wjr.109.1457644132570; Thu, 10 Mar 2016 13:08:52 -0800 (PST) Received: from Johans-MacBook-Air.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id 63sm388259wms.1.2016.03.10.13.08.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2016 13:08:51 -0800 (PST) Subject: Re: output to file different than console. (ssh and zfs ) References: <56E1B925.5060105@gmail.com> <56E1BFD6.60906@gmail.com> Cc: Brandon Allbery To: freebsd-stable@freebsd.org From: Johan Hendriks Message-ID: <56E1E262.5000504@gmail.com> Date: Thu, 10 Mar 2016 22:08:50 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 21:08:54 -0000 Op 10/03/16 om 19:43 schreef Brandon Allbery: > > On Thu, Mar 10, 2016 at 1:41 PM, Johan Hendriks > > wrote: > > mytitle > > > if ($?prompt) mytitle > > > -- > brandon s allbery kf8nh sine nomine > associates > allbery.b@gmail.com > ballbery@sinenomine.net > unix, openafs, kerberos, infrastructure, xmonad > http://sinenomine.net If I change mytitle to if ($?prompt) mytitle I get the following error. mytitle: command not found. This is how I have set it. alias mytitle 'printf "\033]0;$HOST\a"' if ($?prompt) mytitle regards, Johan