Working with Historyindexguidefaq
Available on the App StoreWorking with HistoryiAnnotateiReadAji ReaderAji AnnotateTripleQuick FictionTouchTerm ProTouchTermLexelDVDmote
SSH Key Manager Back to Contents URL Handling

Section 16: Working with History


When using Auto-Return Mode, all commands (well, anything longer than two characters) are stored in the command history. To access the command history, tap the blue disclosure button to the right of the command box. This will bring up the History screen. Commands in the history are ordered with the most recent command at the top. Duplicates are only shown once at the spot where they were most recently used.

To select a history item, simply tap the corresponding row: that command will then be entered into the command box, and you will be returned to the Terminal screen. Note that TouchTerm then allows you to edit the command before sending it off to the server; this is useful for correcting typos.

Find a command in the history...
Find a command in the history...

...and then edit it in the command box.
...and then edit it in the command box.

The command history can be used in either Auto-Return Mode or Batch Mode. However, note that in Batch Mode, new entries are not added to the history list. Command history is not available in Immediate Mode.

Finally, it is also possible to clear the command history using the "Clear" button in the upper-right corner.

One thing to note is that in Auto-Return Mode, all commands sent to the server are added to the command history -- even if they are not sent to the command-line shell. One place this might matter is for passwords: if you enter a password while in Auto-Return Mode, it will be saved in your command history. This is probably not desired; one way to work around this for now is to set TouchTerm to Immediate Mode whenever you have to enter a password. (We're planning to add more sophisticated password management to TouchTerm and TT Pro.)




SSH Key Manager Back to Contents URL Handling