Comment 0 for bug 110818

Revision history for this message
In , A Costa (agcosta) wrote : xmacro: there's no man page

Package: xmacro
Version: 0.3pre-20000911-4
Severity: wishlist

'xmacro' looks to be useful for automating programs that don't play well
with stdio, but there's no man page telling how to use it, and the
examples given in '/usr/share/doc/xmacro/examples' seem intended for
'Xwindow' experts.

I'd like a man page with some examples of simplest possible cases, e.g.
a script like:

    #!/bin/sh
    # foo.sh -- ask for input, then respond.
    read -p "Type y or n" k
    case "$k" in
 [Yy]*) echo "Yeah!" ;;
 [Nn]*) echo "Naw!" ;;
 *) echo "Indecisive..." ;;
    esac

...how would one automate (or capture) input for 'foo.sh' running
on a local 'xterm'?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages xmacro depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.1-9 GCC support library
ii libstdc++6 4.0.1-9 The GNU Standard C++ Library v3
ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li
ii libxtst6 6.8.2.dfsg.1-7 X Window System event recording an
ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m

xmacro recommends no packages.

-- no debconf information