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::FcntlLock(3pm) User Contributed Perl Documentation Mail::Box::Locker::FcntlLock(3pm)
NAME
Mail::Box::Locker::FcntlLock - lock a folder using File::FcntlLock
INHERITANCE
Mail::Box::Locker::FcntlLock
is a Mail::Box::Locker
is a Mail::Reporter
SYNOPSIS
See Mail::Box::Locker
DESCRIPTION
This locker object is uses File::FcntlLock, and was contributed by Jim in Aus. It is close to Mail::Box::Locker::POSIX, but does work on
more systems, for instance Darwin.
You will need to install File::FcntlLock separately: there is no dependency to it by the MailBox distribution.
METHODS
Constructors
Mail::Box::Locker::FcntlLock->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 FcntlLock
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()
$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::FcntlLock->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::FcntlLock->log([LEVEL [,STRINGS]])
See "Error handling" in Mail::Reporter
$obj->logPriority(LEVEL)
Mail::Box::Locker::FcntlLock->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 lockf'd
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.
Error: Unable to check lock file $filename for $folder: $!
To check whether the filename is used to flock a folder, the file must be opened. Apparently this fails, which does not mean that the
folder is locked neither that it is unlocked.
Error: Unable to open FcntlLock lock file $filename for $folder: $!
For FcntlLock style locking, a folder it must be opened, which does not succeed for the specified reason.
Error: Will never get a FcntlLock lock at $filename for $folder: $!
Tried to lock the folder, but it did not succeed. The error code received from the OS indicates that it will not succeed ever, so we
do not need to try again.
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::FcntlLock(3pm)