diff options
| author | Glenn Morris | 2008-06-13 08:06:41 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-13 08:06:41 +0000 |
| commit | 37e5d54a5ce58c903b6c4d9cb29aa03eb6696e07 (patch) | |
| tree | 53cb23cfd9035ab42e83b0e79641af0b822986ec /doc | |
| parent | c73e02fa6fc53e7c6df8d31021c83d8887ada8cd (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 1 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 33 |
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 @@ | |||
| 1 | 2008-06-13 Daniel Engeler <engeler@gmail.com> | ||
| 2 | |||
| 3 | * emacs.texi, misc.texi: Add documentation about serial port access. | ||
| 4 | |||
| 1 | 2008-06-13 Glenn Morris <rgm@gnu.org> | 5 | 2008-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 | ||
| 868 | Using Emacs as a Server | 869 | Using 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 | |||
| 1076 | appearance of the window matches what it would be on a real terminal. | 1077 | appearance of the window matches what it would be on a real terminal. |
| 1077 | You can actually run Emacs inside an Emacs Term window. | 1078 | You 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 |
| 1081 | serial port of your computer, see @ref{Serial Terminal}. | ||
| 1082 | |||
| 1083 | The file name used to load the subshell is determined the same way | ||
| 1080 | as for Shell mode. To make multiple terminal emulators, rename the | 1084 | as for Shell mode. To make multiple terminal emulators, rename the |
| 1081 | buffer @samp{*terminal*} to something different using @kbd{M-x | 1085 | buffer @samp{*terminal*} to something different using @kbd{M-x |
| 1082 | rename-uniquely}, just as with Shell mode. | 1086 | rename-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, | ||
| 1245 | you can use Emacs to communicate with it. @kbd{M-x serial-term} will | ||
| 1246 | ask you for a serial port name and speed and will then open a new | ||
| 1247 | window in @ref{Term Mode}. | ||
| 1248 | |||
| 1249 | The speed of the serial port is measured in bits per second. The | ||
| 1250 | most common speed is 9600 bits per second. You can change the speed | ||
| 1251 | interactively by clicking on the mode line. | ||
| 1252 | |||
| 1253 | A serial port can be configured even more by clicking on ``8N1'' in | ||
| 1254 | the mode line. By default, a serial port is configured as ``8N1'', | ||
| 1255 | which means that each byte consists of 8 data bits, No parity check | ||
| 1256 | bit, and 1 stopbit. | ||
| 1257 | |||
| 1258 | When you have opened the serial port connection, you will see output | ||
| 1259 | from the device in the window. Also, what you type in the window is | ||
| 1260 | sent to the device. | ||
| 1261 | |||
| 1262 | If the speed or the configuration is wrong, you cannot communicate | ||
| 1263 | with your device and will probably only see garbage output in the | ||
| 1264 | window. | ||
| 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 |