This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
guides:virtual_modem:script [2020-02-18 17:49] omolini [ppp.sh] |
guides:virtual_modem:script [2020-02-27 22:46] omolini [2.sh] |
||
---|---|---|---|
Line 396: | Line 396: | ||
echo "Thank you for visiting! Bye!" | echo "Thank you for visiting! Bye!" | ||
sleep 2 | sleep 2 | ||
+ | </code> | ||
+ | |||
+ | ===== 3.sh ===== | ||
+ | This example script allows VT100 compatible terminal access to the web by way of running lynx as soon as the number "3" is dialed with "ATD3". It demonstrates how to add a Linux based web browser for simple terminals. | ||
+ | |||
+ | <code bash 3.sh> | ||
+ | #!/bin/bash | ||
+ | # | ||
+ | export TERM=vt100 | ||
+ | echo "Terminal type set to $TERM. Running Lynx ..." | ||
+ | lynx | ||
</code> | </code> | ||