Short: Smart shell Prompt enhancement Author: Adrian Zurek Uploader: Adrian Zurek Type: util/cli Version: 1.0 Requires: AmigaOS 2.04 Architecture: m68k-amigaos SmartPrompt software and this documentation are written and copyrighted (C) 1997 by Adrian Zurek. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. There is no warranty, implied or whatever. You use this software at your own risk, no matter what purpose you put it to. You didn't pay for it, so don't expect magic. This small shell prompt enhancement can display: - current userid (with Multiuser/AmiTCP installed); - conditional strings (depending on a current userid - root/no root; - Your computer name; - paths in UNIX style; - paths in two different styles; - Your own strings. You can make it resident, but remember to set PURE bit. INSTALLATION and USAGE: - copy it to "C:" (or somewhere else in your path); - make it resident (put "resident C:SmartPrompt" line in "S:user-startup" for example); - edit your "S:shell-startup" and add this lines: set SPROMPT "[%R{*E[32m}%u%R{*E[0m}@%h %p{xdp03}]%R{#}%r{$}" - this is only an example! for more info see SmartPrompt.doc!!! prompt *`SmartPrompt*` - and that's all! Ready to go!