tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* default tty settings
@ 2004-02-09 18:43 Richard A Spaller
  2004-02-10 19:41 ` SUMMARY: " Richard A Spaller
  0 siblings, 1 reply; 2+ messages in thread
From: Richard A Spaller @ 2004-02-09 18:43 UTC (permalink / raw)


Managers,

I am having trouble setting the baud rate on tty ports on an ES40
running Tru64 5.1b:

	# stty -f /dev/tty01 19200
	# stty -a -f /dev/tty01 speed
	speed 9600 baud;

Is there a way to change the default settings on a tty port?

Thanks,
-- 
Richard Spaller               | NASA Glenn Research Center
Data Systems Support Services | 21000 Brookpark Road, MS 142-4
RS Information Systems        | Cleveland, OH 44135
voice: (216) 433-2390         | fax: (216) 433-8000


^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: default tty settings
  2004-02-09 18:43 default tty settings Richard A Spaller
@ 2004-02-10 19:41 ` Richard A Spaller
  0 siblings, 0 replies; 2+ messages in thread
From: Richard A Spaller @ 2004-02-10 19:41 UTC (permalink / raw)


Thanks to:
	Fred. van Kempen
	Mary Hunt
	Dr. Tom
	Martin Anderson
	Rich Copeland

Outside of editing /sys/include/sys/ttydefaults.h and recompiling the
kernel, no means of changing the default port settings and making them
sticky was found.

We have opted to use tcsetattr() within the program and recompile if and
when we have to change the values.

Thanks for all the help.

Richard A Spaller wrote:
> Managers,
> 
> I am having trouble setting the baud rate on tty ports on an ES40
> running Tru64 5.1b:
> 
> 	# stty -f /dev/tty01 19200
> 	# stty -a -f /dev/tty01 speed
> 	speed 9600 baud;
> 
> Is there a way to change the default settings on a tty port?
> 
> Thanks,

-- 
Richard Spaller               | NASA Glenn Research Center
Data Systems Support Services | 21000 Brookpark Road, MS 142-4
RS Information Systems        | Cleveland, OH 44135
voice: (216) 433-2390         | fax: (216) 433-8000


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-10 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09 18:43 default tty settings Richard A Spaller
2004-02-10 19:41 ` SUMMARY: " Richard A Spaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox