05-02-2008
netout: write returned 0?
I believe this it telling you...that you are transferring and zero byte file...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:( :confused: what is performed by the following unix command:
grep -v Jane project1.txt
and
grep ' 5\..' janet.txt (1 Reply)
Discussion started by: Tendernisin
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
Could be stupid, but I can figure out... I have a script that downloads a file from a http server ( virus definitions file ). The thing is that when I run it from the console (bash) works fine, but when I put it in the root's cron it doesn't, and it generates a core file.
example:
... (8 Replies)
Discussion started by: piltrafa
8 Replies
3. Shell Programming and Scripting
Hi,
I have trouble with quotations of the M4 preprocessor.
I want to write a basic makro that removes all spaces and newlines at the end and at the beginning of a string.
I tried this:
define(`TRIM_END', `patsubst(`$1', `\(\\n\| \)*$', `')')
define(`TRIM', `patsubst(`TRIM_END(`$1')',... (0 Replies)
Discussion started by: hindman
0 Replies
4. Shell Programming and Scripting
oK, i know for sure that code = Y and var = N but no matter what this always prints ignore, never valid???????
if test "$code"="$var" ... (2 Replies)
Discussion started by: mich_elle00
2 Replies
5. UNIX for Advanced & Expert Users
So here is the story i have hired an outside company to filter spam i have since changed the mx record on my server and i have locked down the firewall. Spam has stopped totally which is great however my mx record seem to be propagating back and forth between my old and my new one day it will be... (2 Replies)
Discussion started by: nbredthauer
2 Replies
6. What is on Your Mind?
well, Wine is simply amazing.. I love it.
the filesystems are great too -- never having to defragment, and not slowing down in time.
I love the power of BASH.
iptables..
but.. I had a vision. a crazy dream.
what if, we could develop an installation system for Linux.. working pretty much... (3 Replies)
Discussion started by: ialoq
3 Replies
7. Shell Programming and Scripting
Two things : On the first place i am really desperate, on the second i am about to throw my laptop away to the recycle bin in a while.
Ok now that i expressed my feeling let me describe you this mad situation.
Code:
print $1;
("finger -m " $1 "| head -1") | getline userinfo
print... (6 Replies)
Discussion started by: beatblaster666
6 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a script called DOTS that will display the horizontal or vertical number of dots if the first argument... (3 Replies)
Discussion started by: pchelpmtl
3 Replies
9. What is on Your Mind?
Please excuse my indulgence.
Thank you MG Siegler and Steve Jurvetson. But most importantly, thank you Steve Jobs.
8rwsuXHA7RA
The world has lost a genius. (1 Reply)
Discussion started by: Scott
1 Replies
10. Shell Programming and Scripting
Hello All,
was looking at a script wrote by someone and when I try and run it in ksh it gives me an error. Could ksh version be a problem or is there something wrong that I'm missing, when I run it from the command line it works. Thanks!
results=`sudo -u admin ssh... (1 Reply)
Discussion started by: akechnie
1 Replies
DR(4) Kernel Interfaces Manual DR(4)
NAME
dr - DR11-W general purpose interface driver
SYNOPSIS
/sys/conf/SYSTEM:
NDR dr11-w_units # DR11-W
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
dr ? 172410 124 5 drintr # dr11-w (b-bus emulator)
dr ? 172430 130 5 drintr # dr11-w (gc-bus emulator)
dr ? 172450 134 5 drintr # dr11-w (em-2 interface)
major device number(s):
raw: 12
minor device encoding:
bits 0007 specify DR unit
DESCRIPTION
The Digital Equipment 1981-82 Peripherals Handbook states the following about the DR11-W:
The The DR11-W is a general purpose, direct memory access (DMA) interface to the PDP-11 UNIBUS or VAX UNIBUS. The DR11-W moves data
directly between memory and the UNIBUS to and from the user's peripheral.
It features:
o Word or byte transfers.
o Programmed or direct memory access (DMA) block transfers.
o Burst data transfers.
o User-controlled transfer rates up to memory speed.
The DR11-W is a 53-line direct memory access (DMA) interface to the PDP-11 UNIBUS or VAX UBA, which allows the user to control data
transfers between the host processor and a peripheral. The DR11-W has 32 data lines (for transferring 16-bit parallel data) and 21
control lines (for transferring control and status information.
When used as an interprocessor buffer (IPB), the DR11-W allows data transfers between two processors. Interprocessor communication
is accomplished by attaching one DR11-W to each processor UNIBUS or UBA and then cabling the two DR11-Ws together.
There. Now you know as much about it as I do.
A number of ioctl(2) calls apply to the dr devices, and have the form
#include <pdpuba/drreg.h>
ioctl(fildes, code, arg)
int *arg;
The applicable codes are:
DRGTTY Get DR11-W status.
DRSTTY Set flags and function.
DRSFUN Set function.
DRSFLAG Set flags.
DRGCSR Get CSR and WCR.
DRSSIG Set signal for ATTN interrupt.
DRESET Reset DR11-W interface.
DRSTIME Set timeout.
DRCTIME Set timeout inactive.
DROUTPUT Put word in output data register.
DRINPUT Get word from input data register.
DRITIME Don't ignore errors on timeout.
FILES
/dev/dr[0-7] device special files
/dev/MAKEDEV script to create special files
/dev/MAKEDEV.local script to localize special files
SEE ALSO
dtab(5), autoconfig(8)
DIAGNOSTICS
dr%d: error csr=%b, eir=%b
dr%d: timeout error
BUGS
This interface is only available under 2.9BSD and 2.11BSD. No documentation exists on how to use it.
3rd Berkeley Distribution January 27, 1996 DR(4)