From owner-freebsd-ports@FreeBSD.ORG Thu Nov 29 13:12:58 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6E95F04; Thu, 29 Nov 2012 13:12:58 +0000 (UTC) (envelope-from ruM1cRO@yandex.ru) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4C28FC16; Thu, 29 Nov 2012 13:12:58 +0000 (UTC) Received: from web5g.yandex.ru (web5g.yandex.ru [95.108.252.105]) by forward19.mail.yandex.net (Yandex) with ESMTP id 646551121B8E; Thu, 29 Nov 2012 17:12:56 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web5g.yandex.ru (Yandex) with ESMTP id BDFE01D0002; Thu, 29 Nov 2012 17:12:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1354194776; bh=xHgHg6LpBWMS7poHKaxNy/qDTFxmhNaWtlok4WbN+YE=; h=From:To:Cc:Subject:Date; b=F+CYG1YgrYNue7p88RGyB6P7D3fmiKajOKZ03amM8tkqRrGvPr29wcMSkA7LfN5/o J13D3NCexzsBZUe8fNb19EgeiJsZBgMGK1Ccnf6ymEX4HbaHSO+C5U4KFDl2MZkF6X 2TG+WqN8oLNs3noTr6jtngpc6FChvzH2rsNzen9k= Received: from owa.dbdc.luxoft.com (owa.dbdc.luxoft.com [213.208.171.196]) by web5g.yandex.ru with HTTP; Thu, 29 Nov 2012 17:12:55 +0400 From: Ilya A. Arkhipov To: freebsd-ports@freebsd.org Subject: Discussion concerning: New dialog for ports MIME-Version: 1.0 Message-Id: <695411354194775@web5g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 29 Nov 2012 17:12:55 +0400 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: kwm@freebsd.org, bapt@freebsd.org, Eitan Adler , Alexey Dokuchaev X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 13:12:58 -0000 Hi Folks, Few week ago I started work on new dialog for ports, main idea it's adding functionality, I guess you know ;) I took checklist.c from libdialog and modified it for us. Regarding license, I discussed with Thomas E. Dickey(author dialog) he said I can't change LGPL to BSD but it should not be a problem. What we have now: - check + radio lists in on box (and yes we can put off radiobox) - separate line with text - dynamic width/height size - all features from checklist.c :) -- mouse support -- hotkey for find a lines My plan: - add Help button/F1/alt-h/esc-1 (actually don't know how will be better) - button for license - fixing bugs >_< - start work on parsing receiving data, after that should be ready for testing. Regarding parsing data I want discuss here. Wanna correct understand what will be better, now I have few variants: 1. Get all data from env. variables 2. Use the same with old dialog style, I mean receive from STDIN 3. From file? <- guess bad idea Your ideas? And certainly screeshots: Big description(just for test); In X -- http://imm.io/NkVR In Terminal -- https://www.dropbox.com/s/bzt8zszpk40jrso/2012-11-29%2014.59.53.jpg With license button: in X -- http://imm.io/Nl9K You can find my repo there: https://bitbucket.org/m1cro/d4p/. I'll be happy for all response ;) -- With Best Regards, Ilya A. Arkhipov