LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-15-2012, 09:13 PM   #1
narke
Member
 
Registered: Apr 2010
Posts: 70

Rep: Reputation: 0
minicom interactions log


Hi,

After looking for so hard, I still haven't found a decent solution for logging in minicom. What I expected is something similar to logging mechanisms you can find in other Windows serial terminal programs such as "Tera Team", where everything you can see in the screen including inputs and outputs can be saved in a log file.

Seems minicom's log feature (via the 'F' option) did something else, I don't understand so much. And, I also tried to run minicom in a 'screen -L', but all the log I get is mixed with many strange control characters.

Do you guys have a solution already? I think this is a very common requirement.

Thanks in advance.
 
Old 11-16-2012, 01:28 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
I do not have a serial interface here so I really cannot help you. However I did run minicom and after I entered CTL-A Z I was presented with a menu listing the logging function by hitting L. Did you try it?
 
Old 11-17-2012, 08:05 AM   #3
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
Now in home, I don't have a serial port, I will test the 'L' next Monday. Thanks for the info, I hope it is what I am looking for.
 
Old 11-17-2012, 12:07 PM   #4
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
Good luck on Monday. I also checked out putty (available from slackbuilds.org) and it seems to comply with your requirement too.
Attached Images
File Type: png putty.png (50.2 KB, 5 views)

Last edited by ChrisAbela; 11-17-2012 at 12:10 PM.
 
Old 11-18-2012, 01:45 AM   #5
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
I did not dare to think there is a putty in Linux. Indeed, it's my windows replacement of minicom and I used it quit often.

No doubt, putty can do a pretty good logging. The only problem to me is it cannot do xmodem file transmission, which caused me to change to use TeraTerm in Windows. I really need both the logging and xmodem feature in the same time. What I want to do is to connect my slack to a embedded Linux ARM board, and while interacting with it, I also need to transfer files between my box and the board using xmodem.

But anyway, aware of putty in Linux is a good news. Thanks.
 
Old 11-18-2012, 04:11 PM   #6
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
I must admit that I had never heard of xmodem before, which is pity as I had relied on serial interfaces many times before I was bound behind a desk to earn a living. Anyway you may start reading /usr/doc/Linux-HOWTOs/Remote-Serial-Console-HOWTO or the Internet link http://www.tldp.org/HOWTO/Remote-Ser...pload-cat.html

Finally remember that on a UNIX system all peripheral are seen as files, so you can do clever tricks such as this: https://www.youtube.com/watch?v=Ktt2...2&feature=plcp

Chris
 
Old 11-18-2012, 09:06 PM   #7
narke
Member
 
Registered: Apr 2010
Posts: 70

Original Poster
Rep: Reputation: 0
Just tested, the "L" option in minicom works so good! The only drawback is, it also log my editing on a command line, for example, the backspace/DEL keys. It would be better if it log in a line buffered way. But I am already so happy and can live with it.

Quote:
Originally Posted by ChrisAbela View Post
I must admit that I had never heard of xmodem before, which is pity as I had relied on serial interfaces many times before I was bound behind a desk to earn a living. Anyway you may start reading /usr/doc/Linux-HOWTOs/Remote-Serial-Console-HOWTO or the Internet link http://www.tldp.org/HOWTO/Remote-Ser...pload-cat.html

Chris
Thanks for pointing to the doc, it indeed talks about using minicom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] PHP Web Interactions Tyler_H72 Programming 17 05-24-2012 12:08 PM
using a shell script to close a minicom log file and open a new one. sd_read Linux - Software 2 08-16-2011 05:04 PM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 08:01 AM
Udev, rc.S & rc.hotplug interactions SlackwareInAZ Slackware 3 08-17-2006 07:30 PM
GtkAdjustment interactions mvt Programming 0 05-19-2004 01:47 PM


All times are GMT -5. The time now is 10:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration