## ## This startup file for scry can technically contain any valid scry ## commands, spelled out in full or abbreviated. Realistically, though, ## it's only useful for set commands. ## ## The command parser in scry is quite dumb, because it doesn't generally ## need to be smart. For purposes of these settings I've made it deal ## minimally with quotation, but this is very poor support and you'll ## probably have little luck trying anything fancy unless you plug at ## the code. ## ## Default settings [as from the "show" command]: # anykey = 0 ....................[Allow any keystroke at pauses, or only ENTER?] # attached = # .......................[Character to indicate an attached screen] # banner = SCREEN MENU ...................................[Text for menu banner] # chars = + - > ..........................[Marker characters for recent screens] # clear = 0 ...........................................[Clear screen on update?] # color = 1 .............................................[Enable color display?] # columns = 3 ....................................[Number of columns to display] # default = .............................[Default color sequences for all text] # fill = . ............................[Character for fill between name and pty] # namelen = 3 ..................................[Space reserved for screen name] # pty = ................................[s/// expression for munging pty names] # screen = screen ......................................[Path to screen command] # ssh = 1 ............................[Inherit SSH agent and socket properties?] # # The attached, banner, chars, default, and fill settings can have # color or other text attributs applied. These are indicated inside # {curlybraces}. Currently 16 color attributes are recognized, plus # {bold}, {normal} (aka {rmso}), and {reset}. {reset} is a meta- # indicator which resets to whatever the default variable is defined # as. The sixteen color attributes are: # # {black} {red} {green} {yellow} {blue} {purple} {cyan} {white} # {bgblack} {bgred} {bggreen} {bgyellow} {bgblue} {bgpurple} {bgcyan} {bgwhite} # # The {bgcolor} attributes set background color; the others set text color. # ## Examples: # Allow any keystroke at pauses (normally you must use ENTER): #set anykey 1 #set anykey yes # Indicate attached screens with the "X" character: #set attached X # Change top banner text to "Yo homie": #set banner Yo homie # Change top banner text to "Yo homie", and print banner on a purple # background with yellow text. #set banner {bgpurple}{yellow}Yo homie # Change top banner text to "Yo homie", and print banner on a purple # background with yellow text. Use regular modes for the user and time # fields. #set banner {bgpurple}{yellow}Yo homie{reset} # Change marker characters to "a", "b", "c", "d", "e": #set chars a b c d e # Change marker characters to 8859-1's superscripted "1", "2", "3", then +/-: #set chars ¹ ² ³ + - # Clear screen on update: #set clear yes #set clear 1 # Do not clear screen: #set clear no #set clear 0 # Translate {attribute} sequences ({color}, {bgcolor}, and {bold}): #set color yes #set color 1 # Ignore {attribute} sequences ({color}, {bgcolor}, and {bold}): #set color no #set color 0 # Set number of display columns to 5: # [If there are too many columns for your terminal width, scry will decrease # this to fit. Resize your terminal, and scry will increment back up. #set columns 5 # Set {attributes} for default text. This is white text on a cyan background. #set default {bgcyan}{white} # Set fill character to a hyphen: #set fill - # Set fill character to whitespace: #set fill " " # Reserve at least 10 characters for screen names. This interacts with # autoscaling the number of columns of display: there must be enough # space for this many characters of screen name per column of display, # or columns will be reduced. If a screen name is longer than this, it # will be abbreviated. #set namelen 10 # "pty" is a perl s/// expression that will alter pty names for display. # Elide the "pts/" on SysVish systems: #set pty s,pts/,, # Elide the "tty" on BSDish systems: #set pty s,tty,, # It can be a tr too -- any =~ operator will do: #set pty tr/p/t/ # If you erase the pty completely, it won't be considered in the display. #set pty tr/\x01-\xff//d # The location of the screen command can be set if it's not in your PATH: #set screen /usr/prehistoric/bin/screen # Normally scry inherits SSH agent and socket settings from its parent. # That's good if you want your screens to pick up your terminal's ssh # properties, but bad if your screens might outlive your desktop session's # agent. #set ssh no # dgc's settings: #set banner {bgblue}{white}Yo homie ##set default {bgcyan}{black} #set chars {bold}{white}+ {bold}{yellow}- {bold}{red}. #set clear yes ##set pty s,pts/,p, #set namelen 8 #set ssh no