Next: Commands for avatarsay, Previous: Different avatar image, Up: Using avatarsay
The format for running avatarsay is:
avatarsay [options] [textfiles]
avatarsay [options] --execute program [program options]
If textfiles is - then the input is read from stdin and the program doesn't loop.
The program avatarsay supports the following options:
--help-h--version-v--terminal-t--execute-x-eA program name must be given. Options after the program name are options
for the executed program.
--nocolor-b--window-w--fullscreen-f--fullfullscreen-FThis option is also useful when there is only a fullscreen mode, but
switching the screen resolution doesn't work; for example with the
VESA framebuffer device of the kernel Linux
This option is only supported with SDL version 1.2.10 or newer.
--encoding=nameIt depends on your systems iconv implementation, which encodings
are supported. On some systems you can get a list with the command
iconv -l.
--latin1-l--utf-8--utf8-u8-uUTF-8
--once-1--popup-pUse this for a fast popup text.
Use the command .stop to also get a fast end.
--no-delay-n--raw-r--ignoreeof-iThe command avatarsay supports the following environment variables:
AVATARIMAGEDATADIRLC_ALLLC_CTYPELANGSHELLHOME
You can also use a configuration file with the name /etc/avatarsay to
set values for AVATARIMAGE and DATADIR.
for example:
AVATARIMAGE=/usr/local/share/pixmaps/myavatar.bmp
AVATARDATADIR=/usr/local/share/akfavatar