Both sides previous revisionPrevious revisionNext revision | Previous revision |
plan9front_-_drawterm_rio_and_stats [2023/10/07 00:10] – [network delay] hc9 | plan9front_-_drawterm_rio_and_stats [2024/01/26 07:28] (current) – [drawterm] to web: m( hc9 |
---|
===== drawterm ===== | ===== drawterm ===== |
| |
^Command^ 9front Drawterm output^ | ^ Command ^ 9front Drawterm output ^ |
|''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [-a authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd <nowiki>...</nowiki>]''| | |''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [-a authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd <nowiki>...</nowiki>]''| |
| |
^9front Drawterm option^ 9front Drawterm option description^ | ^ 9front Drawterm option ^ 9front Drawterm option description ^ |
| ''-G'' |//''Start drawterm in text-only mode (no graphics).''//| | | ''-G'' |//''Start drawterm in text-only mode (no graphics).''//| |
| ''-B'' |//''Disable kbdfs.''//| | | ''-B'' |//''Disable kbdfs.''//| |
| ''-r'' |//''Specifies the root directory on the client. The default is /root and all further paths are relative thereto.''//| | | ''-r'' |//''Specifies the root directory on the client. The default is /root and all further paths are relative thereto.''//| |
| |
^ ^aan, aanuke - always available network^^ | ^ ^ aan, aanuke - always available network ^^ |
| AAN: |//''Aan tunnels traffic between a client and a server through a persistent network connection.''//|http://man.9front.org/8/aan| | | AAN: |//''Aan tunnels traffic between a client and a server through a persistent network connection.''//|http://man.9front.org/8/aan| |
| AANUKE: |//''Aanuke prints commands that will cause all processes called aan that are owned by the current user and do not have an active tcp connection to be terminated.''// //Aanuke prints commands// that look similar to the //slay// commands, in the [[plan9front_-_broke_and_slay#slay|mentioned slay example]].|" | | | AANUKE: |//''Aanuke prints commands that will cause all processes called aan that are owned by the current user and do not have an active tcp connection to be terminated.''// //Aanuke prints commands// that look similar to the //slay// commands, in the [[plan9front_-_broke_and_slay#slay|mentioned slay example]].|" | |
| |
|1|[[boot_camp_9p_resource|Plan 9 Boot Camp 9p.sdf.org tutorial:]]| | | 1. |[[boot_camp_9p_resource|Plan 9 Boot Camp 9p.sdf.org tutorial:]]| |
|**9p...**|''$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER''| | |**9p...**|''$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER''| |
| |
|2|[[vps_-_9front#front_drawterm|Plan 9 Boot Camp private VPS tutorial section:]]| | | 2. |[[vps_-_9front#front_drawterm|Plan 9 Boot Camp private VPS tutorial section:]]| |
|**VPS**|''$ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda''| | |**VPS**|''$ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda''| |
| |
| |
You should now have a Rio terminal window, and rc prompt (%). The first thing you can do is to type "''cat readme.rio''" (or read it from [[http://sdf.org/tutorials/misc/readme.rio|here if it's missing]]). | You should now have a Rio terminal window, and rc prompt (%). The first thing you can do is to type "''cat readme.rio''" (or read it from [[http://sdf.org/tutorials/misc/readme.rio|here if it's missing]]). |
| |
| ^ rio Exit menu option (plan9front) ^ |
| |There is an "Exit" option in addition to the "Delete" option. This "Exit" option is useful. It will delete ''rio'' gracefully.| |
| |
| | New | | |
| | Resize | | |
| | Move | | |
| | Delete | | |
| | Hide | | |
| ^ Exit ^ <= exit ''rio'' ^ |
| |
| | **1.** |At the rio grey screen, press the right button of your mouse. A menu (above) should appear.\\ Then, release the button over the ''Exit'' option. A //skull face// pointer (☠) will appear.| |
| | a. |Cancel the ''Exit'' with a mouse button 1, or button 2 press. The previous pointer will appear.| |
| | i. |Confirm the ''Exit'' with a mouse button 3 press.| |
| | b. |Press the ''Enter'' key once to locate the prompt (%).| |
| | i. |At the prompt (%) type ''exit'', then press the ''Enter'' key, to **exit drawterm**. :!: The mentioned //''exit''//\\ is intended as a topic for Boot Camp [[vps_-_9front#communication_resources|discussion]]. Review [[vps_-_9front#closing_drawterm|closing drawterm]], the way to quit Plan 9 drawterm.| |
| | ii. |At the prompt (%) type ''rio'', then press the ''Enter'' key, to start rio.| |
| | **2.** |Try item **1.**, or ''Exit'', while running ''rio'' inside another ''rio'' window.| |
| |
[[vps_-_9front#front_drawterm|Drawterm]]<sup>1</sup> is essentially a BLIT terminal emulator which allows you to connect to your Plan 9 system and load the //Rio// windowing system. Rio is a direct successor of UNIX 'layers' and Plan 9 '8½'. | [[vps_-_9front#front_drawterm|Drawterm]]<sup>1</sup> is essentially a BLIT terminal emulator which allows you to connect to your Plan 9 system and load the //Rio// windowing system. Rio is a direct successor of UNIX 'layers' and Plan 9 '8½'. |
| |
</code> | </code> |
| |
| ^ Tilde Expansion ^^ |
| |//[[https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html|3.5.2 Tilde Expansion]]//|| |
| | **''~''** | //The value of ''$HOME''// | |
| |**Example:** ''$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER -r ~/directory''|| |
| |
Verify the Drawterm command line syntax with the "''<nowiki>--</nowiki>help''" option, if needed. A 9front<sup>2</sup> Drawterm comparison is provided. | Verify the Drawterm command line syntax with the "''<nowiki>--</nowiki>help''" option, if needed. A 9front<sup>2</sup> Drawterm comparison is provided. |
| |
^Plan 9 Drawterm command^ Plan 9 Drawterm output^ | ^ Plan 9 Drawterm command ^ Plan 9 Drawterm output ^ |
|''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [**-a** authserver] [**-c** cpuserver] [-s secstore] [**-u** user]''| | |''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [**-a** authserver] [**-c** cpuserver] [-s secstore] [**-u** user]''| |
| |
^9front Drawterm command^ 9front Drawterm option //-h// and Plan 9 Drawterm option //-c// comparison^ | ^ 9front Drawterm command ^ 9front Drawterm option //-h// and Plan 9 Drawterm option //-c// comparison ^ |
|''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [**-a** authserver] [**-h** cpuserver] [-s secstore] [**-u** user]''| | |''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [**-a** authserver] [**-h** cpuserver] [-s secstore] [**-u** user]''| |
| |
^9front Drawterm command^ 9front Drawterm output^ | ^ 9front Drawterm command ^ 9front Drawterm output ^ |
|''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [**-a** authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd <nowiki>...</nowiki>]''| | |''$ ./drawterm <nowiki>--</nowiki>help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [**-a** authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd <nowiki>...</nowiki>]''| |
| |
| === plumb to web: === |
| |
| |x|Notes about [[vps_-_9front#plumb_to_web|plumb to web]].\\ //• Users connecting with linux Drawterm may find this plumber rule useful.//| |
| |
<sup>1</sup> //Drawterm is a X11 application that allows one to connect to a remote Plan 9 server...; a graphical client for Plan 9 CPU servers//. https://directory.fsf.org/wiki/Drawterm <sup>2</sup> [[vps_-_9front#install_or_build_drawterm|DRAWTERM]] http://git.9front.org/plan9front/drawterm | <sup>1</sup> //Drawterm is a X11 application that allows one to connect to a remote Plan 9 server...; a graphical client for Plan 9 CPU servers//. https://directory.fsf.org/wiki/Drawterm <sup>2</sup> [[vps_-_9front#install_or_build_drawterm|DRAWTERM]] http://git.9front.org/plan9front/drawterm |
^ Reduce the Drawterm [[boot_camp_9p_resource|9p]] network connection delay ^^ | ^ Reduce the Drawterm [[boot_camp_9p_resource|9p]] network connection delay ^^ |
|This will reduce the number of user processes, and\\ decrease any Drawterm network connection delay.|| | |This will reduce the number of user processes, and\\ decrease any Drawterm network connection delay.|| |
|**1**|Keep the Drawterm //blank grey screen// small.| | | **1.** |Keep the Drawterm //blank grey screen// small.| |
|**2**|Create one rio rc window for [[boot_camp_9p_resource#commode_example|com]].| | | **2.** |Create one rio rc window for [[boot_camp_9p_resource#commode_example|com]].| |
|**3**|Delete the unnecessary rio rc windows.| | | **3.** |Delete the unnecessary rio rc windows.| |
| |
==== persistent network ==== | ==== persistent network ==== |
| |
^ Reduce the Drawterm [[boot_camp_9p_resource|9p]] persistent network connection ^^ | ^ Reduce the Drawterm [[boot_camp_9p_resource|9p]] persistent network connection ^^^ |
|This will reduce the number of user processes, and enable\\ further Drawterm network connection testing without [[plan9front_-_drawterm_rio_and_stats#drawterm|aan]].|| | |This will reduce the number of user processes, and enable\\ further Drawterm network connection testing without [[plan9front_-_drawterm_rio_and_stats#drawterm|aan]].||| |
|**1**|Create a 9p [[plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] connection without the option //- p//| | | **1.** |Create a 9p [[plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] connection without the option //- p//|| |
|**2**|run ''aanuke'' for the [[plan9front_-_broke_and_slay#slay|slay]] information.| | | **2.** |run ''aanuke'' for the [[plan9front_-_broke_and_slay#slay|slay]] information.|| |
|**3**|[[plan9front_-_broke_and_slay#slay|send]] to ''rc''| | | **3.** |[[plan9front_-_broke_and_slay#slay|send]] to ''rc''|| |
|•|Optional: This method can remove unused //aan// resources.| | | //a.// |Optional: This method can remove unused //aan// resources.|| |
| | //b.// |Optional: view the //aan// processes.| ''% psu -a | grep aan''| |
| |
| ===== full screen ===== |
| |
| ^ Full-screen from the rio Exit menu option (plan9front) ^ |
| |There is an "Exit" option in addition to the "Delete" option. This "Exit" option is useful. It will delete ''rio'' gracefully.| |
| |
| | New | | |
| | Resize | | |
| | Move | | |
| | Delete | | |
| | Hide | | |
| ^ Exit ^ <= exit ''rio'' ^ |
| |
| | **1.** |At the rio grey screen, press the right button of your mouse. A menu (above) should appear.\\ Then, release the button over the ''Exit'' option. A //skull face// pointer (☠) will appear.| |
| | a. |Cancel the ''Exit'' with a mouse button 1, or button 2 press. The previous pointer will appear.| |
| | i. |**Confirm** the ''Exit'' with a mouse button 3 press.| |
| | b. |Press the ''Enter'' key once to locate the prompt (%).| |
| | **2.** |At the prompt (%) type ''games/glendy'', then press the ''Enter'' key, to start ''glendy''.| |
| | b. |Press the ''Delete'' key once to end the game and access the prompt (%).| |
| | **3.** |At the prompt (%) type ''rio'', then press the ''Enter'' key, to start rio.| |
| | a. |At a ''rio'' prompt (cpu%) type ''man games'', then press the ''Enter'' key, to review the ''games/glendy'' information.| |
| |
| <code> |
| |
| cpu% man games |
| |
| </code> |
| |
===== rio ===== | ===== rio ===== |
| |
<code> | <code> |
| |
cpu% stats -lmisce | cpu% stats -lmisce |
| |
</code> | </code> |
| |
A ''[[vps_-_9front#command_reminder|winwatch -e]]'' //stats// note: | A ''[[vps_-_9front#command_reminder|winwatch -e]]'' //stats// note: |
| |
<code> | <code> |
| |
cpu% winwatch -e '^(winwatch|stats|faces)' | cpu% winwatch -e '^(winwatch|stats|faces)' |
| |
</code> | </code> |
| |
Reference: | Reference: |
| |
|9front Drawterm|https://wiki.sdf.org/doku.php?id=vps_-_9front#front_drawterm| | |9front Drawterm|//9front Drawterm// – [[vps_-_9front#front_drawterm|vps_-_9front#front_drawterm]]| |
| |Command reminder //(includes screenshot section)//|//Command reminder// – [[vps_-_9front#command_reminder|vps_-_9front#command_reminder]]| |
|Command reminder //(includes screenshot section)//|https://wiki.sdf.org/doku.php?id=vps_-_9front#command_reminder| | |
| |