Script started on Mon Oct 28 02:38:28 2002 [mcarroll@red scripts]$ cd .. [mcarroll@red mcarroll]$ ls apache firehol mail MAIL mozilla php scripts server web Window_maker [mcarroll@red mcarroll]$ mkdir hlpttyhelptty [mcarroll@red mcarroll]$ wget http://freshmeat.net/redir/ah-tty/40/url_tgz/ah-tty-0.3.12.tar .gz --02:38:58-- http://freshmeat.net/redir/ah-tty/40/url_tgz/ah-tty-0.3.12.tar.gz => `ah-tty-0.3.12.tar.gz' Resolving freshmeat.net... done. Connecting to freshmeat.net[64.28.67.35]:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://download.sourceforge.net/ah-tty/ah-tty-0.3.12.tar.gz [following] --02:38:58-- http://download.sourceforge.net/ah-tty/ah-tty-0.3.12.tar.gz => `ah-tty-0.3.12.tar.gz' Resolving download.sourceforge.net... done. Connecting to download.sourceforge.net[195.113.161.88]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 289,186 [application/x-gzip] 0% [ ] 0 --.--K/s ETA --:-- 3% [> ] 9,839 36.53K/s ETA 00:07 15% [======> ] 44,591 82.63K/s ETA 00:02 29% [=============> ] 85,064 114.26K/s ETA 00:01 57% [===========================> ] 167,520 176.29K/s ETA 00:00 76% [====================================> ] 222,544 192.67K/s ETA 00:00 100%[================================================>] 289,186 213.30K/s ETA 00:00 02:39:00 (213.30 KB/s) - `ah-tty-0.3.12.tar.gz' saved [289186/289186] [mcarroll@red mcarroll]$ ls ah-tty-0.3.12.tar.gz firehol mail mozilla scripts web apache helptty MAIL php server Window_maker [mcarroll@red mcarroll]$ mv ah* help* [mcarroll@red mcarroll]$ ls apache firehol helptty mail MAIL mozilla php scripts server web Window_maker [mcarroll@red mcarroll]$ cd hr elp* [mcarroll@red helptty]$ ls ah-tty-0.3.12.tar.gz [mcarroll@red helptty]$ tar xzf ah* [mcarroll@red helptty]$ ls ah-tty-0.3.12 ah-tty-0.3.12.tar.gz [mcarroll@red helptty]$ cd ah* [mcarroll@red ah-tty-0.3.12]$ ls aclocal.m4 ah-tty.texi config.sub doc ltmain.sh NEWS TODO ah-tty.1 AUTHORS configure include Makefile.am README ah-tty.conf ChangeLog configure.in INSTALL Makefile.in src ah-tty.info config.guess COPYING install-sh missing stamp-h.in ah-tty.lsm config.h.in dillib ltconfig mkinstalldirs texinfo.tex [mcarroll@red ah-tty-0.3.12]$ pico README  UW PICO(tm) 4.2 New Buffer ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell [ Reading file ][ Read 44 lines ] File: READMEA Helpful Tty (ah-tty)Formerly known as The Prompting SHell ("psh")This is an experimental program to try to do for the Linux (and UNIX)shell prompt what those little yellow popup "tooltips" do for agraphical environment. If you are an experienced shell user, you may enjoyit (some of my wizardly friends do). If you are new to the shell, or areintroducing new users to the shell, you may find it helpful.To explain in more detail: currently, there are two ways for a totalbeginner to work with UNIX; use one of the GUIs or File Manager styleprograms, or a menuing (is that a word?) shell of some sort. But thebottom line is that in many cases if you want the full power of UNIX,you have to hit the shell prompt. "ah-tty" tries to bridge the gap from amenu system to the shell prompt.Basically, it runs an inferior shell, and sits on top of it, watchingits input and output closely to determine (well, okay, guess) what isa prompt, and what is a user command. Currently it works with bash,and with csh if TERM is unset. The use of inline editing a la GNUreadline may confuse it, but will not interfere with normal execution of shellcommands. However, it does understand normal backspacing, as well asbash-style command and filename completion.When a user types something (or nothing), ah-tty uses a rules filecontaining appropriate delays and regular expressions to determinewhat helpful message to print. This is a lot harder to explain than toshow, so let me just show you; first build and install ah-tty:./configuremakemake installBasically, it runs an inferior shell, and sits on top of it, watchingits input and output closely to determine (well, okay, guess) what isa prompt, and what is a user command. Currently it works with bash,and with csh if TERM is unset. The use of inline editing a la GNUreadline may confuse it, but will not interfere with normal execution of shellcommands. However, it does understand normal backspacing, as well asbash-style command and filename completion.When a user types something (or nothing), ah-tty uses a rules filecontaining appropriate delays and regular expressions to determine what helpful message to print. This is a lot harder to explain than toshow, so let me just show you; first build and install ah-tty: ./configure make make installAnyway as I say, this is an experiment. It may turn out that for mostpeople ah-tty doesn't help at all. Certainly the rules file I have suppliedis woefully inadequate (see the RULES file for the format), but it's a start.If you like it, don't like it, have extra rules for me, have anysuggestions at all, or in particular have any trouble installing it,please drop me an email at the address below.Randy Maas Author of previous psh versions:Fraser McCrossan [mcarroll@red ah-tty-0.3.12]$ ls aclocal.m4 ah-tty.texi config.sub doc ltmain.sh NEWS TODO ah-tty.1 AUTHORS configure include Makefile.am README ah-tty.conf ChangeLog configure.in INSTALL Makefile.in src ah-tty.info config.guess COPYING install-sh missing stamp-h.in ah-tty.lsm config.h.in dillib ltconfig mkinstalldirs texinfo.tex [mcarroll@red ah-tty-0.3.12]$ pico INSTALL  UW PICO(tm) 4.2 New Buffer ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell [ Reading file ][ Read 19 lines ] File: INSTALL./configuremakeAnd if you are root, or have other system privleges:make installIf you do not have root access, you can still use ah-tty. Move ah-tty to yourlocal bin path, or add the path to ah-tty to your PATH. Next,cp ah-tty.conf ~/.ah-ttyrcFinally, Start ah-tty with:ah-tty(or ./ah-tty depending on your current setup)At the shell prompt, type "ls ", do not press enter. You should see a helpfulmessage at the bottom of the screen. Then, add a "*", and again wait. Deletethe whole line, and type "copy ", again no return. You get the idea.[mcarroll@red ah-tty-0.3.12]$ ./config bash: ./config: No such file or directory [mcarroll@red ah-tty-0.3.12]$ ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... yes checking for _ prefix in compiled symbols... (cached) no checking whether ln -s works... yes updating cache ./config.cache checking for object suffix... o checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... yes checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs checking for dlopen... no checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool loading cache ./config.cache checking for initscr in -lncurses... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for unistd.h... yes checking for sys/uio.h... yes checking for curses.h... yes checking for ctype.h... yes checking for strings.h... yes checking for string.h... yes checking for strings.h... (cached) yes checking for ltdl.h... yes checking for stropts.h... yes checking for search.h... yes checking for insque... yes checking for remque... yes checking for strchr... yes checking for memcpy... yes checking for bcopy... yes checking for socket... yes checking for setsid... yes checking for getpt... yes checking for grantpt... yes checking for unlockpt... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h [mcarroll@red ah-tty-0.3.12]$ make gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/autohelp.c In file included from dillib/autohelp.c:21: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/autohelp.c:21: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/autohelp.c:21: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/autohelp.c:21: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from dillib/autohelp.c:21: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from dillib/autohelp.c:21: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/ahread.c In file included from dillib/ahread.c:23: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/ahread.c:23: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/ahread.c:23: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/ahread.c:23: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from dillib/ahread.c:23: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from dillib/ahread.c:23: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/Spawn/dillofork.c In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillofork.c:6: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/Spawn/dillofork2.c In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillofork2.c:11: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/Spawn/dillospawn.c In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from dillib/Spawn/dillospawn.c:6: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/Spawn/pty.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/vty/vtansi.c In file included from dillib/vty/vtansi.c:30: dillib/vty/vtcurses.h:58:36: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/vty/vtansi.c:30: dillib/vty/vtcurses.h:58: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/vty/vtcurses.c In file included from dillib/vty/vtcurses.c:8: dillib/vty/vtcurses.h:58:36: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/vty/vtcurses.c:8: dillib/vty/vtcurses.h:58: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/vty/vtlabel.c In file included from dillib/vty/vtlabel.c:21: dillib/vty/vtcurses.h:58:36: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from dillib/vty/vtlabel.c:21: dillib/vty/vtcurses.h:58: warning: `INIT' attribute directive ignored dillib/vty/vtlabel.c: In function `__VT_label_text': dillib/vty/vtlabel.c:132: warning: implicit declaration of function `Disp_sched' dillib/vty/vtlabel.c:74: warning: unused variable `Col' gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c dillib/tvdiff.c rm -f libdill.a ar cru libdill.a autohelp.o ahread.o dillofork.o dillofork2.o dillospawn.o pty.o vtansi.o vtcurses.o vtlabel.o tvdiff.o ranlib libdill.a gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/psh.c In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.c:34: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.c:35: dillib/vty/vtcurses.h:58:36: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.c:51:40: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/psh.c:34: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/psh.c:34: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored In file included from src/psh.c:35: dillib/vty/vtcurses.h:58: warning: `INIT' attribute directive ignored src/psh.c:51: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/sig.c In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/sig.c:11: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/sig.c:11: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/sig.c:11: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/monitor.c In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/monitor.c:12: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/monitor.c:12: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/monitor.c:12: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/help.c In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/help.c:12: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/help.c:12: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/help.c:12: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/ShellWin.c In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/ShellWin.c:24: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/ShellWin.c:24: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/ShellWin.c:24: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -c src/usage.c In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:12:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:69:54: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:97:64: warning: pasting "(" and "INIT" does not give a valid preprocessing token include/dillib.h:101:6: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/usage.c:22: src/psh.h:69:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:70:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:74:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/psh.h:75:33: warning: pasting "(" and "INIT" does not give a valid preprocessing token src/usage.c:24:25: warning: pasting "(" and "INIT" does not give a valid preprocessing token In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:12: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:69: warning: `INIT' attribute directive ignored In file included from src/psh.h:5, from src/usage.c:22: include/dillib.h:97: warning: `INIT' attribute directive ignored include/dillib.h:101: warning: `INIT' attribute directive ignored In file included from src/usage.c:22: src/psh.h:69: warning: `INIT' attribute directive ignored src/psh.h:70: warning: `INIT' attribute directive ignored src/psh.h:74: warning: `INIT' attribute directive ignored src/psh.h:75: warning: `INIT' attribute directive ignored src/usage.c:24: warning: `INIT' attribute directive ignored /bin/sh ./libtool --mode=link gcc -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -o ah-tty psh.o sig.o monitor.o help.o ShellWin.o usage.o libdill.a -lpanel -lncurses -rdynamic gcc -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -o ah-tty psh.o sig.o monitor.o help.o ShellWin.o usage.o libdill.a -lpanel -lncurses -rdynamic /bin/sh ./libtool --mode=link gcc -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -o ah-tty.static --static psh.o sig.o monitor.o help.o ShellWin.o usage.o libdill.a -lpanel -lncurses -rdynamic gcc -g -Wall -Waggregate-return -I./include -g -O2 -DDATADIR=\"/usr/local/share\" -o ah-tty.static --static psh.o sig.o monitor.o help.o ShellWin.o usage.o libdill.a -lpanel -lncurses -rdynamic [mcarroll@red ah-tty-0.3.12]$ sudo make install Password: make[1]: Entering directory `/home/mcarroll/helptty/ah-tty-0.3.12' /bin/sh ./mkinstalldirs /usr/local/bin /bin/sh ./libtool --mode=install /usr/bin/install -c ah-tty /usr/local/bin/ah-tty /usr/bin/install -c ah-tty /usr/local/bin/ah-tty /bin/sh ./libtool --mode=install /usr/bin/install -c ah-tty.static /usr/local/bin/ah-tty.static /usr/bin/install -c ah-tty.static /usr/local/bin/ah-tty.static /bin/sh ./mkinstalldirs /usr/local/info /usr/bin/install -c -m 644 ./ah-tty.info /usr/local/info/ah-tty.info make install-man1 make[2]: Entering directory `/home/mcarroll/helptty/ah-tty-0.3.12' /bin/sh ./mkinstalldirs /usr/local/man/man1 /usr/bin/install -c -m 644 ./ah-tty.1 /usr/local/man/man1/ah-tty.1 make[2]: Leaving directory `/home/mcarroll/helptty/ah-tty-0.3.12' /bin/sh ./mkinstalldirs /usr/local/share /usr/bin/install -c -m 644 ./ah-tty.conf /usr/local/share/ah-tty.conf make[1]: Leaving directory `/home/mcarroll/helptty/ah-tty-0.3.12' [mcarroll@red ah-tty-0.3.12]$ start     ah0 -tty (B)0[?7h[?1h=This is ah-tty, running over [/bin/bash], with a 109 prompt database. [mcarroll@red ah-tty-0.3.12]$ h  halt -- Stops the computer hostname -- Prints name of computer  head -- Output the first part of a file  helpi  llast-- List when the user logged in ld-- Link a program together  lastb-- List when the user logged in failed ls-- List files  ln -- Link a file under a new name or locationsList files; usage: ls options filenames  Options: -l long form; -a include hidden; -s with size; -F show type   -al -rw-rw-r-- 1 mcarroll mcarroll 32908 Oct 28 02:46 dillospawn.o drwxrwxr-x 2 mcarroll mcarroll 4096 Sep 2 2000 doc -rw-rw-r-- 1 mcarroll mcarroll 36432 Oct 28 02:46 help.o drwxr--r-- 2 mcarroll mcarroll 4096 Sep 2 2000 include -rw-r--r-- 1 mcarroll mcarroll 571 Aug 26 2000 INSTALL -rw-r--r-- 1 mcarroll mcarroll 5598 Mar 1 2000 install-sh -rw-rw-r-- 1 mcarroll mcarroll 321138 Oct 28 02:46 libdill.a -rwxrwxr-x 1 mcarroll mcarroll 112237 Oct 28 02:44 libtool -rwxr-xr-x 1 mcarroll mcarroll 86948 Mar 1 2000 ltconfig -rw-r--r-- 1 mcarroll mcarroll 104289 Mar 1 2000 ltmain.sh -rw-rw-r-- 1 mcarroll mcarroll 21474 Oct 28 02:44 Makefile -rw-rw-r-- 1 mcarroll mcarroll 1579 Jul 25 2000 Makefile.am -rw-rw-r-- 1 mcarroll mcarroll 21292 Sep 2 2000 Makefile.in -rw-r--r-- 1 mcarroll mcarroll 6283 Mar 1 2000 missing -rw-r--r-- 1 mcarroll mcarroll 722 Mar 1 2000 mkinstalldirs -rw-rw-r-- 1 mcarroll mcarroll 47932 Oct 28 02:46 monitor.o -rw-r--r-- 1 mcarroll mcarroll 282 Aug 26 2000 NEWS -rw-rw-r-- 1 mcarroll mcarroll 34824 Oct 28 02:46 psh.o -rw-rw-r-- 1 mcarroll mcarroll 23368 Oct 28 02:46 pty.o -r--r--r-- 1 mcarroll mcarroll 2077 Jun 23 2000 README -rw-rw-r-- 1 mcarroll mcarroll 37552 Oct 28 02:46 ShellWin.o -rw-rw-r-- 1 mcarroll mcarroll 37124 Oct 28 02:46 sig.o drwxr--r-- 2 mcarroll mcarroll 4096 Sep 2 2000 src -rw-rw-r-- 1 mcarroll mcarroll 10 Oct 28 02:44 stamp-h -rw-rw-r-- 1 mcarroll mcarroll 10 Aug 20 2000 stamp-h.in -rw-r--r-- 1 mcarroll mcarroll 183111 Aug 12 2000 texinfo.tex -rw-r--r-- 1 mcarroll mcarroll 190 Jun 24 2000 TODO -rw-rw-r-- 1 mcarroll mcarroll 7852 Oct 28 02:46 tvdiff.o -rw-rw-r-- 1 mcarroll mcarroll 35100 Oct 28 02:46 usage.o -rw-rw-r-- 1 mcarroll mcarroll 43480 Oct 28 02:46 vtansi.o -rw-rw-r-- 1 mcarroll mcarroll 35048 Oct 28 02:46 vtcurses.o -rw-rw-r-- 1 mcarroll mcarroll 31936 Oct 28 02:46 vtlabel.o [mcarroll@red ah-tty-0.3.12]$ ls-lp.o [mcarroll@red ah-tty-0.3.12]$ ls -l [mcarroll@red ah-tty-0.3.12]$ clear78 [mcarroll@red ah-tty-0.3.12]$ c * bash: aclocal.m4: command not found [mcarroll@red ah-tty-0.3.12]$ c  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd)d  Change the current directory  cd dir    cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpiocopy -- Use cp current -- Current directory (use pwd)d  Change the current directory  cd dir  dir bash: cd: dir: No such file or directory [mcarroll@red ah-tty-0.3.12]$ w  w -- what users are doingwhich-- Where a command is stored  wc who -- who is on  where -- Where a file is (use find,which) whoamiho Who is on; usage: who options Options: -q just logins and count of users; -i show idle time   and what are they doing; usage: w options w options user-na Options: -h no header; -s short form  ho; usage: who options Options: -q just logins and count of users; -i show idle ti  mcarroll pts/0 Oct 28 02:38 (rdu57-242-138.nc.rr.com) mcarroll pts/1 Oct 27 21:34 (rdu57-242-138.nc.rr.com) [mcarroll@red ah-tty-0.3.12]$ w and what are they doing; usage: w options w options user-na Options: -h no header; -s short formh  c  cal cat chgrp chmod chown chroot chvtcicksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd) w  w -- what users are doing which-- Where a command is stored  wc who -- who is on  where -- Where a file is (use find,which) whoamiho Who is on; usage: who options Options: -q just logins and count of users; -i show idle time ami mcarroll [mcarroll@red ah-tty-0.3.12]$ aliasah-tty="aid" bash: alias: `ah-tty' not found bash: alias: `=' not found bash: alias: `aid' not found [mcarroll@red ah-tty-0.3.12]$ a c  cal cat chgrp chmod chown chroot chvt  ci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd)lr earlear -- Clears your screen  ah-tty This is ah-tty, running over [/bin/bash], with a 109 prompt database.[mcarroll@red ah-tty-0.3.12]$ c  cal cat chgrp chmod chown chroot chvt  cicksum co configure cp cpiocopy -- Use cp current -- Current directory (use pwd)le  echo -- Prints the line env -- List environment variables  edit -- Edit a file (use vi or pico) exit -- Leave the shell  email -- Use mutt or pine export -- Export a variablearlear -- Clears your screen  File matching (or "globbing") characters are:  ? any single character * zero or more characters  [...] any character in the brackets [^...] any character not in the brackets! aliasah='ah-tty' [mcarroll@red ah-tty-0.3.12]$ File matching (or "globbing") characters are:  ? any single character *zero or more characters  [...] any character in the brackets [^...] any character not in the bracketsb  basename -- Prints name of the file without path as  sed sort  sh startx -- Start the X windows system  sleep synch File matching (or "globbing") characters are:  ? any single character * zero or more characters  [...] any character in the brackets [^...] any character not in the brackets[mcarroll@red ah-tty-0.3.12]$ clear  clear -- Clears your screen zc  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd)   s  sed sort  sh startx -- Start the X windows system  sleep sync  bash: zs: command not found [mcarroll@red ah-tty-0.3.12]$ ac  calcat chgrp chmod chown chroot chvtcicksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd) hhgrp -- Changes ownership of file chroot-- Change the root directoryhmod -- Change access permissions chvt -- Change current terminal  chown -- Changes ownership of file bash: ach: command not found [mcarroll@red ah-tty-0.3.12]$ File matching (or "globbing") characters are:  ? any single character * zero or more characters  [...] any character in the brackets [^...] any character not in the bracketsazh   z  zcatsh red% bash [mcarroll@red ah-tty-0.3.12]$ File matching (or "globbing") characters are:  ? any single character *zero or more characters  [...] any character in the brackets [^...] any character not in the bracketsc  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd) learlear -- Clears your screen  cd/m home/mcarroll [mcarroll@red mcarroll]$ File matching (or "globbing") characters are:  ? any single character *zero or more characters  [...] any character in the brackets [^...] any character not in the bracketsl  last-- List when the user logged in ld-- Link a program together  lastb-- List when the user logged in failed ls-- List files  ln -- Link a file under a new name or locations  List files; usage: ls options filenames  Options: -l long form; -a include hidden; -s with size; -F show type  apache firehol helptty mail MAIL mozilla php scripts server web Window_maker [mcarroll@red mcarroll]$ clearmcarroll]$ ls-al drwx------ 2 mcarroll mcarroll 4096 Oct 14 19:12 .gnome_private -rw-r--r-- 1 mcarroll mcarroll118 Sep 9 15:32 .gtkrc drwxrwxr-x 3 mcarroll mcarroll 4096 Oct 28 02:39 helptty -rw------- 1 mcarroll mcarroll 0 Oct 21 20:46 .ICEauthority drwxr-xr-x 3 mcarroll mcarroll 4096 Oct 20 18:24 .kde -rw------- 1 mcarroll mcarroll 14336 Oct 7 19:49 .lynxrc drwx------ 2 mcarroll mcarroll 4096 Oct 20 23:56 mail drwxrwxr-x 4 mcarroll mcarroll 4096 Sep 27 00:26 MAIL -rw-rw-r-- 1 mcarroll mcarroll 11 Sep 16 18:52 .mh_profile drwxrwxr-x 3 mcarroll mcarroll 4096 Oct 20 18:59 mozilla drwxr-xr-x 3 mcarroll mcarroll 4096 Oct 20 19:08 .mozilla drwxr-xr-x 5 mcarroll mcarroll 4096 Oct 20 20:25 .nautilus drwxrwxr-x 3 mcarroll mcarroll 4096 Oct 13 20:29 php -rw------- 1 mcarroll mcarroll 14673 Oct 5 01:45 .pinerc drwxr-xr-x 2 mcarroll mcarroll 4096 Oct 20 18:24 .qt -rw-rw-r-- 1 mcarroll mcarroll 241977 Oct 21 20:45 .rhn-applet.cache -rw------- 1 mcarroll mcarroll498 Oct 21 20:45 .rhn-applet.conf drwxr-xr-x 3 mcarroll mcarroll 4096 Oct 20 18:13 .sawfish drwxrwxr-x 2 mcarroll mcarroll 4096 Oct 28 02:38 scripts drwxrwxr-x 3 mcarroll mcarroll 4096 Sep 17 00:59 server drwx------ 2 mcarroll mcarroll 4096 Sep 23 19:54 .ssh -rw-r--r-- 1 root root104 Oct 21 19:57 .TWM-errors -rw------- 1 mcarroll mcarroll 2534 Oct 10 17:45 .viminfo drwxrwxr-x 3 mcarroll mcarroll 4096 Oct 5 00:45 web drwxrwxr-x 3 mcarroll mcarroll 4096 Oct 20 20:04 Window_maker -rw-r--r-- 1 root root 7 Oct 21 19:56 .wm_style -rw------- 1 mcarroll mcarroll 0 Oct 21 20:46 .Xauthority drwx------ 2 mcarroll mcarroll 4096 Oct 21 20:45 .xchat -rw-r--r-- 1 mcarroll mcarroll 13417 Oct 20 18:24 .xftcache [mcarroll@red mcarroll]$ ls  clear[mcarroll@red mcarroll]$ exit    alclearls -alclearlsear cd /home/mcarrolllearsudo /usr/sbin/lokkit -f/usr/sbin/lokkit -flocate lokkit /usr/sbin/loksudo /usr/sbin/lokkit -fcleard /home/mcarroll lsclear ls -alclearalear    aliasah="ah-yy  tty" [mcarroll@red mcarroll]$ File matching (or "globbing") characters are:  ? any single character * zero or more characters  [...] any character in the brackets [^...] any character not in the bracketsah This is ah-tty, running over [/bin/bash], with a 109 prompt database.[mcarroll@red mcarroll]$   page -- Page through a file print -- Print file (use lpr or more)  pine -- Internet News & Email printenv-- print environment variables  pico -- edit a file pwd -- Say what directory you're in pwd -- Tells you want the current directory is d /home/mcarroll [mcarroll@red mcarroll]$   last-- List when the user logged in ld-- Link a program together  lastb-- List when the user logged in failed ls-- List files  ln -- Link a file under a new name or locationList files; usage: ls options filenames  Options: -l long form; -a include hidden; -s with size; -F show type  apache firehol helptty mail MAIL mozilla php scripts server web Window_maker [mcarroll@red mcarroll]$ exitah-tty: session ended, goodbye. [mcarroll@red mcarroll]$  > file Send standard output to file  >>file Append standard output to end of file  2>&1 Send standard error to wherever standard output is goingprogram Pipe standac  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpiocopy -- Use cp current -- Current directory (use pwd) learlear -- Clears your screen [mcarroll@red mcarroll]$ exit exit red% exit [mcarroll@red ah-tty-0.3.12]$ File matching (or "globbing") characters are:  ? any single character *zero or more characters  [...] any character in the brackets [^...] any character not in the bracketse  echo -- Prints the line env -- List environment variables  edit -- Edit a file (use vi or pico) exit -- Leave the shell  email -- Use mutt or pine export -- Export a variable xit exit [mcarroll@red ah-tty-0.3.12]$ exitah-tty: session ended, goodbye. [mcarroll@red ah-tty-0.3.12]$  > file Send standard output to file  >>file Append standard output to end of file  2>&1 Send standard error to wherever standard output is goingprogram Pipe standac  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpiocopy -- Use cp current -- Current directory (use pwd) learlear -- Clears your screen 78 [mcarroll@red ah-tty-0.3.12]$ exit [?1l>ah-tty: session ended, goodbye. [mcarroll@red ah-tty-0.3.12]$ clear [mcarroll@red ah-tty-0.3.12]$ echo too many she;l  lls! too many shells! [mcarroll@red ah-tty-0.3.12]$ ls aclocal.m4 autohelp.o configure.in install-sh monitor.o texinfo.tex ahread.o ChangeLog COPYING libdill.a NEWS TODO ah-tty config.cache dillib libtool psh.o tvdiff.o ah-tty.1 config.guess dillofork2.o ltconfig pty.o usage.o ah-tty.conf config.h dillofork.o ltmain.sh README vtansi.o ah-tty.info config.h.in dillospawn.o Makefile ShellWin.o vtcurses.o ah-tty.lsm config.log doc Makefile.am sig.o vtlabel.o ah-tty.static config.status help.o Makefile.in src ah-tty.texi config.sub include missing stamp-h AUTHORS configure INSTALL mkinstalldirs stamp-h.in [mcarroll@red ah-tty-0.3.12]$ ah-tty     bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ alias --help bash: alias: illegal option: -- alias: usage: alias [-p] [name[=value] ... ] [mcarroll@red ah-tty-0.3.12]$ man alias [?1h=:16: realpath on `bash.1' failed: No such file or directory BASH_BUILTINS(1) BASH_BUILTINS(1) NAME bash, :, ., [, alias, bg, bind, break, builtin, case, cd, command, comp- gen, complete, continue, declare, dirs, disown, echo, enable, eval, exec, exit, export, fc, fg, for, getopts, hash, help, history, if, jobs, kill, let, local, logout, popd, printf, pushd, pwd, read, readonly, return, set, shift, shopt, source, suspend, test, times, trap, type, typeset, ulimit, umask, unalias, unset, until, wait, while - bash built-in commands, see bash(1) BASH BUILTIN COMMANDS SEE ALSO bash(1), sh(1) GNU Bash-2.05a 2001 October 29 BASH_BUILTINS(1) (END) (END)  ESCESCOOBB(END) [?1l>[mcarroll@red ah-tty-0.3.12]$ alias ah-tty=ah [mcarroll@red ah-tty-0.3.12]$ alias ah-tty=ahalias ah-tty=ahalias ah-tty=ah [mcarroll@red ah-tty-0.3.12]$ alias ah-tty=ahman alias [?1h=:16: realpath on `bash.1' failed: No such file or directory BASH_BUILTINS(1) BASH_BUILTINS(1) NAME bash, :, ., [, alias, bg, bind, break, builtin, case, cd, command, comp- gen, complete, continue, declare, dirs, disown, echo, enable, eval, exec, exit, export, fc, fg, for, getopts, hash, help, history, if, jobs, kill, let, local, logout, popd, printf, pushd, pwd, read, readonly, return, set, shift, shopt, source, suspend, test, times, trap, type, typeset, ulimit, umask, unalias, unset, until, wait, while - bash built-in commands, see bash(1) BASH BUILTIN COMMANDS SEE ALSO bash(1), sh(1) GNU Bash-2.05a 2001 October 29 BASH_BUILTINS(1) (END) [?1l>[mcarroll@red ah-tty-0.3.12]$ clear [mcarroll@red ah-tty-0.3.12]$ alias alias ah-tty='ah' alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red ah-tty-0.3.12]$ ah bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ ah-tty bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ cd [mcarroll@red mcarroll]$ ls apache firehol helptty mail MAIL mozilla php scripts server web Window_maker [mcarroll@red mcarroll]$ cd helptty [mcarroll@red helptty]$ ls ah-tty-0.3.12 ah-tty-0.3.12.tar.gz [mcarroll@red helptty]$ cd ah* [mcarroll@red ah-tty-0.3.12]$ ls aclocal.m4 autohelp.o configure.in install-sh monitor.o texinfo.tex ahread.o ChangeLog COPYING libdill.a NEWS TODO ah-tty config.cache dillib libtool psh.o tvdiff.o ah-tty.1 config.guess dillofork2.o ltconfig pty.o usage.o ah-tty.conf config.h dillofork.o ltmain.sh README vtansi.o ah-tty.info config.h.in dillospawn.o Makefile ShellWin.o vtcurses.o ah-tty.lsm config.log doc Makefile.am sig.o vtlabel.o ah-tty.static config.status help.o Makefile.in src ah-tty.texi config.sub include missing stamp-h AUTHORS configure INSTALL mkinstalldirs stamp-h.in [mcarroll@red ah-tty-0.3.12]$ ah-tty bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ pwd /home/mcarroll/helptty/ah-tty-0.3.12 [mcarroll@red ah-tty-0.3.12]$ pwd/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty (B)0[?7h[?1h=This is [/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty], running over [/bin/bash], with a 109 prompt database. [mcarroll@red ah-tty-0.3.12]$ e  echo -- Prints the line env -- List environment variables  edit -- Edit a file (use vi or pico) exit -- Leave the shell  email -- Use mutt or pine export -- Export a variablexit [?1l>ah-tty: session ended, goodbye. [mcarroll@red ah-tty-0.3.12]$ /home/mcarroll/helptty/ah-tty-0.3.12/ah-tty [mcarroll@red ah-tty-0.3.12]$ alias ah=     alias ah-tty='ah' alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red ah-tty-0.3.12]$ alis as /home/mcarroll/helptty/ah-tty-0.3.12/ah-tty='ah' [mcarroll@red ah-tty-0.3.12]$ ah bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ alias alias /home/mcarroll/helptty/ah-tty-0.3.12/ah-tty='ah' alias ah-tty='ah' alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red ah-tty-0.3.12]$ alias ah=" '/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ alias alias /home/mcarroll/helptty/ah-tty-0.3.12/ah-tty='ah' alias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' alias ah-tty='ah' alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red ah-tty-0.3.12]$ ah bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ ahlias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty'salias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ sualias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ sudalias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ sudoalias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ sudo alias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' [mcarroll@red ah-tty-0.3.12]$ sudo Password: sudo: alias: command not found [mcarroll@red ah-tty-0.3.12]$ su Password: red# aalias ah = '/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty/ ' zsh: bad assignment red# alias ah = '/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty'= '/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' '/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty'  red# aalias ah=/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty run-help=man which-command=whence red# eexit [mcarroll@red ah-tty-0.3.12]$ ah bash: ah: command not found [mcarroll@red ah-tty-0.3.12]$ clear [mcarroll@red ah-tty-0.3.12]$ ah-tty (B)0[?7h[?1h=This is [/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty], running over [/bin/bash], with a 109 prompt database. [mcarroll@red ah-tty-0.3.12]$ e  echo -- Prints the line env -- List environment variables  edit -- Edit a file (use vi or pico) exit -- Leave the shell  email -- Use mutt or pine export -- Export a variablexit [?1l>ah-tty: session ended, goodbye. [mcarroll@red ah-tty-0.3.12]$ cd /home [mcarroll@red home]$ ah-tty (B)0[?7h[?1h=This is [/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty], running over [/bin/bash], with a 109 prompt database. [mcarroll@red home]$ alias alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red home]$ exit [?1l>ah-tty: session ended, goodbye. [mcarroll@red home]$ alias alias /home/mcarroll/helptty/ah-tty-0.3.12/ah-tty='ah' alias ah='/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty' alias ah-tty='ah' alias l.='ls -d .[a-zA-Z]* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias vi='vim' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' [mcarroll@red home]$ ah bash: ah: command not found [mcarroll@red home]$ ah-tty (B)0[?7h[?1h=This is [/home/mcarroll/helptty/ah-tty-0.3.12/ah-tty], running over [/bin/bash], with a 109 prompt database. [mcarroll@red home]$ h  halt -- Stops the computer hostname -- Prints name of computer  head -- Output the first part of a file  help llast-- List when the user logged in ld-- Link a program together  lastb-- List when the user logged in failed ls-- List files  ln -- Link a file under a new name or location ccal cat chgrp chmod chown chroot chvt  ci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd) mma.. -- make, man move, mv -- Move or rename a file  mk.. -- Making special files mt  moreDisplays a file on the screen mutt -- Read email ail -- Use mutt or pine  makee a programan -- Get a manual pagen Manual pages: to find out how to use the manual program: man manTo show the manual for the "ls" command: man lsTo search for a keyword in the manual:man -k word  mail -- Use mutt or pine  make -- Make a program  man -- Get a manual page .. -- make, man move, mv -- Move or rename a file  mk..ing special filesmtoreDisplays a file on the screen mutt -- Read email ggrepSearch for pattern in file  gunzip -- Uncompress file  gzipCompress fileunzip gunzip: compressed data not read from a terminal. Use -f to force decompression. For help, type: gunzip -h [mcarroll@red home]$ gz  gr  ttailOutput the last part of files testtar touchtee tra tail   -n N Print the first N lines  -f Follow the filer   tailtesttar touchtee tr tes   tr  bbasename -- Prints name of the file without path  ffalse-- Always returns false freeramdisk -- Deallocate unused ramdisk  find -- Find files matchomg a pattern fsck -- Check a filesystem  free -- Report on free memorysck --help bash: fsck: command not found [mcarroll@red home]$ mma.. -- make, man  move, mv -- Move or rename a file  mk.. -- Making special files mt  more -- Displays a file on the screen mutt -- Read emailail -- Use mutt or pine  makee a programan -- Get a manual pagen Manual pages: to find out how to use the manual program: man manTo show the manual for the "ls" command: man lsTo search for a keyword in the manual:man -k word fsck FSCK(8) FSCK(8) NAME  fsck - check and repair a Linux file system SYNOPSIS  fsck [ -sACVRTNP ] [ -t fstype ] filesys [ ... ] [--] [ fsck-options ] DESCRIPTION  fsck is used to check and optionally repair a one or more Linux file sys-  tems. filesys can be a device name (e.g. /dev/hdc1, /dev/sdb2), a mount  point (e.g. /, /usr, /home), or an ext2 label or UUID specifier (e.g.  UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). The fsck pro-  gram will try to run filesystems on different physical disk drives in par-  allel to reduce total amount time to check all of the filesystems.  The exit code returned by fsck is the sum of the following conditions:  0 - No errors  1 - File system errors corrected  2 - System should be rebooted  4 - File system errors left uncorrected  8 - Operational error  16 - Usage or syntax error  128 - Shared library error  The exit code returned when all file systems are checked using the -A  option is the bit-wise OR of the exit codes for each file system that is  checked.  In actuality, fsck is simply a front-end for the various file system  checkers (fsck.fstype) available under Linux. The file system-specific  checker is searched for in /sbin first, then in /etc/fs and /etc, and  finally in the directories listed in the PATH environment variable.  Please see the file system-specific checker manual pages for further  details. : OPTIONS :  -s Serialize fsck operations. This is a good idea if you checking   multiple filesystems and the checkers are in an interactive mode.   (Note: e2fsck(8) runs in an interactive mode by default. To make   e2fsck(8) run in a non-interactive mode, you must either specify   the -p or -a option, if you wish for errors to be corrected auto- File matching (or "globbing") characters are:  ? any single character *zero or more characters  [...] any character in the brackets [^...] any character not in the brackets:  matically, or the -n option if you do not.) : :  -t fslist :  Specifies the type(s) of file system to be checked. When the -A   flag is specified, only filesystems that match fslist are checked.   The fslist parameter is a comma-separated list of filesystems and   options specifiers. All of the filesystems in this comma-separated   list may be prefixed by a negation operator 'no' or '!', which   requests that only those filesystems not listed in fslist will be   checked. If all of the filesystems in fslist are not prefixed by a   negation operator, then only those filesystems listed in fslist   will be checked. : :  Options specifiers may be included in the comma separated fslist.   They must have the format opts=fs-option, and may be prefixed by a   negation operator. If an options specifier is present, then only   filesystems whose /etc/fstab entry do (or do not, if the options   specifier was prefixed by a negation operator) contain fs-option in   their options field of the /etc/fstab file will be checked.  :  For compatibility with Mandrake distributions whose boot scripts   depend upon an unauthorized UI change to the fsck program, if a   filesystem type of loop is found in fslist, it is treated as if  opts=loop were specified as an argument to the -t option. : :  Normally, the filesystem type is deduced by searching for filesys   in the /etc/fstab file and using the corresponding entry. If the   type can not be deduced, and there is only a single filesystem  given as an argument to the -t option, fsck will use the specified   filesystem type. If this type is not available, then the default   file system type (currently ext2) is used. : :  -A Walk through the /etc/fstab file and try to check all file systems  in one run. This option is typically used from the /etc/rc system   initalization file, instead of multiple commands for checking a   single file system. : :  The root filesystem will be checked first unless the -P option is   specified (see below). After that, filesystems will be checked in   the order specified by the fs_passno (the sixth) field in the   /etc/fstab file. Filesystems with a fs_passno value of 0 are   skipped and are not checked at all. Filesystems with a fs_passno  value of greater than zero will be checked in order, with filesys-   tems with filesystems with the lowest fs_passno number being  checked first. If there are multiple filesystems with the same   pass number, fsck will attempt to check them in parallel, although   it will avoid running multiple filesystem checks on the same physi-   cal disk. :  Hence, a very common configuration in /etc/fstab files is to set   the root filesystem to have a fs_passno value of 1 and to set all   filesystems to have a fs_passno value of 2. This will allow fsck   to automatically run filesystem checkers in parallel if it is  advantageous to do so. System administrators might choose not to   use this configuration if they need to avoid multiple filesystem   checks running in parallel for some reason --- for example, if the   machine in question is short on memory so that excessive paging is   a concern. :  -C Display completion/progress bars for those filesystems checkers   (currently only for ext2) which support them. Fsck will manage   the filesystem checkers so that only one of them will display a   progress bar at a time. : :  -N Don't execute, just show what would be done. : :  -P When the -A flag is set, check the root filesystem in parallel with   the other filesystems. This is not the safest thing in the world   to do, since if the root filesystem is in doubt things like the [mcarroll@red home]$ fsck bash: fsck: command not found [mcarroll@red home]$ c  cal cat chgrp chmod chown chroot chvtci cksum co configure cp cpio  copy -- Use cp current -- Current directory (use pwd) learlear -- Clears your screen 78 [mcarroll@red home]$ exit [?1l>ah-tty: session ended, goodbye. [mcarroll@red home]$ exit Script done on Mon Oct 28 03:39:24 2002