Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 16:23:49 -0600 (MDT)
From:      Ade Barkah <mbarkah@hemi.com>
To:        freebsd-hackers@freebsd.org
Subject:   xterm and status-line
Message-ID:  <199509122223.QAA11426@hemi.com>

next in thread | raw e-mail | index | archive | help
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: <http://hemi.com/>;
--------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509122223.QAA11426>