LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2001, 04:04 PM   #1
Legaviu
LQ Newbie
 
Registered: Apr 2001
Location: Cochabamba, Bolivia
Posts: 4

Rep: Reputation: 0
Question How to Redirect serial port input to a file


I would like to redirect the input from a serial port to a file.

thought I could get it done with getty, but have been unable to do so. I would greatly appreciate any help.

 
Old 07-31-2001, 07:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,592
Blog Entries: 47

Rep: Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408
try (stty raw; cat > received.txt) < /dev/ttyS0
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Console-redirect to another PC adenev Linux - Newbie 2 04-01-2009 07:21 PM
Send an .hex file by serial port ODSunal Programming 2 12-09-2004 08:12 PM
How to redirect input in VC++ samirshah02 Conectiva 0 09-12-2004 10:51 PM
Outside FTP Port 21 redirect to different port inside LAN??? hendrixx Linux - Security 5 06-05-2004 06:42 PM
redirect telnet to serial line ; reverse terminal schirrmi Linux - Networking 1 04-14-2004 09:48 AM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration