A blank line before the unix prompt?

Ilhamuddin Ahmed ilham at athena.mit.edu
Mon Aug 8 15:57:24 AEST 1988


In article <3809 at okstate.UUCP> Ashok writes 
>
>Is it possible to make echo " " a part of the unix prompt? My objective
>is to print a blank line before a prompt to improve clarity of the output
>from the previous unix command. The example follows:
>	%
>	% ls
>	  <output of "ls" command>
>	% <blank line>
>	% <now cursor is here>
>
>Will appreciate the response. Thanks!  -- Ashok


If you are using csh or tcsh then you can simply do this by adding the
following in your .cshrc (or .tcshrc) or by manually typing it in 
[Ugh :-] 

set prompt = "% \
% "

Please note that there is no space after the '\'. This way, you can have
multiple-line prompts.

						- Ilham


==============================================================================

            \\\!///             From  :   Ilhamuddin Ahmed [MIT '91]
             _   _              UUCP  :   {backbone}!mit-eddie!athena!ilham
           ( Q   Q )            Arpa  :   ilham at juicy-juice.lcs.mit.edu
 ---,,,,-------U-------,,,,---  USnail:   MIT Laboratory for Computer Science
                                          545 Technology Square, Room 213
            HELLO!!!                      Cambridge, MA 02139.
 -----------------------------  Phone :   (617)-253-3578

==============================================================================



More information about the Comp.unix.questions mailing list