LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   minicom interactions log (http://www.linuxquestions.org/questions/slackware-14/minicom-interactions-log-4175437356/)

narke 11-15-2012 08:13 PM

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.

ChrisAbela 11-16-2012 12:28 PM

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?

narke 11-17-2012 07:05 AM

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.

ChrisAbela 11-17-2012 11:07 AM

1 Attachment(s)
Good luck on Monday. I also checked out putty (available from slackbuilds.org) and it seems to comply with your requirement too.

narke 11-18-2012 12:45 AM

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.

ChrisAbela 11-18-2012 03:11 PM

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

narke 11-18-2012 08:06 PM

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 (Post 4832179)
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 :)


All times are GMT -5. The time now is 01:55 PM.