[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

need help getting term size



Hrm, I fixed debfoster and got this response. What is the best way to get the
current terminal size? The only reference I can find to this in SuS is curses.

as always,
nick
            nick@grawk.net * http://www.fargus.net/nick
    Developer - Systems Engineer - Mad System Guru - MOO Sales
    He picks up scraps of information/He's adept at adaptation
Because for strangers and arrangers/Constant change is here to stay

------- Forwarded Message

Return-Path: zarq@icicle.yi.org
Delivery-Date: Fri, 10 Aug 2001 15:20:40 -0700
Received: from zebra.icicle.yi.org (postfix@3dyn175.delft.casema.net [195.96.104.175])
        by grawk.net (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) with ESMTP id f7AMKX5X023869
        for <nick@grawk.net>; Fri, 10 Aug 2001 15:20:39 -0700
Received: from spark.icicle.yi.org (spark.icicle.yi.org [192.168.1.6])
	by zebra.icicle.yi.org (Postfix) with SMTP
	id 8D58A1AC8D; Sat, 11 Aug 2001 00:20:26 +0200 (CEST)
Received: by spark.icicle.yi.org (sSMTP sendmail emulation); Sat, 11 Aug 2001 00:20:26 +0200
Date: Sat, 11 Aug 2001 00:20:26 +0200
From: Ivo Timmermans <zarq@icicle.yi.org>
To: Known Human Nick Rusnov <nick@grawk.net>, 108215@bugs.debian.org
Cc: wsl@nl.linux.org
Subject: Re: Bug#108215: debfoster does not compile on HURD (patch included)
Message-ID: <20010811002025.F10198@spark.icicle.yi.org>
Reply-To: irt@cistron.nl
References: <200108092245.f79Mjw5X013192@grawk.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200108092245.f79Mjw5X013192@grawk.net>
User-Agent: Mutt/1.3.20i

Known Human Nick Rusnov wrote:
> Greetings, here is a patch that converts debfoster fully to using termios so
> that it can compile on The Hurd.

Ok, I can apply that, but there's one thing I need to know (or rather,
the upstream maintainer needs to know):  how to get the dimensions of
the current terminal?  Doesn't HURD have ioctl() at all, or is it just
another calling/naming convention?


	Ivo

- -- 
Illegal hardware instruction

------- End of Forwarded Message



Reply to: