From owner-freebsd-questions@freebsd.org Tue Mar 21 08:45:26 2017 Return-Path: Delivered-To: freebsd-questions@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 CF4D7D0A1FD for ; Tue, 21 Mar 2017 08:45:26 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7856531E for ; Tue, 21 Mar 2017 08:45:25 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v2L8j6Me049826 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Mar 2017 09:45:06 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v2L8j5p5049823; Tue, 21 Mar 2017 09:45:06 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 21 Mar 2017 09:45:05 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Ernie Luzar cc: FreeBSD questions Subject: Re: command line history broken in 11.0 In-Reply-To: <58D019EE.9030508@gmail.com> Message-ID: References: <58D019EE.9030508@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 08:45:26 -0000 On Mon, 20 Mar 2017 14:05-0400, Ernie Luzar wrote: > On 10.3 I had the current session saving the command line history when issuing > the shutdown, halt, and reboot command by using these alias commands that I > added to the .cshrc file of my logged in user account. > > alias sd "exit && shutdown now" > alias sdp "exit && shutdown -p now" > alias rboot "exit && reboot" > alias stop "exit && halt" > > Now after doing a clean install of 11.0 and using the same .cshrc file the > rboot and stop alias commands no longer save the current history. They act > like the exit command is not getting executed. The sd and sdp alias commands > are working as expected. > > When existing from a session terminal by issuing the exit command does still > save the current history. > > Is there an alternate method I can use? Wouldn't it be more practical to reverse your aliases and change the conjunctions to unconditional sequences? alias sd "shutdown now; exit" alias sdp "shutdown -p now; exit" alias rboot "reboot; exit" alias stop "halt; exit" > Here is my .cshrc file > > alias sd "exit && shutdown now" > alias sdp "exit && shutdown -p now" > alias rboot "exit && reboot" > alias stop "exit && halt" > > > > # A righteous umask > umask 22 > > set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin > $HOME/bin) > > setenv EDITOR ee > setenv PAGER more > setenv BLOCKSIZE K > > if ($?prompt) then > # An interactive shell -- set some stuff up > set prompt = "%/ >" > set filec > set history = 100 > set savehist = (100 merge) > set histdup = erase > set autolist = ambiguous > # Use history to aid expansion > set autoexpand > set autorehash > set mail = (/var/mail/$USER) > if ( $?tcsh ) then > bindkey "^W" backward-delete-word > bindkey -k up history-search-backward > bindkey -k down history-search-forward > endif > endif -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Tue Mar 21 08:54:12 2017 Return-Path: Delivered-To: freebsd-questions@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 7D598D0A775 for ; Tue, 21 Mar 2017 08:54:12 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 526BDC6E for ; Tue, 21 Mar 2017 08:54:11 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BEB3920D05 for ; Tue, 21 Mar 2017 04:54:10 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Tue, 21 Mar 2017 04:54:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=44aywAD/LLeSTkOu/ineidQiF4 uPYWHSbNdaqkJRjDY=; b=ULlszULXhqiWgh/AwsOG1oZqbRyWHE3h7E3c/Ryfri hgpRjE3q/LwSw0nsUmgRSCVeg2ZTr271pPz67nGs3680eztJM/ny556vUUvDRS2x ve7pwruWKMQtO4pyA1FL1ldkAtxQf60WC35wH8rEedElh/IbX+f77rCyp3sa44QA U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=44aywA D/LLeSTkOu/ineidQiF4uPYWHSbNdaqkJRjDY=; b=rQ/4qD9jJSClDPFamPz0z8 dvvPCwbUss+fm06zwEFu7VOKBjtzrFmCrF2r0EQt7/+oJn4zGziZjGLionmRGD5K U8DuT7yfhgrUHLRWiftaKlnlP9VkVMio6W1IUgALBE7IYTdKyL/Ej7Qvj38BCQzc YNfWnm+mLmb4ZvyhY2bc4Y6kzaULhEQ7aO9EjIW17n+H4ME0dl0G/Luh9YcdbG8f J9RRt7p9q5sramBZcx0uRb3drDmKFHykNxZfcJKshFHUGq/TOe3lBBaNoZSbxphq 9NRT4KJ8EykgwxTZCwqpO3S4sZ+eSSlSnLQ3SpTH+ybotOf03T2xtlB+63doJ2qQ == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id A021D48007; Tue, 21 Mar 2017 04:54:10 -0400 (EDT) Message-Id: <1490086450.354505.918173416.7898F43D@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-aac97429 In-Reply-To: Date: Tue, 21 Mar 2017 09:54:10 +0100 References: Subject: Re: Installing a FreeBSD from Scratch From a Linux Box? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 08:54:12 -0000 On Tue, 21 Mar 2017, at 00:12, Hunter Jozwiak wrote: > Hi, > > I am curious as to whether or not this is actually possible. The idea > is to install FreeBSD from scratch using a Linux live disc akin to how > one would install Gentoo. That means that I would create the > filesystems, mount them on partitions, download and build the sources, > chroot in, and do configuration that way. The main reason is that > since there is no talking live installer for the visually impaired, it > would be difficult to get an install going without sighted assistance. > Any thoughts/ideas are welcome. > > Hunter What about this approach? - make a usb stick or CD of mfsbsd http://mfsbsd.vx.sk/ - boot the computer from that - from another computer that has "talk functionality" available, connect via ssh to mfsbsd - run mfsbsd inbuilt zfsinstall from this terminal session While I've not tried it recently, I believe its also possible to run the FreeBSD installer from within mfsbsd too, so this would give a partially sighted person the ability to use the normal installer via a supported speaking terminal. I have no idea whether curses style applications work in this scenario, maybe you can share some experiences with that. IIRC one needs to download the .txz files to /usr/freebsd-dist/ and also the MANIFEST file from an ftp mirror, then run bsdinstall. A+ Dave