GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XMASCOT(1) FreeBSD General Commands Manual XMASCOT(1)

XMascot - A Pretty Mascot on X Window System

xmascot [filename] [-toolkitoption ...] [-option ...]

XMascot is a program to show a pretty Mascot on your X Window System. XMascot have these features:

Swing on display prettily.
Chain's length become longer and shorter as you like.
Speeking some sounds(needs sound's file and playing command)
It can caused a action on specific time.
It can work as BIFF (mail checker)

Basic Operations are...

Left button Drag: Move position.

Right button Click: Popup menu.

Left Button Click: accelerate mascot moving.

Left button Drag: Change chain's length.

Right button Click: Clicking Sound.

Left Button Click: Popup Mail list window.

XMascot has various Alarm facility. These alarms can set from Alarm/Chime menu.

Setup Display:


---a--- --b-- ----------c----------- --d---
(*^o^*) 00:00 sound(pipipipi.au) [TEST]

Trigger this switch ON(Black) to valid setup.
Time setup(24hour display hour:min ). Only timer alarm, min:sec format.
Setting actions. refer ACTIONS to know detail.
Alarm test switch.

The datas setted by this menu are save to $HOME/.xmascotrc.

About alarms:

Act on constant time on Everyday. Ther are 3.
Act some times after. Formats: min:sec
Act periodic timer.
Chime on every hour's 0 min.
Chime on everu hour's 30 min.
Not Alarm. for BIFF action setting.

XMascot has a feature of BIFF (mail checker) youbin command is supported,

Normaly, XMascot check your mail spool. It can setup to call extern command to chack mail by option -biffcmd .

Return Values of extern command:

1 or negative value:
Mail box is empty.
New mail comes.
2
no change state.

when calling extern command, Mail List shows that command's standard output.

XMascot has X Toolkit standard options and belows:

Transparent color is normally setted automatically.

Verbose mode.
Set Gravity. Unit: kg cm/s^2
Set Chain length. Unit: mm
Set damping coefficient. from 0 to 1 real value. 0: never damp. 1: never swing.
Set starting degree (from 0 to 180 degree)
Set starting menu No.
Set starting Mascot No.
Set Mascot's Magnify.
Set Pin's graphics pattern.
Select Mascoot random when startup.
Change mascot periodic.(UNIT:min) Change random when using with -random.
ChangeMascot changing effects to all menu.
Set chain's number.
Draw pattern once per n times.
Set Mascot/Sounds data search path.
Set chain's graphics pattern.
Set sounds playing command. "%s" is replaced to sound's filename. For Exam. "cat %s > /dev/audio"
Set stating sound file.
Set clicking sound file.
Set ending sound file. Set ending sound file.
Set mail arrived sound file.
Don't use BIFF feature. -update sec Specifies the frequency to check mail's arriving. Unit: sec. (default 30sec)
Do action on every mail arriving. (on default, Only a action when first mail comes.)
Set mail checing command.
Set mail coming mark graphics pattern.
Set which position mail mark display. on Mascot's (left,center,right)
Don't show arrived mail list.
Set Mail List's geometry.
Set Filter command that invoked before disp Mail's List.
Set popuping time of Mail's list. Negative value: never popdown automatic.
Don't use YOUBIN command.
Set YOUBIN servername.
Set shadow width.
Don't disp shadow.

XMascot has meny actions that are caused by alarm and BIFF.

This is from .B X Toolkit 's actions feature. So actions can bind to keyboard and mouse.

translation name:

XMascot.translations: #override
XMascot.mascot_base.translations: #override

Ex.:
XMascot.translations: #override \
<Btn2Up>: chg_next() snd_click()\n\
Shift<Key>R: chg_random() snd_click()

On this example,As click on PIN winndow, Mascot changes to next mascot on menu and play starting-sound. and input Shift-R caused Changing mascot random and play clicking sound.

Please refer Xtoolkit's manual about actions.

To use actions by Alarm, input actions in Alarm dialogs. This setup are saved to $HOME/.xmascotrc .

Action's List.

Terminate program.
Change mascot to No num .
read file fname as Mascot.
Change mascot to next entry of menu.
Change mascot to netxt entry with all menus.
Change mascot random.
Change mascot random with all menus.
Push mascot little. Start swinging if mascot was stopping.
Play sound file continue.
Play starting sound.
Play clicking sound.
Play ending sound.
Play mail arriving sound.
Execute extern command.
Change parameter.
Gravity
Damping coefficient.
Magnify
Chain length
Beep Bell. This is XBell and no related USE_SOUND option on compiling. param 's range: from -100 to 100 refer manual of xset.
Show arrived mail's list.

XMascot can use X Toolkit standatrd resource and belows:

verbose (class Verbose)
Verbose mode.
gravity (class Gravity)
Set Gravity.
Set Chain Length.
Set damping coefficient.
degree (class Degree)
Set starting degree.
Set magnify for All mascots.
Set default actions.
Set default search-path.
Set Pin's graphics pattern.
Set Pin's transparent color.(INDEX)
Set Pin's transparent color.(RGB)
Set chain's number.
Set chain's graphics pattern.
Set chain's transparent color.(INDEX)
Set chain's transparent color.(RGB)
random (class Random)
Change mascot random.
Set a interval to change mascot.
Mascot changing effects to all menu.
Set startup mascot No.
Set startup menu No.
shadow (class Shadow)
Set shadow's width. 0 means no shadow.

Biff RESOURCES

biff feature ON/OFF
biff actions only Mail first comes.
Specifies the frequency to check mail's arriving.
Set a command to check mail comes.
Set default biff actions.
Set graphics pattern of Mail coming mark.
Set transparent color of biff mark.(INDEX)
Set transparent color of biff mark.(RGB)
Set fillter command for Coming mail's list.
Set auto-popdown time of Mail's list. (Negative Value:Don't popdown automatic. 0:Never Popup)
Set if use YOUBIN command or not.
server (class Server)
Set YOUBIN servername

SOUNDs RESOURCES

Set SOUND's play command.

Menu's RESOURCES

Menu's resource start after menu?.masDat?... Fill ?, Menu NUMBER and Mascot NUMBER.

like this: menu0.masDat0.title: My Mascot

Set menu set's number.
Set Mascot No on a menu.
Set Mascot's name.
Set Mascot pattern's filename.
Set Mascot's transparent color.(INDEX)
Set Mascot's transparent color.(RGB)
Set Mascot's magnify.
Set Mascot's starting sound.
Set Mascot's clicking sound.
Set Mascot's ending sound.
Set Mascot's mail arriving sound.
Set Mail mark's position.

$HOME/.xmascotrc
Save alarm time etc.

Parameter's range isn't checked.

Go Watanabe(Toyohashi Univ. of Tech. Computer Club) Main Programmer

Tsuyoshi Iida(TUT Computer Club) Graphics Loader Unit, etc.

Yasuhito Makino(TUT Computer Club) Mascot design.

HomePage http://cclub.tutcc.tut.ac.jp/xmascot/

10 Aug 1997 X Version 11

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.