User Tools

Site Tools


vps_-_plan9front_-_riot_picker_topng

This is an old revision of the document!


riot and picker

xDRAFT

From rio or riot:

New ⇐ release the button here
Resize
Move
Delete
Hide
1At the rio grey screen, press the right button of your mouse. A menu (above) should appear. Then, release the button over the “New” option.
2Now, press the right button again near the upper-left corner of Drawterm, and drag the mouse to the lower-right before releasing the button, drawing a rectangle.
xriotusage:riot [ -b ] [ -f font ] [ -i 'cmd' ] [ -k 'kbdcmd' ] [ -s ]
xriousage:rio [ -b ] [ -f font ] [ -i 'cmd' ] [ -k 'kbdcmd' ] [ -s ]
riot and picker tutorial notes:
== Rio usage: ==
 
|x| Practice with mouse button 3 menu 'new' |
Mouse button 3 menu select 'new'.
 
Practice with 'rio'.
% rio
 
|x| Practice with mouse button 3 'delete' |
Mouse button 3 menu select 'delete'.
 
== Riot and picker usage: ==
 
|x| Practice with mouse button 3 menu 'new' |
Mouse button 3 menu select 'new'.
 
Practice with 'riot'.
% riot
 
% picker < /dev/theme > /dev/theme
 
Mouse button 3 select 'snarf all' from the picker window.
 
Paste the snarf buffer into an acme or sam editor file.
Sam will require an additional mouse button 2 menu '<rio>' snarf buffer toggle.
 
|x| topng |
Three 'topng' screen, or window, capture methods are mentioned:
 
Command reminder
https://wiki.sdf.org/doku.php?id=vps_-_9front#command_reminder
 
|x| $home/lib/profile |
Advanced riot usage:
 
The 'riot' command replaces the 'rio' command in the $home/lib/profile file.
SDF Plan9 Boot Camp Fall 2021 TEA NOTE #3
https://toobnix.org/w/qVFBCXxWT9qWTn2rR9UCyX
00:00:00 - Introduction and News
00:03:30 - The Challenges and 'com'
00:10:00 - Review on accessing vps9.sdf.org and managing your VM
00:16:00 - Accessing /usr/sdf on 9p from your VM
00:18:00 - Challenge 3 and 4
00:19:00 - Modifying rio ('riot') to support themes and backgrounds
00:26:00 - using 'picker'
00:40:30 - Your personal website on 9p.sdf.org
riot and picker toobnix.org notes:
== riot and picker toobnix notes: ==
 
|x| $home/lib/profile |
 
# riot -i $home/bin/rc/riostart
 
% picker < /dev/theme > /dev/theme
 
== 1st method: ==
 
 % cat >theme1.new
 # paste the 'snarf all' selected text here:
 [append with a new line]
 [press the delete key to escape]
 
== 2nd method: ==
 
% cat /dev/theme >theme2.new
 
== Example: ==
 
|x| When starting 'riot', redirect a "rio.theme" to 'riot'. |
 
# $home/lib/profile
riot -i $home/bin/rc/riostart
 
# $home/bin/rc/riostart
[Replace glenda with your username.]
 
#!/bin/rc
window 'cat /usr/glenda/lib/theme/rio.theme > /mnt/wsys/theme;
	sleep 0.5;
	grep softscreen /dev/vgactl >> /dev/vgactl;
	echo hwblank off >> /dev/vgactl'
 
# $home/lib/theme/rio.theme
% pwd
$home/lib/theme
% cat /dev/theme >rio.theme
 
== Other note: ==
 
|x| riot | usage: riot [ -b ] [ -f font ] [ -i 'cmd' ] [ -k 'kbdcmd' ] [ -s ] |
|x| rio | usage: rio [ -b ] [ -f font ] [ -i 'cmd' ] [ -k 'kbdcmd' ] [ -s ] |
riot rio.theme example:
rioback	777777
back	282828
high	cccccc
border	999999
text	babe94
htext	000000
title	55aaaa
ltitle	9eeeee
hold	000099
lhold	005dbb
palehold	4993dd
paletext	d5d5d5
size	ff0000
menubar	448844
menuback	eaffea
menuhigh	448844
menubord	88cc88
menutext	000000
menuhtext	eaffea
riot rc/riostart example (change username):
#!/bin/rc
window 0,0,161,117 stats -lmisce
window -scroll -miny 130
window 'cat /usr/username/lib/theme/rio.theme > /mnt/wsys/theme;
        sleep 0.5;
        grep softscreen /dev/vgactl >> /dev/vgactl;
        echo hwblank off >> /dev/vgactl'
vps_-_plan9front_-_riot_picker_topng.1636523615.txt.gz · Last modified: 2021/11/10 05:53 by hc9