LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2007, 08:54 PM   #1
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Any Kermit programmers?


I am trying to use Kermit on a Debian Woody install to automate some tasks on a terminal connection.

Generally it is going okay, but...

What command should I be looking at to capture screen data?
The logging functions capture lots of extra escape commands.
The DOS version has screen capture commands not available on the version I have that are somewhat documented.
Should I be looking at Kermit or Bash commands?

TIA for any advice.
 
Old 11-05-2007, 02:34 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It all depends on your interests and your needs. If you need to script serial communications under Linux, then Kermit is probably a very good choice (one of several good choices). If you need cross-platform scripted serial communications (for example, DOS and Linux), then kermit becomes even more attractive.

In any case, please look here:
http://www.columbia.edu/kermit/ck80.html
 
Old 11-05-2007, 05:28 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
For capturing, consider a terminal emulator, such as KDE konsole, or GNU screen (technically not a terminal emulator, but can log screen data).
--- rod.
 
Old 12-11-2007, 10:10 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Original Poster
Rep: Reputation: 103Reputation: 103
As a follow up in progress:
I have found that (using the kermit run command in a script) I can capture screen data from a tty with "cat /dev/vcsX". Of course this fails with my ttyS*. I can format the data with newlines and trim it but don't know how to make it work on the serial connections.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question for programmers/occasional programmers Robert Diggs Programming 9 12-23-2006 07:55 PM
About the kermit ust AIX 4 05-13-2005 03:14 AM
killustrator = kermit? dr_zayus69 Linux - Software 1 11-08-2004 02:38 AM
C-kermit 8.0 install j-me Linux - Software 0 06-18-2003 08:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration