Go Down

Topic: Serial terminal in Linux (Read 1 time) previous topic - next topic

normanc

I've been using 'screen' as my serial monitor in Linux (for other serial devices).  However, whenever I close out the terminal window, I cannot reaccess the serial device as it reports the resource or device as busy.  Is there a way for me to free up the serial session so I can reconnect it without having to reset the device?  Or is there a better serial utility to use?

Jantje

Why don't you use the serial monitor of arduino. At least that one closes the serial connection when you try to upload?
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

normanc

I never thought of that.  However, it doesn't work quite as well for devices that just constantly output a serial without any kind of character breaks (usb sensors, for example, that simply write the value out).

Is there a way to get it to constantly replace the text in the serial monitor, like screen or hyperterminal does?

Jantje

I don't know of any serial monitors that do so.
I use a scope like serial monitor for that.
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

WizenedEE

Screen is designed so that you can open up the same instance from different terminals so you can keep your session going through ssh or all the ttys at once. Thus, when you close your terminal screen doesn't actually close. You should exit out of screen normally by pressing ctrl+a k and then y

Osgeld

http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview