Ask a Question related to Sun Solaris, Design and Development.
-
Rob Stampfli #1
Re: Customize prompt on KSH
In article <bgi4fs$oolo9$1@ID-144395.news.uni-berlin.de>,
Andrew Falanga <excalibur@icehouse.net> wrote:export PS1='[$PWD]>Hi,
>
>Don't know if it matters or not but I'm using Solaris 8. I want my
>shell to embed a new line character in the prompt value. For example,
>currently my prompt is:
>
>[/current/dir] >
>
>I'd like it to be:
>[/current/dir]>> >
>I'm using this in .profile:
>export PS1='[$PWD] >'
>
>I've tried doing something like PS1='[$PWD] \n>'. But all I get is
>[/current/dir] n> in my prompt. So, how is this done?Note: If you are typing this to the shell, when you type the CR,> '
the ksh will print a "> " on the next line, so what you will see
if you do this from the traditionalshell prompt is:
$ export PS1='[$PWD]^^> > '
The characters in these two columns are produced by the shell.
Another alternative, if you are using vi-mode within ksh, is to type:
$ export PS1='[$PWD]^V^J> '
where ^V is control-V and ^J is control-J to accomplish this.
Rob
Rob Stampfli Guest
-
Customize menubar
Hi all, created a menubar menu: menu Intro | _movie.go("Intro") Chapter 1 | _movie.go("Chapter 1") Chapter 2 | etc. menu: More info... -
How to add my customize stamps to PDF?
I could only add the default stamps that come with the Acrobat, how could I add my customize stamp to PDF? Thank you for your help Goran -
How do I customize a progress bar?
Hi All, First of all writing code for a progress bar is beyond my abilities. If someone can help me with setting up a progress bar that I can... -
How do I customize scroll bars
For those who are interested, I found that scrollbars can indeed be easily customized using a css .style tag in the heading section, eg.: <STYLE... -
customize x-window
Hi folks, I want to customise what I can do while in x-window. I want a bare minimum capabiliites. For instance, reduce the number of editors on...



Reply With Quote

