From owner-freebsd-config Mon Feb 24 04:32:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA17060 for config-outgoing; Mon, 24 Feb 1997 04:32:18 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA17054 for ; Mon, 24 Feb 1997 04:32:15 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id EAA10840 for ; Mon, 24 Feb 1997 04:32:10 -0800 (PST) To: freebsd-config@freebsd.org Subject: ssigala@globalnet.it: ports/2776: New Port: Turbo Vision for UNIX Date: Mon, 24 Feb 1997 04:32:10 -0800 Message-ID: <10832.856787530@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-config@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Our ship come in? :-) I've been playing with this a little bit, and while it does evoke some feelings of nostalgia ("So *that*'s where that L&F came from!" :-) it's also pretty useful. Set your terminal type to xterm-color (or look at it from a syscons vty) and it really starts to sit up and dance. It's a complete CUI environment, basically everything we've been saying we wanted all this time. Of course I'm of two minds about this. One side says "Hey, it's a gift horse! Take it!" The other says "Yeah, sure, but do you want your install to forever have that weird look of a Borland Pascal installation? :-) Jordan P.S. One thing that needs immediate fixing, however, before this will fly in production - the ALT key handling is broken! And it doesn't grok moused either (but does support Linux's GPM)! :-) ------- Forwarded Message From: ssigala@globalnet.it Reply-To: ssigala@globalnet.it To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/2776: New Port: Turbo Vision for UNIX Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2776 >Category: ports >Synopsis: New Port: Turbo Vision for UNIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 20 05:50:00 PST 1997 >Last-Modified: >Originator: Sandro Sigala >Organization: Sigala S.p.A. >Release: FreeBSD 3.0-970118-SNAP i386 >Environment: >Description: (I have already sent a similar mail to freebsd-ports, but seem to be lost, sorry.) - ----------------------------------------------------------------------------- This is the DESC file: Turbo Vision (or TV, for short) is a library that provides an application framework. With TV you can write a beautiful object-oriented character-mode user interface in a short time. TV is available in C++ and Pascal and is a product of Borland International. It was developed to run on MS-DOS systems, but today it is available for many other platforms (ported by independent programmers). This port is based on the Borland 2.0 version with fixes. Borland has released the source code to the public some time ago (take a look at the COPYRIGHT file in the source package for more informations). - ----------------------------------------------------------------------------- I placed the library in ftp.cdrom.com:/pub/FreeBSD/incoming/tvision-0.3.tar.gz and the port is ftp.cdrom.com:/pub/FreeBSD/incoming/tvision-0.3.port.tar.gz Please move the source package (tvision-0.3.tar.gz) to freefall.cdrom.com:/pub/FreeBSD/LOCAL_PORTS since i have not a master ftp site to hold it. Note: when the library is dinamically-linked sometimes the resulting executable doesn't run. I don't know why. Thanks, Sandro >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: ------- End of Forwarded Message From owner-freebsd-config Mon Feb 24 20:23:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA19985 for config-outgoing; Mon, 24 Feb 1997 20:23:03 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA19972 for ; Mon, 24 Feb 1997 20:22:53 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id UAA06600; Mon, 24 Feb 1997 20:22:32 -0800 (PST) To: msmith@gsoft.com.au cc: freebsd-config@freebsd.org Subject: Psst! TurboVision? Date: Mon, 24 Feb 1997 20:22:32 -0800 Message-ID: <6596.856844552@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-config@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Did you get a chance to look at this? I've been playing with it for the last 24 hours and I'm *sold*! I was even able to compile all the DOS TurboVision examples from my copy of "Effective Borland C++ examples" - it's pretty slick! Creating menus with this thing is definitely a big win. I'm already diving in to do SOS (Son Of Sysinstall)'s top screens in it, and the interesting varieties of interaction I'm going to be able to do with it *FAR* exceeds what's possible with libdialog. I really like it. Oh yeah, the ALT key also works fine in VTY mode - it's only in an xterm that you can't use it (which means we're still OK for the installation). It would still be nice to make it work with moused, but that comes later (moused's not even enabled in our standard install anyway). I wish we were using itcl as our default base, of course - it'd be a lot easier to maintain their OOP framework through that mechanism than it's going to be in TCL. The only way I see it working now is that we'll write set of C++ derived classes for doing sysinstall-ish stuff and with the kinds of data structures encountered more often in that context, then we write the TCL->C++ goop for interfacing to those classes. I don't see any reason to implement the entire TurboVision API in TCL unless it's for the manifest purpose of providing those components for further extention, and TCL is bad at that (hence the reference to [incr tcl] :-). Ah well! I've committed it as a port under devel, just to make it easier to sync up with it. I really don't see anything better coming down the pike, and there doesn't seem to be a serious groundswell of support for the HTML approach (for which I still admittedly still have reservations myself). I think this is it. This is our CUI. Now we just need to design the back-end. :-) Comments? Jordan From owner-freebsd-config Tue Feb 25 10:02:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA05794 for config-outgoing; Tue, 25 Feb 1997 10:02:12 -0800 (PST) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA05781 for ; Tue, 25 Feb 1997 10:02:02 -0800 (PST) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id LAA03456; Tue, 25 Feb 1997 11:29:31 -0600 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma003450; Tue Feb 25 11:29:31 1997 Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.11.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id LAA11083; Tue, 25 Feb 1997 11:31:00 -0600 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.8.5/8.6.12) with ESMTP id LAA08037; Tue, 25 Feb 1997 11:31:17 -0600 (CST) Message-Id: <199702251731.LAA08037@jake.lodgenet.com> X-Mailer: exmh version 2.0beta 12/23/96 To: "Jordan K. Hubbard" cc: msmith@gsoft.com.au, freebsd-config@freebsd.org Subject: Re: Psst! TurboVision? In-reply-to: Your message of "Mon, 24 Feb 1997 20:22:32 PST." <6596.856844552@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 1997 11:31:17 -0600 From: "Eric L. Hernes" Sender: owner-freebsd-config@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" writes: > >I wish we were using itcl as our default base, of course - it'd be a >lot easier to maintain their OOP framework through that mechanism than >it's going to be in TCL. The only way I see it working now is that >we'll write set of C++ derived classes for doing sysinstall-ish stuff >and with the kinds of data structures encountered more often in that >context, then we write the TCL->C++ goop for interfacing to those >classes. I don't see any reason to implement the entire TurboVision >API in TCL unless it's for the manifest purpose of providing those >components for further extention, and TCL is bad at that (hence the >reference to [incr tcl] :-). > Swig might help here. 1.1 does a lot better at the OOP stuff. It may be able to generate most of the glue. I don't have enough experience with c++ yet to do the interface to tvision, but I've been playing with the C stuff. Swig generates code to access c structures (and c++ objects) similar to the way Tk handles widgets. For example if I've got a structure like: struct foo { int a; int b; int c; } somewhere in my C-library, swig will provide access to it via calls like: foo f f configure -a 123 -b 321 -c 999 puts [list [f cget -a] [f cget -b] [f cget -c]] > > Jordan eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com