05-22-2014
I had forgotten about cu. That would be an excellent choice.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello. i'm attempting to use minicom in linux, but i'm having some difficulties. When i type in "minicom", the application opens up. It says 'starting minicom/finding modem'(something like that). However, once it actually starts, I can't do anything. No matter what I type in, it doesn't work. ... (2 Replies)
Discussion started by: kickboxer
2 Replies
2. UNIX for Dummies Questions & Answers
Does anyone have a working minicom script they would care to post as I can't get the scripting working and the scriptdemo and unixlogin sample scripts are on my system either.
Thanx,
I (2 Replies)
Discussion started by: ianf
2 Replies
3. Linux
I am testing for serial comm..........
I got suggestion of minicom....
but when i fire minicom...
then i get the following error...
minicom
minicom: WARNING: configuration file not found, using defaults
Device /dev/modem access failed: No such file or directory.
I am using fedora 6 ,... (3 Replies)
Discussion started by: arunchaudhary19
3 Replies
4. Red Hat
Hello!
I have an ESX Server up and running. Now I want to connect a serial device to the COM Port. For that I need the minicom program.
When I try "configure - make - make all" I get some errors. Can someone please explain to me, what the problems are:
# ./configure
checking for a... (3 Replies)
Discussion started by: Kickbit
3 Replies
5. Shell Programming and Scripting
Hi,
I am new to use minicom. I want script to run on minicom with username and password as automated.(Expect). please could anyone suggest the sample code for it.
Thanks in advance (2 Replies)
Discussion started by: vanid
2 Replies
6. Shell Programming and Scripting
Hi,
I am new to using minicom. I want how to write a expect script for minicom login? I wrote a code but its not acting what iam expecting. here I have my code:
#!/usr/bin/expect
set fd
fconfigure $fd
spawn -open $fd
spawn minicom
expect “enter:”
send "\n"
send "\n"
... (3 Replies)
Discussion started by: vanid
3 Replies
7. Shell Programming and Scripting
Hi all,
I have some trouble getting stty to talk to some serial/usb converter.
Getting minicom to work was however quite simple after I entered the following settings in addition to its standard-setup:
pu port /dev/ttyUSB0
pu baudrate 19200
pu bits 8
pu... (3 Replies)
Discussion started by: pa-trick
3 Replies
8. Shell Programming and Scripting
This is what I've tried:
#!/bin/sh
send sh
send showifs
send exit
! killall minicom
My problem is that for some reason when I do this it doesn't give me the results of the prior commands sent like showifs
So I suspect my syntax is wrong. (1 Reply)
Discussion started by: uradunce
1 Replies
9. Shell Programming and Scripting
Hi all,
i must do a little script that send AT command at ttyUSB3..
for example:
Start Minicom:
Set serial port ttyUSB3
AT+CREG?
if response != OK then do something
...other AT command (open a socket tcp/ip with at comman)
Send a file .txt for example.
exit minicom.
I saw on the... (49 Replies)
Discussion started by: enaud
49 Replies
10. Shell Programming and Scripting
I'm a fairly new user to Linux based systems and am still a little uncomfortable with using the command interface. I'm trying to get my feet wet but have unfortunately hit a wall and am actually not even sure what I am trying to accomplish is at all possible.
Basically, I am trying to use a... (0 Replies)
Discussion started by: nrdk00
0 Replies
LEARN ABOUT NETBSD
form_fieldtype
FORMS(3) BSD Library Functions Manual FORMS(3)
NAME
free_fieldtype, link_fieldtype, new_fieldtype, set_fieldtype_arg, set_fieldtype_choice -- form library
LIBRARY
Curses Form Library (libform, -lform)
SYNOPSIS
#include <form.h>
int
free_fieldtype(FIELDTYPE *fieldtype);
FIELDTYPE *
link_fieldtype(FIELDTYPE *type1, FIELDTYPE *type2);
FIELDTYPE *
new_fieldtype(int (*field_check)(FIELD *, char *), int (*char_check)(int, char *));
int
set_fieldtype_arg(FIELDTYPE *fieldtype, char * (*make_args)(va_list *), char * (*copy_args)(char *), void (*free_args)(char *));
int
set_fieldtype_choice(FIELDTYPE *fieldtype, int (*next_choice)(FIELD *, char *), int (*prev_choice)(FIELD *, char *));
DESCRIPTION
The function free_fieldtype() frees the storage associated with the field type and destroys it. The function link_fieldtype() links together
the two given field types to produce a new field type. A new field type can be created by calling new_fieldtype() which requires pointers to
two functions which perform validation, the field_check function must validate the field contents and return TRUE if they are acceptable and
FALSE if they are not. The char_check validates the character input into the field, this function will be called for each character entered,
if the character can be entered into the field then char_check must return TRUE. Neither field_check nor char_check may be NULL. The func-
tions for handling the field type arguments can be defined by using the set_fieldtype_arg() function, the make_args function is used to cre-
ate new arguments for the fieldtype, the copy_args is used to copy the fieldtype arguments to a new arguments structure and free_args is used
to destroy the fieldtype arguments and release any associated storage, none of these function pointers may be NULL. The field type choice
functions can be set by calling set_fieldtype_choice(), the next_choice and prev_choice specify the next and previous choice functions for
the field type. These functions must perform the necessary actions to select the next or previous choice for the field, updating the field
buffer if necessary. The choice functions must return TRUE if the function succeeded and FALSE otherwise.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
error values:
E_OK The function was successful.
E_BAD_ARGUMENT The function was passed a bad argument.
E_CONNECTED The field is connected to a form.
SEE ALSO
curses(3), forms(3)
NOTES
The header <form.h> automatically includes both <curses.h> and <eti.h>.
BSD
January 1, 2001 BSD