[net.unix] 4.2 and sysline

ss@wanginst.UUCP (Sid Shapiro) (10/22/85)

Hi there people,
I would like to use the sysline facility - sounds neat.
I am running ultrix 1.1,  The manual says that it works for terminals like
the vt100.  Here I am sitting at a vt100.  I say sysline.  I get a "No status
line capability for vt100"  So, does sysline lie, or does the manual lie, or
have I missed something simple?

Thanks for all and any,-- 
Sid Shapiro -- Wang Institute of Graduate Studies
    [apollo, bbncca, ucadmus, decvax, linus, masscomp]!wanginst!ss
    ss%wang-inst@Csnet-Relay.ARPA
	  (617)649-9731

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (10/23/85)

> I am running ultrix 1.1,  The manual says that it works for terminals like
> the vt100.  Here I am sitting at a vt100.  I say sysline.  I get a "No status
> line capability for vt100"  So, does sysline lie, or does the manual lie, or
> have I missed something simple?

A VT100 does not really have a status line.  However, it can be
faked; the termcap entries that do this are usually "vt100-s"
and "vt100-s-bot".  Try setting $TERM to one of those.

reschly@BRL.ARPA (Robert J Reschly Jr) (10/24/85)

<<<THIS IS A RECORDING....>>>

   Sysline does not lie.  I have been using the program for a year or so now,
and for many terminals the "status" line has to be faked.

   The essence of the faking is to redfine the window size, change the scrolling
region, and define the appropriate sequences to move the cursor to/from the
two windows.  All of this is done in termcap.

   If necessary, I should be able to scrounge up appropriate entries.

				Later,
				    Bob

bobd@zaphod.UUCP (Bob Dalgleish) (10/26/85)

In article <2349@brl-tgr.ARPA> you write:
>> I am running ultrix 1.1,  The manual says that it works for terminals like
>> the vt100.  Here I am sitting at a vt100.  I say sysline.  I get a "No status
>> line capability for vt100"  So, does sysline lie, or does the manual lie, or
>> have I missed something simple?
>
>A VT100 does not really have a status line.  However, it can be
>faked; the termcap entries that do this are usually "vt100-s"
>and "vt100-s-bot".  Try setting $TERM to one of those.

I have a non-standard terminal (Cybernex XL-87) with a status line
capability.  I guessed at how to set it up, and played with it until it
worked.  You need 4 entries in your termcap: 'hs' (bool) means "has
status"; 'ts' (string) means "to status line"; 'fs' (string) means "from
status line"; 'es' (bool) means that escape codes can be used in the
status line; 'ds' (string) means "delete (clear) status line".  On the
vt200 terminals, the status line is really a one line status window that
has to be placed on line 25.

By the way, you may or may not want to turn on the "escape status" flag,
since sysline does not interpret the padding characters for certain
functions.
-- 
[Forgive me, Father, for I have signed ...]

Bob Dalgleish		...!alberta!sask!zaphod!bobd
			      ihnp4!
(My company has disclaimed any knowledge of me and whatever I might say)

guy@sun.uucp (Guy Harris) (10/27/85)

> A VT100 does not really have a status line.  However, it can be
> faked; the termcap entries that do this are usually "vt100-s"
> and "vt100-s-bot".  Try setting $TERM to one of those.

Unfortunately, it's not a perfect fake.  Some programs get very confused
when you set TERM to "vt100-s" or "vt100-s-bot" and run "sysline" in the
background.

	Guy Harris

pdg@ihdev.UUCP (P. D. Guthrie) (10/28/85)

In article <1247@wanginst.UUCP> ss@wanginst.UUCP (Sid Shapiro) writes:
>Hi there people,
>I would like to use the sysline facility - sounds neat.
>I am running ultrix 1.1,  The manual says that it works for terminals like
>the vt100.  Here I am sitting at a vt100.  I say sysline.  I get a "No status
>line capability for vt100"  So, does sysline lie, or does the manual lie, or
>have I missed something simple?
>

The manual is both correct, and incorrect.  The vt100 has no status line
capability, and normally will not work.  However, it is possible to
write a new termcap for a vt100 that says it has 23 lines, and that
there is a status line on line 24, and when ever you login make it so
that termcap entry is used, and echo the characters to have a scrolling
region from lines 1-23.  This works fine.
				Paul Guthrie
p.s. if anyone needs this I'm sure I can dig it up off tape.

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (10/28/85)

> Unfortunately, it's not a perfect fake.  Some programs get very confused
> when you set TERM to "vt100-s" or "vt100-s-bot" and run "sysline" in the
> background.

Yup, really there should only be one or two vt100 termcap entries
and they shouldn't pretend that it has a status line.  But you
know how people are..