From owner-freebsd-hackers Tue Sep 12 15:20:18 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA04855 for hackers-outgoing; Tue, 12 Sep 1995 15:20:18 -0700 Received: from hemi.com (hemi.com [204.132.158.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA04842 for ; Tue, 12 Sep 1995 15:20:13 -0700 Received: (from mbarkah@localhost) by hemi.com (8.6.11/8.6.9) id QAA11426 for freebsd-hackers@freebsd.org; Tue, 12 Sep 1995 16:23:49 -0600 From: Ade Barkah Message-Id: <199509122223.QAA11426@hemi.com> Subject: xterm and status-line To: freebsd-hackers@freebsd.org Date: Tue, 12 Sep 1995 16:23:49 -0600 (MDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 745 Sender: hackers-owner@freebsd.org Precedence: bulk Hello, I'm running FreeBSD 2.0.5 and xfree86. The included xterm advertises that it has a status-line, but I haven't been able to figure it out (enable it or write to it.) I've tried the following code (fragment) so I can write to the status line: if (tgetflag ("hs")) { pEnterSL=tgetstr ("ts", &_capptr); tputs (pEnterSL, 1, outfn); ... I get garbage in the current cursor position. Currently I have a function which simply emulates a status line but I'd like to get the hardware stuff to work. Thanks for any hints, -Ade -------------------------------------------------------------------- Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - www: --------------------------------------------------------------------