Sponsored Content
Top Forums UNIX for Advanced & Expert Users Command equivalent to DOS mode for SCO 5.0.6 Post 302117188 by jgt on Friday 11th of May 2007 07:10:55 AM
Old 05-11-2007
I know, but that (gettydefs and inittab) doesn't take effect until the port is enabled, and then getty steals the input, and ouputs a login prompt. Once the port is disabled its settings return to 9600,n,8,1.
The trick might be to find where the default settings are stored, I've looked in /etc/conf/ and its subdirectories to no avail.
 

10 More Discussions You Might Find Interesting

1. SCO

how can I create a dos file in sco unix?

I want to output something to file1. And I want to see it in windows xp would you tell me how? (2 Replies)
Discussion started by: fresh
2 Replies

2. Windows & DOS: Issues & Discussions

SQL Spool equivalent command in DOS

This question maybe in the wrong category but I'm posting here due to urgency. In DOS is there a command to perform a similar function to spool command in SQL or Script command in UNIX? I want to print all command line output to a file but I don't want to use the echo command for each line. ... (2 Replies)
Discussion started by: stevefox
2 Replies

3. UNIX for Dummies Questions & Answers

DOS command for ps

I have navigated every DOS and UNIX FAQ to find the DOS equivalent of the UNIX ps command (ps -f would be even better) but all listings of DOS<>UNIX commands do not have it (they all have the same basic commands listed). DOS must have a way of detecting running processes and TSRs. mem /c is the... (7 Replies)
Discussion started by: dancingfool
7 Replies

4. UNIX for Dummies Questions & Answers

Unix equivalent of DOS set

Hi all, what is the equivalent command of the DOS set that lists all the environment variable and their values? Xavier. (3 Replies)
Discussion started by: xxavier
3 Replies

5. Windows & DOS: Issues & Discussions

what is the DOS equivalent of alias command?

how do we create aliases to commands in dos? thanks (9 Replies)
Discussion started by: milhan
9 Replies

6. Windows & DOS: Issues & Discussions

dos/intel unix command equivalent

In Unix I can use command line to do a find for files older than so many days and remove them. I can also capture the date to see if its a saturday and do something different. Are there any dos/intel command line equivalent commands to do this on a windows 2003 server? This is from an... (6 Replies)
Discussion started by: MizzGail
6 Replies

7. SCO

cannot put SCO 5.0.6 in single user mode

hi I have SCO 5.0.6 and if I type Ctrl-D, the system will NOT enter single user mode, it goes into multi-user mode. If I use the init 1 command, I get right back into the cycle ... an I'm at the Ctrl-D prompt again. (2 Replies)
Discussion started by: ccc
2 Replies

8. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

9. SCO

SCO Unix 5.0.6 SATA in compatibility mode

I am very new to SCO Unix so I apologize if this is a easy or dumb question. I have a 160GB SATA hard drive and SATA CD-ROM drive connected to one of my systems. I have both the drives running in compatibility mode. I also have the hard drive set as a primary master and the CD-ROM drive set as... (10 Replies)
Discussion started by: NPIGuy
10 Replies

10. Windows & DOS: Issues & Discussions

DOS Equivalent of UNIX Command

Hi, The title of this post is a little vague but I couldn't think of what to call it. In Unix you can perform the following command ftp -v IPADDRESS <<END put FILE END In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does? So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
gettydefs(4)						     Kernel Interfaces Manual						      gettydefs(4)

NAME
gettydefs - Terminal attributes SYNOPSIS
/etc/gettydefs DESCRIPTION
The gettydefs file supplies the getty command with information about various terminal attributes, such as the default initialization and the login message. The gettydefs file contains single line entries that are separated by blank lines. Each entry contains five fields; each field is separated by a number sign (#). You can indicate comments in the file by putting a number sign (#) at the beginning of a line. When the getty command is invoked, it scans the gettydefs file for the first entry with a matching identifier field (see below). If the gettydefs file cannot be opened, internal default settings are used. If a match is found, then the matching entry is parsed, and the ter- minal attributes are set based on the fields specified in the entry. If a match is not found, the first gettydefs file entry is used; therefore the first entry in gettydefs must be the default entry. The maximum length of each entry is 255 characters. The format of each entry is as follows: Identifier#Iflag#Fflag#Message#Next Identifier Identifies an entry. The getty command uses an identifier as an argument and searches for the first entry with a matching identifier field. The identifier must be unique. Specifies the initial terminal flags that the getty command uses to set the terminal attributes after a line has been successfully opened. There are four categories for the terminal attributes. The input flags control the basic input attributes. The output flags control how the terminal system processes output. The control flags describe how the hardware controls the terminal. The local flags control various terminal functions. Refer to termios(4) for the description of the possible settings on a ter- minal port. You can specify the symbol SANE to select default settings. The default settings set the input flags to BRKINT, IGNPAR, ICRNL and IXON; the output flags to OPOST and ONLCR; the control flags to CS8, and CREAD; and the local flags to ISIG, ICANON, IEXTEN, ECHO, ECHOK. Specifies the final terminal flags used by the getty command. These flags are set after the getty command receives a valid login name from the standard input. The output flags and the control flags are set to the terminal attributes specified in Fflag. The input flags and local flags are appended to the initial flags specified in the Iflag field. Specifies the login message. The login message can include the character sequence %h to obtain the host name and %t to obtain the terminal name. This field is limited to 79 characters. Specifies that if the speed specified in the current entry was incorrect, the entry corresponding to this field should be used. The getty command obtains the new entry from this field, and the scan process is repeated. EXAMPLES
The following is an example of an entry in the gettydefs file containing settings for an 8 bit, no parity, 9600 baud, locally connected terminal line: 9600# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #login: #9600 The following is an example of an entry in the gettydefs file containing settings for a 8 bit, no parity, 2400 baud, dial in modem line: M2400# B2400 HUPCL CS8 # B2400 SANE IXANY TAB3 HUPCL #login: #M1200 FILES
Specifies the command that initializes and controls terminal lines. RELATED INFORMATION
Commands: getty(8) Functions: kill(2) delim off gettydefs(4)
All times are GMT -4. The time now is 01:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy