8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to unix. how to get only the no. of lines output from the wc -l command.
Input:
wc -l filename
it gives
<no.of lines> filename
i need only the interger value.
as
<no.of lines>
Thanks in advance (2 Replies)
Discussion started by: sanvel
2 Replies
2. OS X (Apple)
Hello,
I installed gftp using darwinports on Snow Leopard. Install appeared to go fine with no errors. When trying to launch gftp by starting X11, then typing /opt/local/bin/gftp in the terminal, nothing happens until about 30 minutes later when only a partial window appears.
I get the... (0 Replies)
Discussion started by: Allasso
0 Replies
3. Shell Programming and Scripting
Greetings,
I have a script that uses this syntax:
for i in `ls *.pll`
do
echo Compiling Lib $i .....
frmcmp.sh userid=$LOGON module_type=LIBRARY module=$i compile_all=yes batch=yes
done
mv *.pll ../libs
mv *.plx ../libs
mv *.err ../libs
If there are no files that match though I... (9 Replies)
Discussion started by: mjdbhouse
9 Replies
4. UNIX for Dummies Questions & Answers
Is there any way to use sed and count the number of alphabetic characters in a sentence? (4 Replies)
Discussion started by: brentdeback
4 Replies
5. Programming
Ok i am looking to start coding for an online text game, The game is called Ansalon for those who are interested *The original, not to be confused with the newer Ansalon* And i was wondering if anyone could point me in the right direction of where i can go to start looking at information for that.... (3 Replies)
Discussion started by: Corrail
3 Replies
6. UNIX for Dummies Questions & Answers
what happens if the script doesn't get Y,y,N, or n? Will it just loop back up and ask the question again? I tried to get mine to give me another response to tell me my input was invalid, but ran into problems with it. (8 Replies)
Discussion started by: wmosley2
8 Replies
7. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies
8. UNIX for Dummies Questions & Answers
Hay everyone, i would like to take this opportunity to thank all of you who helped me make the decision to get a linux distro. As a newbie, Im defininately considering buying Mandrake Linux... I went to the site and phew..... 2300 applications, i think ill have a good time. But i do have a... (5 Replies)
Discussion started by: LolapaloL
5 Replies
dc(4) Kernel Interfaces Manual dc(4)
Name
dc - serial line/mouse/keyboard
Syntax
device dc0 at ibus? vector dcintr
Description
The serial line controller provides four ports, with modem control on two of the ports. The DECstation 3100 and DECstation 2100 only pro-
vide partial modem control. The DECstation 5000 provides full modem control. The ports are used as follows:
Port Usage
0 Graphics device keyboard at 4800 BPS
1 Mouse or tablet at 4800 BPS
2 Communications port 1 (w/modem control)/local terminal
3 Communications port 2 (w/modem control)/local terminal
Each communication port from the serial line controller behaves as described in and can be set to run at any of 16 speeds. For the encod-
ing, see
When a graphics device is not being used as the system console, communications port 2 becomes the system console. In this configuration,
the port can only be used at 9600 BPS and no modem control is supported.
The serial line driver operates in interrupt-per-character mode (all pending characters are flushed from the silo on each interrupt).
Restrictions
Speed must be set to 9600 BPS on the console port and 4800 BPS on ports used by graphics devices. The serial line driver enforces this
restriction; that is, changing speeds with the command may not always work on these ports.
Files
console terminal
local terminal
local terminal
See Also
console(4), devio(4), tty(4), ttys(5), MAKEDEV(8)
RISC dc(4)