From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 05:25:57 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB383106566C; Thu, 8 Apr 2010 05:25:57 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8E8B28FC13; Thu, 8 Apr 2010 05:25:51 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward1.mail.yandex.net (Yandex) with ESMTP id EEEF669E8534; Thu, 8 Apr 2010 09:25:48 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1270704349; bh=bIgARXcxUflqXCjsoDKr1paOedy78pLRALGAVyeq6OY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=wY3J211WF1aO5ovKYEpecczRCT/5eRywhx2NOM2ypntN8pHZ1lIfFKW5J2ju4egfW rWjItlBOBd2n6qXLmRGbbhcsbMO77fgL6zzBTHl0gJe2fVu5e+yinTyLUcbXsfYiQX RN/uq9piI8wt4hbASyxuJFGi9GM6xD+cGvlWK4gM= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp1.mail.yandex.net (Yandex) with ESMTPSA id 81705E60148; Thu, 8 Apr 2010 09:25:48 +0400 (MSD) Message-ID: <4BBD68DB.7050600@yandex.ru> Date: Thu, 08 Apr 2010 09:25:47 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Randi Harper References: <55861270658151@web135.yandex.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1270704348 X-Yandex-Spam: 1 X-Yandex-Front: smtp1.mail.yandex.net Cc: freebsd-current@freebsd.org, Devin Teske , freebsd-geom@freebsd.org Subject: Re: [RFC] Rewriting sade(8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 05:25:57 -0000 On 07.04.2010 21:49, Randi Harper wrote: > Wow. This is awesome. patches? :D :) I'm not ready yet to publish code. I planned to announce this RFC a bit later, when code will be finished. But Konstantin (kib@) suggested do it before finishing. > I've been working on moving sysinstall from libdisk to libgeom, but > unfortunately it's a bit more complicated (redoing the way we detect > devices while I'm at it). I've done a lot of the heavy lifting code, > but I haven't even started on the GUI parts yet. I'd love to see how > someone else tackled doing this. I'm particularly interested in #5& > #7. :) Initially i wanted to only modify current sade's code to move it from libdisk to libgeom. But after several attempts i decided that it will be easier to rewrite it :) > Generally, we try to keep sysinstall's disk tools and sade in sync, so > I would like to work with you on this and see what we can come up > with. I'm not entirely sure if #2 is a viable option since we already > have functions in sysinstall that handle generating dialog boxes with > libdialog, but if it's an improvement on what's existing, bring it on. Yes, I looked at this code in sysinstall and in libdialog. Also I looked to another console UI libs. The main problem of using external libraries is that not so easy import them into base system. libdialog have several problemls too, imho. 1. Custom dialogs based on ComposeObj are ugly :) 2. It supports *only* single-byte characters. Initially I wanted to write code with message catalogs support. But after several tests I leaved this idea. Also it seems there is no catgets analog for wide characters. -- WBR, Andrey V. Elsukov