8 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
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
4. 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
5. 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
6. 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
7. 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
8. Shell Programming and Scripting
Hi ,
I am using C-Kermit for automating FTP of files from my local Solaris Box to remote Solaris Box.I am able to send the files successfully. And i can also log the whole transaction into a log file.But i want a list of files ( redirected to some other file ) that went successfully and list of... (0 Replies)
Discussion started by: sveera
0 Replies
UPSCLI_LIST_NEXT(3) NUT Manual UPSCLI_LIST_NEXT(3)
NAME
upscli_list_next - retrieve list items from a UPS
SYNOPSIS
#include <upsclient.h>
int upscli_list_next(UPSCONN_t *ups, int numq, const char **query,
int *numa, char ***answer)
DESCRIPTION
The upscli_list_next() function takes the pointer ups to a UPSCONN_t state structure, and the pointer query to an array of numq query
elements. It performs a read from the network and expects to find either another list item or the end of a list.
You must call upscli_list_start(3) before calling this function.
This function will return 1 and set values in numa and answer if a list item is received. If the list is done, it will return 0, and the
values in numa and answer are undefined.
Calling this function after it returns something other than 1 is undefined.
QUERY FORMATTING
You may not change the values of numq or query between the call to upscli_list_start(3) and the first call to this function. You also may
not change the values between calls to this function.
ANSWER FORMATTING
The contents of numa and answer work just like a call to upscli_get(3). The values returned by upsd(8) are identical to a single item
request, so this is not surprising.
ERROR CHECKING
This function checks the response from upsd(8) against your query. If the response is not part of the list you have requested, it will
return an error code.
When this happens, upscli_upserror(3) will return UPSCLI_ERR_PROTOCOL.
RETURN VALUE
The upscli_list_next() function returns 1 when list data is present, 0 if the list is finished, or -1 if an error occurs.
It is possible to have an empty list. The function will return 0 for its first call in that case.
SEE ALSO
upscli_list_start(3), upscli_strerror(3), upscli_upserror(3)
Network UPS Tools 05/22/2012 UPSCLI_LIST_NEXT(3)