10 More Discussions You Might Find Interesting
1. Ubuntu
we designed a primitive operating system for learning basics fundamentals and we created process switching, interrupt/polled IO for device drivers like UART and printers. We accomplish this by using our own tools called SPEDE (for downloading compiled elf image from host ubuntu system that have... (0 Replies)
Discussion started by: bicepjai
0 Replies
2. Solaris
Has anyone managed to install C-Kermit successfully on SunOS 5.10?
SunOS 5.10 Generic_141444-09 sun4v sparc SUNW,T5240
I installed with "make solaris9g64", the only make that worked. If I'm not mistaken, isn't there a test to see if ssl is available? Something like
C-Kermit>define... (0 Replies)
Discussion started by: MichaelInDC
0 Replies
3. Shell Programming and Scripting
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies
4. Shell Programming and Scripting
I have a small problem with kermit and after some days searching I don't find the solution. I have a FTP server with a local directory (ldirectory). If files appear in this directory they have to be send to another server, and deleted afterwards. The script don't take files with *.tmp extension.... (0 Replies)
Discussion started by: Zen11
0 Replies
5. Shell Programming and Scripting
We're using Kermit 8.0.209 in Linux environment. We're trying to invoke kermit from an application, send some AT commands and receive the responses from the End terminals like mobiles/modems. We access these deivces through serial ports.
For eg., to send a file we use command-line options like... (4 Replies)
Discussion started by: pratiul
4 Replies
6. UNIX for Dummies Questions & Answers
Firstly, I would like to apologise at what I have no doubt is a very easy query. However, I have been roaming around the c-Kermit homepage for sometime now and I have yet to find an answer to my problem. I am trying to write short script that will automatically retrieve a file. To do this I am... (0 Replies)
Discussion started by: AvalonHaze
0 Replies
7. Shell Programming and Scripting
Hi,
How can I read the second line in kermit?
fread reads line in kermit.
Thank you (1 Reply)
Discussion started by: kayarsenal
1 Replies
8. IP Networking
hi all,
Using kermit, i made serial dialup connetion between two PCs through telephone line and transfered files trough this line. The code appears as like this,
set modem type generic #Setting the modem type.
set modem data-compression on #Data compression on to speed up transfer.... (0 Replies)
Discussion started by: pcsaji
0 Replies
9. Shell Programming and Scripting
can someone pls help me with the script for a files coming from one system to a particular directory and i want to write a script to move those files to another directory on different system by renaming the files...
pls someone help me on this...
thanking in anticipation.... (1 Reply)
Discussion started by: thatiprashant
1 Replies
10. UNIX for Dummies Questions & Answers
I have a kermit file for HP unix , it work fine to download files , if I want to use it at AIX server , could I just copy it to AIX server ? if not , could suggest where can download it for AIX server ? and is it free ?
am wonder whether kermit is a free package , I hv google it , but not find ,... (6 Replies)
Discussion started by: ust
6 Replies
Mail::Box::Locker::NFS(3pm) User Contributed Perl Documentation Mail::Box::Locker::NFS(3pm)
NAME
Mail::Box::Locker::NFS - lock a folder with a separate file, NFS-safe
INHERITANCE
Mail::Box::Locker::NFS
is a Mail::Box::Locker
is a Mail::Reporter
SYNOPSIS
See Mail::Box::Locker
DESCRIPTION
Like the "::DotLock" locker, but then in an NFS-safe fashion. Over NFS, the creation of a file is not atomic. The "::DotLock" locker
depends on an atomic "open" system call, hence in not usable to lock a folder which accessed over NFS. The "::NFS" locker is therefore
more complicated (so therefore slower), but will work for NFS --and for local disks as well.
METHODS
Constructors
Mail::Box::Locker::NFS->new(OPTIONS)
-Option --Defined in --Default
expires Mail::Box::Locker 1 hour
file Mail::Box::Locker undef
folder Mail::Box::Locker <undef>
log Mail::Reporter 'WARNINGS'
method Mail::Box::Locker 'NFS'
timeout Mail::Box::Locker 10 seconds
trace Mail::Reporter 'WARNINGS'
expires => SECONDS
file => FILENAME
folder => FOLDER
log => LEVEL
method => STRING|CLASS|ARRAY
timeout => SECONDS|'NOTIMEOUT'
trace => LEVEL
The Locker
$obj->filename([FILENAME])
See "The Locker" in Mail::Box::Locker
$obj->folder([FOLDER])
See "The Locker" in Mail::Box::Locker
$obj->name()
See "The Locker" in Mail::Box::Locker
Locking
$obj->hasLock()
See "Locking" in Mail::Box::Locker
$obj->isLocked()
See "Locking" in Mail::Box::Locker
$obj->lock()
$obj->unlock()
See "Locking" in Mail::Box::Locker
Error handling
$obj->AUTOLOAD()
See "Error handling" in Mail::Reporter
$obj->addReport(OBJECT)
See "Error handling" in Mail::Reporter
$obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
Mail::Box::Locker::NFS->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
See "Error handling" in Mail::Reporter
$obj->errors()
See "Error handling" in Mail::Reporter
$obj->log([LEVEL [,STRINGS]])
Mail::Box::Locker::NFS->log([LEVEL [,STRINGS]])
See "Error handling" in Mail::Reporter
$obj->logPriority(LEVEL)
Mail::Box::Locker::NFS->logPriority(LEVEL)
See "Error handling" in Mail::Reporter
$obj->logSettings()
See "Error handling" in Mail::Reporter
$obj->notImplemented()
See "Error handling" in Mail::Reporter
$obj->report([LEVEL])
See "Error handling" in Mail::Reporter
$obj->reportAll([LEVEL])
See "Error handling" in Mail::Reporter
$obj->trace([LEVEL])
See "Error handling" in Mail::Reporter
$obj->warnings()
See "Error handling" in Mail::Reporter
Cleanup
$obj->DESTROY()
See "Cleanup" in Mail::Box::Locker
$obj->inGlobalDestruction()
See "Cleanup" in Mail::Reporter
DIAGNOSTICS
Warning: Folder $folder already locked over nfs
Do not try to lock the folder when the application already has the lock: it will give you dead-locks.
Error: Package $package does not implement $method.
Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that
some other related classes do implement this method however the class at hand does not. Probably you should investigate this and
probably inform the author of the package.
Warning: Removed expired lockfile $filename.
A lock file was found which was older than the expiration period as specified with new(timeout). The lock file was successfully
removed.
Error: Unable to remove expired lockfile $lockfile: $!
A lock file was found which was older than the expiration period as specified with the new(timeout) option. It is impossible to remove
that lock file, so we need to wait until it vanishes by some external cause.
SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/
LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.14.2 2012-05-07 Mail::Box::Locker::NFS(3pm)