From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 22:31:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EE601065675 for ; Wed, 7 Mar 2012 22:31:56 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 047F68FC1C for ; Wed, 7 Mar 2012 22:31:55 +0000 (UTC) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 86FC61CC8F; Wed, 7 Mar 2012 14:13:07 -0800 (PST) To: Brandon Falk In-reply-to: Your message of "Tue, 06 Mar 2012 14:08:51 EST." <4F5660C3.5090700@brandonfa.lk> References: <20120306133958.008f1df2@bhuda.mired.org> <4F5660C3.5090700@brandonfa.lk> Comments: In-reply-to Brandon Falk message dated "Tue, 06 Mar 2012 14:08:51 -0500." Date: Wed, 07 Mar 2012 14:13:07 -0800 From: Bakul Shah Message-Id: <20120307221307.86FC61CC8F@mail.bitblocks.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 22:31:56 -0000 On Tue, 06 Mar 2012 14:08:51 EST Brandon Falk wrote: >You seem to understand exactly want I want. Just small font terminals on all >screens, and I was actually thinking `screen` would do the trick for the >splitting/management of them. As for stripping down X, I might do so as a proof >of concept, but in the end I want to develop my own for my own learning. > >When I mention lines, circles, etc I was thinking moreso at the very low level >of fonts being drawn by lines and dots (although I would like to branch it >eventually to support 2d graphics where people could maybe make some 2d games, >but keep the high-res terminal on the side to keep it minimal). I also may want >to draw some lines to border terminal windows (screen would eliminate this >obviously). You might want to look at /dev/draw of plan9. And rio, as someone else also suggested. /sys/src/9/port/devdraw.c on plan9 is only about 2200 lines. You may also wish to read Rob Pike's paper on 8 1/2 and man pages for draw(2), draw(3), graphics(2) and rio(1) @ cat-v.org. See rio presentation @ http://herpolhode.com/rob/lec5.pdf as it lays out window system design issues very nicely.