# Commands

Terminal commands.

## Settings

Adjust the settings for this session.

## Profile

Apply, save, or manage profiles.

## Reset Emulation

Completely reset the internal state of the emulator.

## Send Window Size

Send a command to the device to synchronize the current window size. If Serial and the device don’t agree on the current window size you may experience problems with emulation including scrollback and screen refresh issues. Choose the command appropriate for your device under the terminal settings for the current session.

## Reset Timestamps

Reset the elapsed timestamp timer for the current session to zero.

## Set/Clear DTR

Set or Clear the DTR (Data Terminal Ready) line.

## Flash DTR

Toggle the DTR line.

## Set RTS

Set or Clear the RTS (Ready to Send) line.

## Flash RTS

Toggle the RTS line.

## Send Break

Send a break lasting 0.25 seconds. A “break” is when the TX line is held to a logical 0 for longer than one frame time.

Some devices and/or kernel drivers do not support breaks. In this case Serial will emulate a break by switching to the lowest supported baud rate and sending a NULL character.

## Send Long Break

Sends a break lasting 3.5 seconds with the DTR line deasserted.

## Send String

Send a text or hexadecimal string to the device.

## Start Log

Start logging to a file. The log format and naming convention currently selected in the preferences will be used.

To avoid prompting the user Serial creates log files in a directory within the application sandbox. Use the “Show in Finder” command to view the files.

## Stop Log

Stop logging to a file.

## Pause Log

Temporarily suspend logging.

## Show in Finder

Reveal the log file in the Finder.

## Disconnect

Disconnect the device. This can be useful when switching back and forth between Serial and another program accessing the same device.