[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] [Chicken-bugs] #397: posix library terminal size
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] [Chicken-bugs] #397: posix library terminal size |
Date: |
Sat, 22 Dec 2007 11:12:07 -0000 |
#397: posix library terminal size
-------------------------------------------------+--------------------------
Reporter: Shawn Wagner <address@hidden> | Type: enhancement
Status: new | Priority: minor
Milestone: | Component: core libraries
Version: 2.7 | Keywords:
-------------------------------------------------+--------------------------
The attached file adds a (terminal-size <port>) function to the posix
library. If the given port is a terminal, it returns two values: The
number of rows and columns of the terminal.
It's my understanding that the help in manual/ is auto generated from the
wiki, so I didn't add documentation. If this patch is accepted, I can then
go add it to the wiki manual (Or add it to manual/Unit posix, whatever's
needed.)
{{{
posixunix.scm | 47 ++++++++++++++++++++++++++++++++++++++++++-----
posixwin.scm | 1 +
2 files changed, 43 insertions(+), 5 deletions(-)
}}}
--
Ticket URL: <http://trac.callcc.org/ticket/397>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
- [Chicken-janitors] [Chicken-bugs] #397: posix library terminal size,
Chicken Scheme <=