From owner-svn-src-all@freebsd.org Thu Jun 23 23:16:47 2016 Return-Path: Delivered-To: svn-src-all@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 28640B73E60 for ; Thu, 23 Jun 2016 23:16:47 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (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 E280F2BB5 for ; Thu, 23 Jun 2016 23:16:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x244.google.com with SMTP id x6so15120906oif.3 for ; Thu, 23 Jun 2016 16:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:cc; bh=8BFysJjX3BaCntKSUYSC6tEe/32YcNW5kb1qDVh0/DY=; b=HDYwpU32G6p+PqFx5UPnKj5MkG4MZ/cl++o4juJtz2rhXRlyumjOU2LtJmvGQtJS9d AdusesZaU9pVqhz0TlijGsWq1yNaQbK2ZK/BOKwkmV16QM10RqHpd06Cc0tpOXuz+v1v hfXvtjY4C8q9QIUd8OC/L1LBpOU4t4vkt3/QY4hu1b0Pi2ldjHSXRWJFf0tkPTd7I+uf DygOt5p34x3dZ+Y7055sx4FCWyiLpSA+qIo3H0iZeFhPHXtRhxa8W6EMIBfTekdxPQwG VQjGEjW7grdoErr0L9bo61v+k637UMKz/FtOtX88fb0ZNAVkh2Q1oh1NatlkUtTx+lKg gYNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:cc; bh=8BFysJjX3BaCntKSUYSC6tEe/32YcNW5kb1qDVh0/DY=; b=hSj6J7p8koafBjl1Z1vE1zL5L2DWsfnEIme85DvaqOyZ6gY/ZBNoKtAMIwRhCVqSGF akz3LEDDU7LFNRV56zW5DKSxIanercot6So/Xb08Qm4wXiueMACd1IkUElWm5urlFNkx flG5ppgi3M0t4FGssQd7QCPB9MfptjPjvjNrwyAT6j/zG3HRkUJ2bvwKv8jgoU1VRriL C6DeVU5e9D8HjKwrh+ezDUgd9yl70urSS7ZokVlNtuFC2oE7ppRfE10GQZlrpGzVDqvc 04dw9C9tM2rN606HHLISGyTUL+UTimUdDzKJTfO8bMZcmOm/CThFZSCPDjRL0eQNn3Mj 5XUQ== X-Gm-Message-State: ALyK8tLCeUmiRcWEfpixjBd7SBMHqVbfkuhHeyB72aFHQwpElwBnHXW83DCFOjJibZSf7gJ1wt4m9LwJgUIEFA== X-Received: by 10.157.0.74 with SMTP id 68mt931552ota.55.1466723806063; Thu, 23 Jun 2016 16:16:46 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.202.168.149 with HTTP; Thu, 23 Jun 2016 16:16:45 -0700 (PDT) In-Reply-To: <201606232313.u5NNDEu3093674@repo.freebsd.org> References: <201606232313.u5NNDEu3093674@repo.freebsd.org> From: Alan Somers Date: Thu, 23 Jun 2016 17:16:45 -0600 X-Google-Sender-Auth: W5xb1xwuHZK900xxLyBU35wT8RM Message-ID: Subject: Re: svn commit: r302162 - head/usr.sbin/gstat Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 23:16:47 -0000 On Thu, Jun 23, 2016 at 5:13 PM, Alan Somers wrote: > Author: asomers > Date: Thu Jun 23 23:13:14 2016 > New Revision: 302162 > URL: https://svnweb.freebsd.org/changeset/base/302162 > > Log: > Fix gstat's interactive f and q commands > > curses and libedit don't play well together. After last year's libedit > upgrade in head, they play even less well together. This change resets some > curses settings after they get screwed up by libedit calls. Without it, > gstat's interactive commands require an extra "enter", screw up the terminal > on exit, and screw up the display if the user enters an invalid filter > string. > > PR: 204852 > Submitted by: Keith White > Reviewed by: pfg > Approved by: re (gjb) > MFC after: 4 weeks > Sponsored by: Spectra Logic Corp > Differential Revision: https://reviews.freebsd.org/D6934 > > Modified: > head/usr.sbin/gstat/gstat.c > For the record, the MFC field is a mistake. This bug does not affect stable/9 or stable/10.