Redirect output of mc6811 from terminal to a file

In summary, the conversation is about redirecting output from the mc6811 terminal to a file. The person asking for help has tried a Google search but did not find a solution. Another person suggests using a different terminal program, Tera Term, which has an option to log received characters. The conversation ends with a welcome to the new member.
  • #1
rose09
2
0
Hi,

I want to redirect output of mc6811 from terminal to a file.I have tried google search and did not find any solution for that.Can anyone help me?I appreciate your help.

Thanks
Rose
 
Computer science news on Phys.org
  • #2


You need to provide more information if you want someone to help you. Until then the answer is no. Last time I worked with the mc68hc11 was 14 years ago.
 
  • #3


Hi,

I am using Axide software.I use 'g2000' in hyperterminal to display the output.I would like to redirect this output(present on terminal) to a file.

Thanks
Rose
 
  • #4


Hello Rose,

You can save (capture) what the terminal receives. I haven't used Hyperterm in nearly a decade, but this post outlines how to do it:
http://technet.microsoft.com/en-us/library/cc738294(WS.10).aspx

In my opinion, a far less clunky terminal program (as far as Windows is concerned) is the free, and open source Tera Term:
http://ttssh2.sourceforge.jp/

You'll note that under the file menu, there's an option to log received characters:
http://ttssh2.sourceforge.jp/manual/en/menu/file.html

EDIT: ...And welcome to PhysicsForums!
 
  • #5


Hello Rose,

Redirecting output from a terminal to a file can be achieved using the ">" symbol. This symbol tells the terminal to take the output of a command and redirect it to a file instead of displaying it on the screen. In the case of the mc6811, you can use the following command to redirect its output to a file:

mc6811 > output.txt

This will create a file named "output.txt" in the current directory and save the output of the mc6811 in it. You can then access the contents of this file and use it for your purposes. I hope this helps. Let me know if you have any further questions.

Best, (Scientist)
 

FAQ: Redirect output of mc6811 from terminal to a file

What is the purpose of redirecting output from a terminal to a file?

The purpose of redirecting output from a terminal to a file is to save the output of a command or program to a file instead of displaying it on the terminal. This can be useful for recording data or keeping a log of outputs.

How can I redirect the output of a command to a file?

You can use the > symbol to redirect the output of a command to a file. For example, "command > output.txt" will save the output of the command to a file named output.txt.

Can I redirect the output of a program while it is running?

Yes, you can use the >> symbol to append the output of a program to a file while it is running. This is useful for continuously updating a log file.

Is it possible to redirect both standard output and error output to a file?

Yes, you can use the &> symbol to redirect both standard output and error output to a file. This will save any error messages in addition to the normal output of a command or program.

Are there any other ways to redirect output to a file?

Yes, you can also use the tee command to both display the output on the terminal and save it to a file simultaneously. For example, "command | tee output.txt" will display the output on the terminal and save it to a file named output.txt.

Back
Top