Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

scc(3) [plan9 man page]

SCC(3)							     Library Functions Manual							    SCC(3)

NAME
scc, duart, uart - serial communication control SYNOPSIS
bind -a #t /dev /dev/eia0 /dev/eia0ctl /dev/eia1 /dev/eia1ctl DESCRIPTION
The serial line devices serve a one-level directory, giving access to the serial ports. There are several devices serving the same files; the particular one used depends on the machine involved. Eia0 is a stream data file. It can be read and written to use that port. Reads will block until at least one character is available. Eia0ctl is a stream control file associated with the port. Eia1 and eia1ctl are similar, but for a second serial line. The ctl file can be used to push stream modules onto the port. One can also write one of the following textual commands to a ctl file: bn Set the baud rate to n. dn Set DTR if n is non-zero; else clear it. kn Send a break lasting n milliseconds. rn Set RTS if n is non-zero; else clear it. mn Obey modem CTS signal if n is non-zero; else clear it. pc Set parity to odd if c is o, to even if c is e; else set no parity. sn Set number of stop bits to n. Legal values are 1 or 2. ln Set number of bits per byte to n. Legal values are 5, 6, 7, or 8. SOURCE
/sys/src/9/port/devscc.c /sys/src/9/*/devduart.c /sys/src/9/*/devuart.c SCC(3)

Check Out this Related Man Page

SCC(4)							   BSD Kernel Interfaces Manual 						    SCC(4)

NAME
scc -- Zilog 8530 Serial Communications Controller interface SYNOPSIS
scc* at ioasic? offset ? DESCRIPTION
The scc driver provides support for the Zilog 8530 Serial Communications Controller (SCC) via the IOASIC found on DECstation 5000 models in the /100, /20, and /240 series (supported by NetBSD/pmax). Each SCC device has two serial ports. The DECstation 5000 model 20 provides one SCC device. Other models provide two, but one port of each device is dedicated to mouse and keyboard input, respectively. Input and output for each line may set to one of following baud rates: 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, or 57600. Speeds up to 230400 are supported by the chip and the motherboard, but speeds higher than 57600 do not work reliably without an external clock signal. FILES
/dev/ttya /dev/ttyb /dev/ttyc /dev/ttyd The mapping from units to serial-hardware outlets is idiosyncratic. The even ports are wired serial connectors and the odd-numbered ports are reserved for mouse and keyboard. On machines with one port like Personal DECstations, the single device is ttya. On the 5000/1xx and 5000/2xx, the first serial port (default serial console) is ttyc and the second port is ttya. SEE ALSO
intro(4), ioasic(4), ttys(5), MAKEDEV(8) HISTORY
The scc driver first appeared in 4.4BSD. The scc driver was also used for the IOASIC SCC found in DEC Alpha model 3000 TurboCHANNEL based systems; NetBSD/alpha has since been con- verted to use the machine-independent zstty(4). BUGS
The IOASIC provides internal DMA channels that can be programmed to transfer up to 4096 bytes of data into, or out, of an SCC without further software intervention. This feature of the IOASIC is not yet supported. The mapping from device-special files (major and minor number) to chip and port is arguably backwards. ULTRIX tries to hide the hardware mapping, but NetBSD does not. Users wanting to use ULTRIX compatible tty names /dev/tty0 and /dev/tty1 for the scc comm-port lines should make links or device-special files which match their hardware setup. BSD
April 24, 2003 BSD
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with SCCS

I am having some problem while creating a new sccs file. During initial creation of the file the SCCS is not storing the file in actual format with the result that the SCCS file is different from my original file. Any way to avoid this?? Nitin (1 Reply)
Discussion started by: nitinmalik
1 Replies

2. UNIX for Dummies Questions & Answers

SCCS (Source Code)

Hello, I'm wondering if anyone out there have experience using the SCCS source code in Unix? If so, can you recommend a good (user friendly) SCCS book for beginner users. Thanks! (3 Replies)
Discussion started by: Mary
3 Replies

3. UNIX for Dummies Questions & Answers

Help With Sccs.

Hi , I am currently using Source Code Control System (SCCS) to keep track of my documents. There are several User that update the document. As we all know that after editing it prompts for the comment. But even if somebody just hits return it accepts it. I would like that after the... (1 Reply)
Discussion started by: rooh
1 Replies

4. UNIX for Dummies Questions & Answers

Help with SCCS

Hi All, I am just wondering if you could help me with this. Suppose I have a file in SCCS a particular user updates the files aand puts back in sccs . when doing so it proments the user to enter the comment. Basically what I'd expect is the user to enter the changes he or she has made ....... (3 Replies)
Discussion started by: rooh
3 Replies

5. Solaris

Sccs

Hi Can i know what are the default Source code control system used by hp-ux 9.x,10.x and Solaris9 Regards Charles C. (1 Reply)
Discussion started by: charlcy
1 Replies

6. UNIX for Advanced & Expert Users

rcs,sccs

I am not really sure whether i am posting this question in the right forum.....Can someone tell me why I should go for a rational Clearcase version controller when I can use the version controllers 'rcs' or 'sccs' available in UNIX. I want to know the advantage of Rational over these two. Also, I... (2 Replies)
Discussion started by: Abhishek Ghose
2 Replies

7. UNIX for Dummies Questions & Answers

How to make sccs work

I am trying to use SCCS for project development . Can any one list out the basic setup nneded to be done for SCCS . I mean if I create a SCCS directory what all files to create on this . i don't have a root password of the system and I am not going to get one . I saw few post on this forum... (1 Reply)
Discussion started by: akrathi
1 Replies

8. HP-UX

SCCS problem when copying files

I have created a SCCS directory with version 1.1. It has say A.txt (for simplicity) Now updated files are present in other directory. If I copy A.txt it wont be effected in SCCS. How do I make this A.text to be version 1.2?? Please help! (3 Replies)
Discussion started by: superprogrammer
3 Replies

9. Solaris

Scripting for SCCLI

Dear all, I need to write a small automated script: firstly that should run the command sccli when that is run the command prompt changes to sccli> Now we have to issue the following commands to it sccli>show disks sccli>show ld sccli> exit after that the script shoud end. ... (2 Replies)
Discussion started by: asadlone
2 Replies

10. Solaris

files asscciated with a particular process

if i am finding out that a process has a more cpu usage before killing the process what are the commands to find out the files which are used by the process. can anyone help this thanks (1 Reply)
Discussion started by: sureshlee_83
1 Replies

11. Solaris

From Where to get sccli

I installed Sol10 and I need sccli to connect to my storEdge array, please advice from where to get the package ? (5 Replies)
Discussion started by: QEMA
5 Replies

12. Shell Programming and Scripting

SCCS is messing up my date format strings

Does anybody know how to keep SCCS from changing the wrong module keywords? I'm thinking of a don't translate after this line kind of operation. I see where you can use get with a -k but then no keywords get translated. It's either all or none. I use simply # %A% # %G% %T% in all my... (1 Reply)
Discussion started by: Back-N-Black
1 Replies

13. Solaris

scconf crash: registering a Veritas local disk on Sun Cluster (localonly=true)

Hi all, I want to put a local disk on a Sun Cluster node but scconf command explodes :eek: My system: * two node cluster on two VMWare virtual machines * Solaris 10 SunOS 5.10 Generic_141415-05 i86pc i386 i86pc * Sun Cluster 3.2 u2 * Veritas Volume manager The situation... (2 Replies)
Discussion started by: gxmsgx
2 Replies

14. Shell Programming and Scripting

Read multiple text file in shell sccript

I need help. I need to read all current and incoming text file in the directory and change it's content to 0. The following code change the content of the text file to 0, however, the code always assumes that the files are ALREADY present. Is there any way where I can change the file1_.txt,... (3 Replies)
Discussion started by: jasperux
3 Replies

15. Shell Programming and Scripting

If statement failing with error "pc.sh[21]: [yscc02 =yscc02]: not found."

Dear all I wrote a shell script which runs perfect in OEL linux 5.2 but its failing in AIX 5.3 this scripts check if db is up then it wont proceed else proceed with rest steps. any help is appreciated. -------------------------------------------- ORACLE_BASE=/u01/app/oracle... (2 Replies)
Discussion started by: javeedkaleem
2 Replies