Linux/tio: Difference between revisions
< Linux
(→usage) |
|||
| Line 51: | Line 51: | ||
=== tar method === | === tar method === | ||
=== 3.x version === | |||
<pre> | <pre> | ||
mkdir ~/.src ; cd ~/.src | mkdir ~/.src ; cd ~/.src | ||
# wget https://github.com/tio/tio/releases/download/v1. | |||
# tar -avxf tio-1. | wget https://github.com/tio/tio/releases/download/v3.9/tio-3.9.tar.xz | ||
tar -avxf tio-3.9.tar.xz | |||
cd tio-3.9 | |||
### TODO MESON | |||
### ./configure | |||
### make && make install | |||
</pre> | |||
=== 2.x version === | |||
<pre> | |||
mkdir ~/.src ; cd ~/.src | |||
## TODO | |||
</pre> | |||
=== 1.47 === | |||
Last of the 1.x versions? | |||
<pre> | |||
mkdir ~/.src ; cd ~/.src | |||
wget https://github.com/tio/tio/releases/download/v1.47/tio-1.47.tar.xz | |||
tar -avxf tio-1.47.tar.xz | |||
cd tio-1.47 | |||
### MESON VERSION!!! | |||
### TODO | |||
###./configure | |||
### make && make install | |||
</pre> | |||
=== 1.33 === | |||
REPLACED AUTOTOOLS WITH MESON!!! | |||
<pre> | |||
mkdir ~/.src ; cd ~/.src | |||
wget https://github.com/tio/tio/releases/download/v1.36/tio-1.36.tar.xz | |||
tar -avxf tio-1.36.tar.xz | |||
cd tio-1.36 | |||
### MESON VERSION!!! | |||
### TODO | |||
###./configure | |||
### make && make install | |||
</pre> | |||
=== 1.32 === | |||
LAST NON MESON VERSION!!! | |||
<pre> | |||
mkdir ~/.src ; cd ~/.src | |||
wget https://github.com/tio/tio/releases/download/v1.32/tio-1.32.tar.xz | wget https://github.com/tio/tio/releases/download/v1.32/tio-1.32.tar.xz | ||
tar -avxf tio-1.32.tar.xz | tar -avxf tio-1.32.tar.xz | ||
cd tio-1.32 | cd tio-1.32 | ||
./configure | |||
make && make install | |||
echo "alias tio='tio -m INLCRNL'" >> ~/.bashrc | |||
alias tio='tio -m INLCRNL' | |||
</pre> | |||
=== 1.20 === | |||
<pre> | |||
mkdir ~/.src ; cd ~/.src | |||
wget https://github.com/tio/tio/releases/download/v1.20/tio-1.20.tar.xz | |||
tar -avxf tio-1.20.tar.xz | |||
cd tio-1.20 | |||
./configure | ./configure | ||
make && make install | make && make install | ||
Latest revision as of 22:23, 24 March 2026
tio
tio - https://tio.github.io/
installation
Source Method
source: https://github.com/tio/tio
# Ubuntu Dependencies apt install autoconf gcc make git
# RedHat Dependencies yum install autogen autoconf automake gcc make git
Older 1.x version:
mkdir ~/.src ; cd ~/.src git clone https://github.com/tio/tio.git cd tio # git checkout v1.30 git checkout v1.32 sh autogen.sh ./configure make sudo make install
Meson 3.x version:
sudo apt install liblua5.2-0 liblua5.2-dev libncurses-dev libreadline-dev libtool-bin
mkdir ~/.src ; cd ~/.src git clone https://github.com/tio/tio.git cd tio # git checkout v1.30 # git checkout v1.32 git checkout tags/v3.5 rm -rf .build meson .build ninja -C .build meson install -C .build
Version 1.30 provides -m INLCRNL option, for force new lines in output.
echo "alias tio='tio -m INLCRNL'" >> ~/.bashrc alias tio='tio -m INLCRNL'
Uninstall Source Method
cd ~/.src/tio make uninstall
tar method
3.x version
mkdir ~/.src ; cd ~/.src wget https://github.com/tio/tio/releases/download/v3.9/tio-3.9.tar.xz tar -avxf tio-3.9.tar.xz cd tio-3.9 ### TODO MESON ### ./configure ### make && make install
2.x version
mkdir ~/.src ; cd ~/.src ## TODO
1.47
Last of the 1.x versions?
mkdir ~/.src ; cd ~/.src wget https://github.com/tio/tio/releases/download/v1.47/tio-1.47.tar.xz tar -avxf tio-1.47.tar.xz cd tio-1.47 ### MESON VERSION!!! ### TODO ###./configure ### make && make install
1.33
REPLACED AUTOTOOLS WITH MESON!!!
mkdir ~/.src ; cd ~/.src wget https://github.com/tio/tio/releases/download/v1.36/tio-1.36.tar.xz tar -avxf tio-1.36.tar.xz cd tio-1.36 ### MESON VERSION!!! ### TODO ###./configure ### make && make install
1.32
LAST NON MESON VERSION!!!
mkdir ~/.src ; cd ~/.src wget https://github.com/tio/tio/releases/download/v1.32/tio-1.32.tar.xz tar -avxf tio-1.32.tar.xz cd tio-1.32 ./configure make && make install echo "alias tio='tio -m INLCRNL'" >> ~/.bashrc alias tio='tio -m INLCRNL'
1.20
mkdir ~/.src ; cd ~/.src wget https://github.com/tio/tio/releases/download/v1.20/tio-1.20.tar.xz tar -avxf tio-1.20.tar.xz cd tio-1.20 ./configure make && make install
usage
115200 Baud rate on TTYUSB0
tio -b 115200 /dev/ttyUSB0
Other Examples:
# 115200 Baud with 2 stop bits and include new lines tio -b 115200 -s 2 -m INLCRNL /dev/ttyUSB0
example
# tio -b 115200 /dev/ttyUSB7 [tio 16:53:30] tio v1.20 [tio 16:53:30] Press ctrl-t q to quit [tio 16:53:30] Connected
references
https://askubuntu.com/questions/40959/how-do-i-connect-to-tty-com-dev-ttyusb0/40970
https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-linux
https://embeddedfreak.wordpress.com/2008/08/12/using-gnu-screen-to-debug-your-serial-port/
Cygwin
See Cygwin#tio