From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32582 invoked by alias); 28 Apr 2009 12:33:13 -0000 Received: (qmail 32532 invoked by uid 22791); 28 Apr 2009 12:32:58 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_84,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Apr 2009 12:32:53 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 91A0E3B40057 for ; Tue, 28 Apr 2009 13:32:50 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mYFsUFV912w3; Tue, 28 Apr 2009 13:32:46 +0100 (BST) From: bugzilla-daemon@ecoscentric.com To: ecos-patches@ecos.sourceware.org Subject: [Bug 1000740] Public Domain Curses for eCos X-Bugzilla-Reason: QAcontact X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: jifl@ecoscentric.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 28 Apr 2009 12:33:00 -0000 Message-Id: <20090428123245.ED2E23B40030@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2009-04/txt/msg00020.txt.bz2 http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000740 Sergei Gavrikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergei.gavrikov@gmail.com --- Comment #1 from Sergei Gavrikov 2009-04-28 13:32:43 --- Hello I hope that now the PDCurses package can be a useful stuff for any eCos target which has a serial port. That my first dummy driver was replaced by a real one: serial terminal driver. It seems for me that in this state the package can be placed in eCos CVS (IMHO). The package's sources are placed under the bitbucket service: http://bitbucket.org/tickling/pdcurses4ecos SYNOPSIS hg clone http://bitbucket.org/tickling/pdcurses4ecos/ cd pdcurses4ecos sh install.sh ecosconfig new ecosconfig add pdcurses Then import a option the below to build the PDCurses demos cdl_option CYGBLD_PDCURSES_DEMOS { user_value 1 }; Change a eCos serial device for PDCurses programs, if it's needed: cdl_option CYGDAT_PDCURSES_DRIVER_SERIAL_DEV { user_value "\"/dev/ser1\"" }; default is "/dev/ser0". The PDCurses driver works with a blocking and non-blocking read, but it's useful to import cdl_option CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING { user_value 1 }; too. Then just type `make'. All demos should be under install/demos directory. Note: I tested the package using LE targets only ARM and synthetic Linux target. src/drivers/serial.c:PDC_check_key() uses macros which are endian depended. So, I could not test them on BE target. BTW, there is yet another tiny project which depends on the eCos PDCurses package on bitbucket. It is a few my tweaks for the GNU Nano Editor: http://bitbucket.org/tickling/gnunano4ecos/ Nano quite works on synthetic Linux target with ecosynthserial drivers and on my ARM board. To compile the nano editor for eCos it's needed just to add packages for default template: ecosconfig add fileio ramfs pdcurses Once again, the PDCurses core itself is just 42K if I build it for ARM target (ARM mode, !THUMB). Sergei -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.