Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running a program on a specific terminal automatically?

0 views
Skip to first unread message

Kurt Heuser

unread,
Jan 25, 2001, 10:56:42 AM1/25/01
to
Is there a way at boot time to have a particular program start up on a
specified terminal in sco unix 5.0.5?

Thanks

KH

Jean-Pierre Radley

unread,
Jan 25, 2001, 12:15:26 PM1/25/01
to ScoMisc [c.u.s.m]
Kurt Heuser propounded (on Thu, Jan 25, 2001 at 03:56:42PM +0000):

| Is there a way at boot time to have a particular program start up on a
| specified terminal in sco unix 5.0.5?

See TA 106208.


--
JP

Tony Lawrence

unread,
Jan 25, 2001, 4:27:21 PM1/25/01
to
Kurt Heuser wrote:
>
> Is there a way at boot time to have a particular program start up on a
> specified terminal in sco unix 5.0.5?


See the "Autologin" section of
http://pcunix.com/Unixart/startup.html


--
Tony Lawrence (to...@aplawrence.com)
SCO/Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com

Serge B Bromow

unread,
Jan 25, 2001, 5:47:06 PM1/25/01
to
Kurt Heuser wrote:

Here is a Xenix solution that has been
carried forward to the OSR5 login program.

1. Create an entry in the "/etc/gettydefs" file that looks like this.

M # B9600 HUPCL SCANCODE # B9600 CS8 SANE HUPCL TAB3 ECHOE #\r\nlogin: #
m # AUTO

Note the AUTO statement. This does not appear to be documented in OSR5.

2. Edit the "/etc/inittab" to use this entry for the ttty you want to
auto load. In my example "tty10a".

srAm:2:respawn:/etc/getty tty10a M

Note the M referring to your entry in "/etc/gettydefs".

3. Create a user named as the tty line. In my case "tty10a"

4. Edit the "/etc/passwd" file so that it loads the program you want.

tty10a:x:210:50:POS Auto Login:/u:/usr/lib/dmc/prg/pd.mnu_M

Here my app must begin in the "/u" dir and the app is
"/usr/lib/dmc/prg/pd.mnu_M

Disable and Enable the port for these changes to take effect.

Im not sure how many more generations of OSR5 will carry this
undocumented feature.

Good Luck.


Jean-Pierre Radley

unread,
Jan 25, 2001, 6:12:56 PM1/25/01
to ScoMisc [c.u.s.m]
Serge B Bromow propounded (on Thu, Jan 25, 2001 at 05:47:06PM -0500):

| Kurt Heuser wrote:
|
| > Is there a way at boot time to have a particular program start up on a
| > specified terminal in sco unix 5.0.5?
| >
| > Thanks
| >
| > KH
|
| Here is a Xenix solution that has been
| carried forward to the OSR5 login program.
|
| 1. Create an entry in the "/etc/gettydefs" file that looks like this.
|
| M # B9600 HUPCL SCANCODE # B9600 CS8 SANE HUPCL TAB3 ECHOE #\r\nlogin: #
| m # AUTO
|
| Note the AUTO statement. This does not appear to be documented in OSR5.

It certainly is documented in the gettydefs man page on OSR 5.0.6.

--
JP

Serge B Bromow

unread,
Jan 25, 2001, 9:05:05 PM1/25/01
to
Jean-Pierre Radley wrote:

> It certainly is documented in the gettydefs man page on OSR 5.0.6.
>
> --
> JP

Fortunately I have removable disk of varying OSR versions.

It is documented in man 5.0.6.
It is not documented in 5.04 & 5.0.5. Indeed the field isn't even mentioned.

Im glad its back. I see they have added an program option as well.
I will try this option. It may save me some setup time.

Funny how it was in Xenix, lost for a while and came back in 5.0.6 pages.

What the Heck!

Serge


0 new messages