AminetAminet
Search:
84481 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/SmartPrompt.lha

Mirror:Random
Showing:ppc-warpupgeneric
No screenshot available
Short:Smart shell Prompt enhancement
Author:Adrian Zurek <adek at plukwa.pdi.net>
Uploader:Adrian Zurek <adek rast lodz pdi net>
Type:util/cli
Version:1.0
Requires:AmigaOS 2.04
Architecture:m68k-amigaos
Date:1998-09-27
Download:http://aminet.net/util/cli/SmartPrompt.lha - View contents
Readme:http://aminet.net/util/cli/SmartPrompt.readme
Downloads:485

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} at %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!


Contents of util/cli/SmartPrompt.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x   566/100         0       0 ****** -lhd- 0000 Sep 26  1998 SmartPrompt/
-rw-r--r--   566/100      7001   17982  38.9% -lh5- dc3e Sep 26  1998 SmartPrompt/COPYING
-rw-r--r--   566/100       201     296  67.9% -lh5- 4536 Sep 26  1998 SmartPrompt/SCOPTIONS
-rw-r--r--   566/100      2825    4476  63.1% -lh5- 6d7b Sep 26  1998 SmartPrompt/SmartPrompt
-rw-r--r--   566/100      3601    9252  38.9% -lh5- 79e2 Sep 26  1998 SmartPrompt/SmartPrompt.c
-rw-r--r--   566/100      4275    9681  44.2% -lh5- 233e Sep 26  1998 SmartPrompt/SmartPrompt.doc
-rw-r--r--   566/100      4216    9544  44.2% -lh5- 74ab Sep 26  1998 SmartPrompt/SmartPrompt.doc~
-rw-r--r--   566/100      1054    1927  54.7% -lh5- 2a3a Sep 26  1998 SmartPrompt/SmartPrompt.readme
-rw-r--r--   566/100      5323   11156  47.7% -lh5- c7fc Sep 26  1998 SmartPrompt/SmartPrompt_pol.doc
-rw-r--r--   566/100      5242   10988  47.7% -lh5- 4a4b Sep 26  1998 SmartPrompt/SmartPrompt_pol.doc~
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        10 files   33738   75302  44.8%            Sep 27  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>