aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2008-06-13 08:06:41 +0000
committerGlenn Morris2008-06-13 08:06:41 +0000
commit37e5d54a5ce58c903b6c4d9cb29aa03eb6696e07 (patch)
tree53cb23cfd9035ab42e83b0e79641af0b822986ec /doc
parentc73e02fa6fc53e7c6df8d31021c83d8887ada8cd (diff)
downloademacs-37e5d54a5ce58c903b6c4d9cb29aa03eb6696e07.tar.gz
emacs-37e5d54a5ce58c903b6c4d9cb29aa03eb6696e07.zip
Daniel Engeler <engeler at gmail.com>
emacs.texi, misc.texi: Add documentation about serial port access.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/emacs.texi1
-rw-r--r--doc/emacs/misc.texi33
3 files changed, 37 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 33100492ef5..941d6b98e53 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12008-06-13 Daniel Engeler <engeler@gmail.com>
2
3 * emacs.texi, misc.texi: Add documentation about serial port access.
4
12008-06-13 Glenn Morris <rgm@gnu.org> 52008-06-13 Glenn Morris <rgm@gnu.org>
2 6
3 * emacs-xtra.texi, emacs.texi: Update Back-Cover text per maintain.info. 7 * emacs-xtra.texi, emacs.texi: Update Back-Cover text per maintain.info.
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index be3635b47e9..13e6cd798c1 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -864,6 +864,7 @@ Running Shell Commands from Emacs
864* Term Mode:: Special Emacs commands used in Term mode. 864* Term Mode:: Special Emacs commands used in Term mode.
865* Paging in Term:: Paging in the terminal emulator. 865* Paging in Term:: Paging in the terminal emulator.
866* Remote Host:: Connecting to another computer. 866* Remote Host:: Connecting to another computer.
867* Serial Terminal:: Connecting to a serial port.
867 868
868Using Emacs as a Server 869Using Emacs as a Server
869 870
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 1c0a38709de..97b1d96e970 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -350,6 +350,7 @@ Eshell: The Emacs Shell}.
350* Term Mode:: Special Emacs commands used in Term mode. 350* Term Mode:: Special Emacs commands used in Term mode.
351* Paging in Term:: Paging in the terminal emulator. 351* Paging in Term:: Paging in the terminal emulator.
352* Remote Host:: Connecting to another computer. 352* Remote Host:: Connecting to another computer.
353* Serial Terminal:: Connecting to a serial port.
353@end menu 354@end menu
354 355
355@node Single Shell 356@node Single Shell
@@ -1076,7 +1077,10 @@ handles each one appropriately, changing the buffer so that the
1076appearance of the window matches what it would be on a real terminal. 1077appearance of the window matches what it would be on a real terminal.
1077You can actually run Emacs inside an Emacs Term window. 1078You can actually run Emacs inside an Emacs Term window.
1078 1079
1079 The file name used to load the subshell is determined the same way 1080 You can use Term mode to communicate with a device connected to a
1081serial port of your computer, see @ref{Serial Terminal}.
1082
1083 The file name used to load the subshell is determined the same way
1080as for Shell mode. To make multiple terminal emulators, rename the 1084as for Shell mode. To make multiple terminal emulators, rename the
1081buffer @samp{*terminal*} to something different using @kbd{M-x 1085buffer @samp{*terminal*} to something different using @kbd{M-x
1082rename-uniquely}, just as with Shell mode. 1086rename-uniquely}, just as with Shell mode.
@@ -1232,6 +1236,33 @@ off directory tracking.
1232 1236
1233@end ignore 1237@end ignore
1234 1238
1239@node Serial Terminal
1240@subsection Serial Terminal
1241@cindex terminal, serial
1242@findex serial-term
1243
1244 If you have a device connected to a serial port of your computer,
1245you can use Emacs to communicate with it. @kbd{M-x serial-term} will
1246ask you for a serial port name and speed and will then open a new
1247window in @ref{Term Mode}.
1248
1249 The speed of the serial port is measured in bits per second. The
1250most common speed is 9600 bits per second. You can change the speed
1251interactively by clicking on the mode line.
1252
1253 A serial port can be configured even more by clicking on ``8N1'' in
1254the mode line. By default, a serial port is configured as ``8N1'',
1255which means that each byte consists of 8 data bits, No parity check
1256bit, and 1 stopbit.
1257
1258 When you have opened the serial port connection, you will see output
1259from the device in the window. Also, what you type in the window is
1260sent to the device.
1261
1262 If the speed or the configuration is wrong, you cannot communicate
1263with your device and will probably only see garbage output in the
1264window.
1265
1235@node Emacs Server, Printing, Shell, Top 1266@node Emacs Server, Printing, Shell, Top
1236@section Using Emacs as a Server 1267@section Using Emacs as a Server
1237@pindex emacsclient 1268@pindex emacsclient