11-03-2014
What shell and OS are you using? Show us the code you're using to set PS1. You have somehow included a carriage return character in PS1.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
in csh I was using:
set prompt=""$HOSTNAME".tk.\!> "
to customize the look of my prompt. I have seen the light after reading the perils of csh scripting and wish to switch to bash. How do I customize my bash prompt??? I've tried many variation of the above w/no success, and searching this... (2 Replies)
Discussion started by: yankee428
2 Replies
2. Shell Programming and Scripting
I'm trying to use unison from bash on windows with cygwin. I don't know if this is a cygwin question, bash question or unison question. Since I always get reprimanded by the cygwin mailing list for assuming it is a cygwin problem, I'll assume it is a bash question.
The following commands work... (7 Replies)
Discussion started by: siegfried
7 Replies
3. Shell Programming and Scripting
It looks like,
user@hostname:/auto/home3/user$
Desired,
user@hostname$
I added following line in .bashrc, but still its same.
export PS1=" $ "
Please help me :confused: (13 Replies)
Discussion started by: admax
13 Replies
4. UNIX for Advanced & Expert Users
Hi,
Does anyone know any way of making bash prompt extended with conditional content?
Example:
export PS1="] && echo '#' || echo '\$'" # This won't work - prompt is not executed
# export PS1="\$" # This is an existing but also working equivalent
I would like to use more complex... (8 Replies)
Discussion started by: adderek
8 Replies
5. OS X (Apple)
I'm using a custom prompt with PS1 in my .profile. It is
PS1="\\u@\e\:\W\ \\$\ \"
and it works well, as you can see,
http://content.screencast.com/users/killer54291/folders/Jing/media/2b3db52a-ebf7-43e2-95cc-f45dadbc2b98/00000023.png
but, when i type more than the width of the window, it... (0 Replies)
Discussion started by: killer54291
0 Replies
6. Shell Programming and Scripting
This is an instance of "if it's not one thing, it's another."
I recently fell victim to my own stupidity in trashing, by accident, my long-running and very highly-customized .bash_profile and .bashrc files for Cygwin & Cygwin/X. I had backups from a previous "go" with this, and decided to use... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
7. Emergency UNIX and Linux Support
I am working with a script to simplyfy some operations where I work, but one of the programs needs me to enter a password.
It will as me "Please enter the administrator password:"
Is there a way to make a bash script to automatically answer the question with the needed password?
I am looking... (3 Replies)
Discussion started by: noratx
3 Replies
8. Shell Programming and Scripting
I remember there was a gnome only command that we could insert in a bash script to mount a Linux disk that would pop up a little window to grab a password.
I know there are bash commands to read a string but they are not GUIs and they echo the characters typed. This gnome command popped up a... (1 Reply)
Discussion started by: siegfried
1 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to run a program from the bash prompt and I don't understand why it is returning with an error.
Dig is my C program, and it takes in parameters J4, detect, 3 and 0182F98E
var1="cygdrive/c/2i/test fixture/software/mccdaqtest/debug/Dig J4 detect 3 0182F98E"
when I do
... (6 Replies)
Discussion started by: oahmad
6 Replies
10. Shell Programming and Scripting
I use the .bashrc file from this thread.
Direct link to the archive containing the ultimate bashrc
I am trying to use autojump, but it will not autoload the directories to the autojump list as the custom prompt is not compatible.
Here is the thread on the issue from other users.
apt -... (2 Replies)
Discussion started by: genehunter
2 Replies
LEARN ABOUT DEBIAN
codeeditor
codeEditor(1) PythonCard Developers codeEditor(1)
NAME
codeEditor - A Python-aware code editor written using the PythonCard GUI framework
SYNOPSIS
codeEditor [file] [switches]
DESCRIPTION
The codeEditor program is one of the tools included with the PythonCard GUI framework. It is focused on being a simple to use Python
source code editor. It is not intended to be a generic editor or replace vi(m), Emacs, etc. If you are already happy with your existing
editing environment for Python source code, there is no particular reason you have to switch.
codeEditor borrows ideas and code from IDLE as well as Mark Hammond's Pythonwin, PyCrust (the PythonCard shell) and Robin Dunn's
pyshell.py. The core editor component uses the wxPython wxStyledTextCtrl (wxSTC) which in turn uses Neil Hodgson's Scintilla. Isn't open
source fun? In 15 minutes you can have a pretty decent editor by standing on the shoulders of others.
SWITCHES
Note that switches must come after any filename in order to be recognized.
-p Show property editor
-m Show message watcher
-l Enable logging
-s Show shell
-m Show namespace
-d Show debug menu
NOTES
The codeEditor utility also provides additional functionality that is not discussed in this manpage, because it is somewhat difficult to
completely describe usage of a GUI program in a text-based manpage. For more detailed usage instructions or for more information on the
PythonCard GUI framework in general, you should install the pythoncard-doc package and take a look at the various walk-throughs, tutorials
and samples included with it.
Once the pythoncard-doc package is installed, the documentation is installed to /usr/share/doc/pythoncard-doc, and is also available via
Debian's doc-base infrastructure - find it in the Devel section using dwww(1), doc-central(1) or dhelp(1).
If you would rather not install the pythoncard-doc package, you can find essentially the same information on the PythonCard website:
http://pythoncard.sourceforge.net
BUGS
Although it is considered to be stable, this is still development-level software. If you use codeEditor as a real text editor then you may
want to work on backup copies of documents in case there are bugs that might corrupt your text.
Please report bugs in this or any PythonCard component to the Debian Bug Tracking system using reportbug(1).
AUTHOR
This manpage was written by Kenneth J. Pronovici <pronovic@debian.org>, for use by the Debian project. Content was based on previously-
existing PythonCard documentation in other forms.
SEE ALSO
resourceEditor(1), findfiles(1),
PythonCard GUI Framework August 2003 codeEditor(1)