[unix-pc.general] The Unix-pc Office

jcs@tarkus.UUCP (John C. Sucilla) (02/05/88)

Would somebody please explain to me how the "Office" file works on the
Unix-pc and what other field names and options are available? I have'nt
been able to find any information on it in the docs. Maybe I'm just looking
in the wrong places? I've got the following in my Office file:

Name	= Big Unix System (24x80)
Default	= Run
Run	= EXEC -d $SHELL

Name	= Calendar
Default	= Run
Run 	= EXEC -d /usr/bin/pcal

Recently, I decided to add:

Name	= Uucp Status
Default	= Run
Run	= EXEC -d /local/bin/uucpstat

But it returns to the main menu when uucpstat exits. I've tried sticking
in a | more and quoting the whole string after the -d but nothing seems
to give me the results I want. Are there other field names besides Name,
Default and Run? Are there other Defaults besides Run? Can the Run field
contain something besides EXEC? Can EXEC be passed other flags besides
-d? Is it possible to string commands? Is this documented anywhere???
-- 
John "C" Sucilla
{ihnp4}!tarkus!jcs

Don't let reality stop you.... 

dbw@mtunk.ATT.COM (d.b.wood) (02/10/88)

The Office file (and others) are documented under UA(4) in the
UNIX User's Manual.

Dave Wood

pjc@pcbox.UUCP (Paul J. Condie) (02/10/88)

In article <43@tarkus.UUCP> jcs@tarkus.UUCP (John C. Sucilla) writes:
>Would somebody please explain to me how the "Office" file works on the
>Unix-pc and what other field names and options are available? I have'nt
>been able to find any information on it in the docs. Maybe I'm just looking
>in the wrong places? I've got the following in my Office file:

What you are looking for is documented in section 4 of the manual,
see UA(4).  For programs that just exit, like uustat, where you don't
have time to read the screen.  I have a two line shell script that I run it
through ex "$* | more; echo press return to contine; read reply".

lii@ihlpf.ATT.COM (Ingwersen) (02/11/88)

In article <43@tarkus.UUCP>, jcs@tarkus.UUCP (John C. Sucilla) writes:
> Would somebody please explain to me how the "Office" file works on the
> Unix-pc and what other field names and options are available? I have'nt
> been able to find any information on it in the docs. Maybe I'm just looking
> in the wrong places?

As the summary states.  Check the UA(4) manual page in your User's Manual
Volume II.  It describes the UA Office file and what you can do with
it.

Lou Ingwersen
Naperville, IL
AT&T Bell Labs.
ihnp4!ihlpf!lii