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
- Swing on display prettily.
- Stretch
- Chain's length become longer and shorter as you like.
- Speak
- Speeking some sounds(needs sound's file and playing command)
- Alarm
- It can caused a action on specific time.
- BIFF
- It can work as BIFF (mail checker)
Basic Operations are...
- on PIN window:
- Left button Drag: Move position.
Right button Click: Popup menu.
- on Mascot window:
- Left Button Click: accelerate mascot moving.
Left button Drag: Change chain's length.
Right button Click: Clicking Sound.
- on Mail arrived maek
window:
- 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]
- a.
- Trigger this switch ON(Black) to valid setup.
- b.
- Time setup(24hour display hour:min ). Only timer alarm, min:sec
format.
- c.
- Setting actions. refer ACTIONS to know detail.
- d.
- Alarm test switch.
The datas setted by this menu are save to
$HOME/.xmascotrc.
About alarms:
- Daily Alarm
- Act on constant time on Everyday. Ther are 3.
- Timer Alarm
- Act some times after. Formats: min:sec
- Interval
Timer
- Act periodic timer.
- Hour Chime
- Chime on every hour's 0 min.
- Half-Hour
Chime
- Chime on everu hour's 30 min.
- Biff Action
- 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.
- Zero
- New mail comes.
- 2
- no change state.
when calling extern command, Mail List shows that command's
standard output.
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:
- on PIn's window
- XMascot.translations: #override
- on Mascot's window
- 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.
- quit
- Terminate program.
- change(num)
- Change mascot to No num .
- chg_file(fname[,title])
- read file fname as Mascot.
- chg_next
- Change mascot to next entry of menu.
- chg_next_all
- Change mascot to netxt entry with all menus.
- chg_random
- Change mascot random.
- chg_random_all
- Change mascot random with all menus.
- start_move
- Push mascot little. Start swinging if mascot was stopping.
- sound(fname1,...)
- Play sound file continue.
- snd_start
- Play starting sound.
- snd_click
- Play clicking sound.
- snd_end
- Play ending sound.
- snd_mail
- Play mail arriving sound.
- system(cmdline)
- Execute extern command.
- chg_param(param1,dat1,..)
- Change parameter.
- bell(param)
- Beep Bell. This is XBell and no related USE_SOUND option on compiling.
param 's range: from -100 to 100 refer manual of xset.
- showbiff
- Show arrived mail's list.
- $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/