10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I've followed several bash-completion threads, usualy none were answered, because of obvious reasons. (of which i'm just aware since a day or a few)
Non-the-less, because i was writing scripts, i never considered it to be possible to add this functionality.
Also, because i though that... (0 Replies)
Discussion started by: sea
0 Replies
2. Shell Programming and Scripting
Hi,
A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file.
I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming?
Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies
3. Shell Programming and Scripting
Hi,
I am using inotifywait to monitor a directory where files are being transferred into.
I want inotifywait to tell me when a file has been completely transferred not just part of it.
I tried "create", "close" and "close_write" but it seems that inotifywait always gets triggered even if the... (4 Replies)
Discussion started by: jejeking
4 Replies
4. Shell Programming and Scripting
Hi there
is there a way i can add to my .zshrc so that when i type rsh <tab> it takes the name for a list of hosts
i know it looks in .ssh/know_hosts but i want it for rsh and for a list that i supply
thanks
A (4 Replies)
Discussion started by: ab52
4 Replies
5. UNIX for Dummies Questions & Answers
I have my unix machine configured to run locate.updatedb on login in the background and after it completes, when I run a command such as ls-- the console returns the results of ls and
+ Done sudo /usr/libexec/locate.updatedbIs there... (3 Replies)
Discussion started by: Prodiga1
3 Replies
6. Shell Programming and Scripting
hello,
I have been trying for a couple days to figure this out to no avail. I am converting some csh code to bash. I have converted everything except the completion code.
#bashrc (I set this alias in my bashrc)
alias test='source ${PATH}/test.sh'
#${PATH}/test.sh (returns some aliases and... (0 Replies)
Discussion started by: platypuus
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am trying to get some information on the jobs that are running. I have used the "ps" command, to get information such as 'cpu usage', 'username', 'pid', etc.,
I've also used the "bjobs" command to get information such as 'submit time' and 'start time'. The only thing I need now is to... (3 Replies)
Discussion started by: davidfrank
3 Replies
8. Shell Programming and Scripting
Hi,
I would like to copy a file from one location to another. But that particular file is not fully loaded. I like to copy a file once it's fully loaded or complete file. How to ensure whether file is fully loaded or complete file?.
-Thambi (5 Replies)
Discussion started by: thambi
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is there a way to turn on tab completetion on Solaris 10? (2 Replies)
Discussion started by: annointed3
2 Replies
10. Shell Programming and Scripting
I'ld like to enable file name completion in ksh88 on AIX 5.2. My terminal is set to xterm. I've set the shell editor to emacs and ampped the arrow keys. Is there a way to map the tab key to a command like ESC= or any other file name completion command in emacvs that I may be not aware of since I'm... (1 Reply)
Discussion started by: rein
1 Replies
transfer::transmitter(n) Data transfer facilities transfer::transmitter(n)
__________________________________________________________________________________________________________________________________________________
NAME
transfer::transmitter - Data source
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::copy ?0.1?
package require transfer::data::source ?0.1?
package require transfer::connect ?0.1?
package require transfer::transmitter ?0.1?
transfer::transmitter object ?options...?
object destroy
object start
object busy
_________________________________________________________________
DESCRIPTION
This package pulls data sources and connection setup together into a combined object for the transmission of information over a socket.
These objects understand all the options from objects created by the packages transfer::data::source and transfer::connect.
API
transfer::transmitter object ?options...?
This command creates and configures a new transmitter object. The fully qualified name of the object command is returned as the
result of the command.
See the packages transfer::data::source and transfer::connect for the main options recognized. Here we describe only the options
which go beyond the referenced set.
-command cmdprefix
This option specifies the command to invoke when the transmission of the information in the data source has been completed.
The arguments given to this command are the same as given to the completion callback of command transfer::copy::do, see pack-
age transfer::copy.
-blocksize int
This option specifies the size of the chunk to be transmitted in one block. It is optional and defaults to 1024.
object destroy
This method destroys the object. Doing so while a transmission is on progress will cause errors later on, when the transmission com-
pletes and tries to access the now missing data structures of the destroyed object.
object start
This method initiates the data transmission, setting up the connection first and then copying the information. The method will
throw an error if a transmission is already/still in progress. I.e. it is not possible to run two transmissions in parallel, only in
sequence. Errors will also be thrown if the configuration of the data source is invalid, or if no completion callback was specified.
The result returned by the method the same as the result of method connect, see package transfer::connect.
object busy
This method returns a boolean value telling us whether a transmission is in progress (True), or not (False).
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category transfer
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
channel, copy, data source, transfer, transmitter
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::transmitter(n)