From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 07:27:31 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 BFFEF106566B; Thu, 8 Apr 2010 07:27:31 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 826428FC13; Thu, 8 Apr 2010 07:27:31 +0000 (UTC) Received: by pwi9 with SMTP id 9so1853066pwi.13 for ; Thu, 08 Apr 2010 00:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=Shgc3RUcm6FF1CzGfE4QxVEscoHdY+1QLOFvcXgrg+I=; b=j37r4xf+TWAqxxp0aqFNK0WGzGesqsoun2Kdior5XQs/1A7REPkpBZPbRUjI/qCjqr KLJGYd1AlKtrG3E8DbW1UOPFAAW2Zn9q8Dvnmv6ZmklLLMRENaY8aPqglYNoQ/RmwK7z +bzUQ6vU23UIpfMW0mupQVZyG3wVnNEYkVzBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=bXIQEXt35mEoZyu9hMDkPUMfNiAeSXQVRGw1ctaDDf4fWixjWCrgdU8WZlsWQ/Vjhg PJ2Q5S+RX2p1UKQIIlBvnNsDxc3APiVvj1NqNxqH8asp9sBSB4MSy1EitEX+PIM6vDMV WnXbe+s58rSfyvCCsb4bsaWjMVkhAF8qA26xE= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.140.255.21 with HTTP; Thu, 8 Apr 2010 00:27:31 -0700 (PDT) In-Reply-To: <4BBD68DB.7050600@yandex.ru> References: <55861270658151@web135.yandex.ru> <4BBD68DB.7050600@yandex.ru> Date: Thu, 8 Apr 2010 00:27:31 -0700 X-Google-Sender-Auth: 27edbe57c791ca11 Received: by 10.140.255.8 with SMTP id c8mr1644091rvi.7.1270711651128; Thu, 08 Apr 2010 00:27:31 -0700 (PDT) Message-ID: From: Randi Harper To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Cc: adrian@freebsd.org, 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 07:27:31 -0000 2010/4/7 Andrey V. Elsukov : > 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 It's great that you want to work on this, but there are other people working in the same area, so keeping your code to yourself for too long makes it very likely that it will never get used. -- randi