From patchwork Sat Apr 27 16:30:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1092058 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44rxXr266qz9sCF for ; Sun, 28 Apr 2019 02:42:20 +1000 (AEST) Received: from localhost ([127.0.0.1]:34118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQP4-0004i5-71 for incoming@patchwork.ozlabs.org; Sat, 27 Apr 2019 12:42:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQKj-0001C0-UL for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:37:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQDZ-0004zN-8B for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:30:27 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:47158) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKQDT-0004TM-F3 for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:30:22 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7FF9C3DA3; Sat, 27 Apr 2019 18:30:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30eFL6wCaQF1; Sat, 27 Apr 2019 18:30:10 +0200 (CEST) Received: from function (105.251.129.77.rev.sfr.net [77.129.251.105]) by hera.aquilenet.fr (Postfix) with ESMTPSA id CE8E33D59; Sat, 27 Apr 2019 18:30:10 +0200 (CEST) Received: from samy by function with local (Exim 4.92) (envelope-from ) id 1hKQDI-0001LE-Ct; Sat, 27 Apr 2019 18:30:08 +0200 From: Samuel Thibault To: qemu-devel@nongnu.org Date: Sat, 27 Apr 2019 18:30:04 +0200 Message-Id: <20190427163007.5113-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a0c:e300::1 Subject: [Qemu-devel] [PATCHv3 0/2] ui/curses: BSD portability fixes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Thibault , kamil@netbsd.org, kraxel@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" BSD needs a few fixes for wide character manipulations. Difference with v1: - Fix unitialized value in error message Difference with v2: - Add cchar_t manipulation fix Samuel Thibault (2): ui/curses: do not assume wchar_t contains unicode ui/curses: manipulate cchar_t with standard curses functions ui/curses.c | 188 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 120 insertions(+), 68 deletions(-)