08-13-2009
Two things:
- You probably have to set the baud rate and such first. It's not going to magically guess. See 'man stty'.
- Open and close the file only when you want to open and close the modem. It may be sending hangup signals every time you close the file.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi.
I'm New user for this Forum.Presently i'm working with Cygwin
I want to know the basic commands that will be used for Cygwin.
Can anyone guide me on this regards
Thanks & Regards
Sanjay (0 Replies)
Discussion started by: sanjay.karthik
0 Replies
2. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
3. UNIX for Dummies Questions & Answers
I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies
4. Programming
hello ... i am new with cygwin ... and i want you to help me. ...
First of all, i want to determine the steady state stream function in a 2-D duct using a square mesh by using the finite-difference methodology and i want to simulate it....and i read a lot of information at... (1 Reply)
Discussion started by: mostafamagdy
1 Replies
5. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
6. UNIX for Dummies Questions & Answers
hi....
i want to set an alias to "ls -lart" permanently. i am using cygwin and in that .bashrc and .bash_profile files are readonly.
so please tell me how i can do that?
thanks (1 Reply)
Discussion started by: Usha Shastri
1 Replies
7. AIX
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies
8. Shell Programming and Scripting
I'm using cygwin on win7, What I would like to do is something like this:
cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e
I know I can start a new instance using either of these:
mintty -e ...
cygstart tail ...
But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies
9. Shell Programming and Scripting
Do clear command do not work in cygwin.. (4 Replies)
Discussion started by: parthmittal2007
4 Replies
10. Shell Programming and Scripting
I have cygwin installed on windows server and when I do
echo $SHELL the output is
/bin/bash
I have created a ssh tunnel from this windows server through cygwin to ibm -i series which is running Q-shell.
I am trying to invoke a utility wsadmin (used for scripting) on ibm-i from the... (12 Replies)
Discussion started by: gaurav99
12 Replies
DHV(4) Kernel Interfaces Manual DHV(4)
NAME
dhv - DHV-11 communications multiplexer
SYNOPSIS
/sys/conf/SYSTEM:
NDHV dhv_units # DHV11
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
dhv ? 160440 310 5 dhvrint dhvxint # dhv terminal mux
major device number(s):
raw: 24
minor device encoding:
bits 0007 specify line on DHV unit
bits 0070 specify DHV unit
bit 0100 specifies RTS/CTS (``hardware'') flowcontrol
bit 0200 specifies non-blocking open (``CD always on'')
DESCRIPTION
A DHV-11 provides 8 communication lines.
Each line attached to the DHV-11 communications multiplexer behaves as described in tty(4). Input and output for each line may indepen-
dently be set to run at any of 13 speeds (50 and 200 baud are not available). While 38400 is available the underlying hardware is not fast
enough to handle it and there will be pauses/gaps between characters.
Bit 0200 of the minor device number for DHV lines may be set to say that a line is not properly connected, and that the line should be
treated as hard-wired with carrier always present. Thus creating the special character device node "4, 130" via mknod /dev/ttyS2 c 4 130
would cause line ttyS2 to be treated in this way. Turning on bit 6 in the minor device number via mknod /dev/ttyS2 c 4 194 would enable
RTS/CTS flow control.
The DHV-11 has an input silo but does not have the programmable receiver delay that the DHU (and DHQ) have. Thus system services more
interrupts (i.e. gets fewer characters per interrupt on average) with a DHV-11 than with a DHQ (in DHU mode).
FILES
/dev/tty[S-Z][0-9a-f]
SEE ALSO
tty(4)
DIAGNOSTICS
dhv%d,%d NXM. No response from QBUS on a DMA transfer within a timeout period. This error has never been observed on a PDP-11 and is a
carryover from the VAX driver when that was ported to 2BSD.
dhv%d diag %o. Diagnostic information from the DHV11. This has never been observed. The DHV-11 hardware manual will be required to
decode the value printed out.
dhv%d: %d overruns. The character input silo overflowed before it could be serviced. This message is printed only when the line is
closed. By only printing this when the line is closed further silo overruns are avoided (kernel printf statements are not interrupt
driven).
NOTES
The DHV lacks the receiver delay that the DHU (and DHQ) have. Thus it is extremely easy (indeed it's almost certain at higher data rates)
for a DHV-11 to enter an interrupt per character mode and use 70-80% of the cpu.
3rd Berkeley Distribution May 31, 1997 DHV(4)