Sponsored Content
Top Forums UNIX for Dummies Questions & Answers .profile problem using set -o vi Post 302101226 by jimmyc on Friday 29th of December 2006 08:09:51 AM
Old 12-29-2006
Thanks Perderabo !!! That did it. No wonder I couldn't figure it out. I was looking in the wrong place all the time... New xterm line is...
/usr/openwin/bin/xterm -ls -bg black -fg yellow -sb -title SUN01--172.16.25.12-- -geo 110x30
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with .profile

I wanted to add /home/oracle/sql to my path so that from which ever directory i connect to sqlplus i should be able to source the .sql files sitting in /home/oracle/sql. Also, this is what i tried but it doenst work # Set up the search paths: export ... (2 Replies)
Discussion started by: jigarlakhani
2 Replies

2. UNIX for Dummies Questions & Answers

ssh2: .profile not set correctly

When logging into solaris box through ssh, my profile does not get set correctly and I'm presented with the default ksh prompt "$". When logging in through telnet, everything is set correctly. Is there a special profile that sshd runs? ssh2: F-Secure SSH 2.4.0 (build 15) on sparc-sun-solaris2.8 (0 Replies)
Discussion started by: dangral
0 Replies

3. UNIX for Dummies Questions & Answers

problem with .profile

Hi, i am changing something in .profile file and then esc :wq!. when i do the cat i can see the changes. but to bring the .profile in memory i have to do . .profile.but it says error while doing that is . .profile ksh: .profile: not found. can any body help thanks in advance sam71 (7 Replies)
Discussion started by: sam71
7 Replies

4. UNIX for Dummies Questions & Answers

set background/foreground color in .profile

I am using a telnet session (VT100) and need to modify my .profile so that it will set the color of the telnet session. I am not using Xterm (ie: can't use .Xdefaults). I am able to change the colors via menu's but need to preset in .profile. Is this possible??? Can't find anything at all on how... (3 Replies)
Discussion started by: dvella
3 Replies

5. Shell Programming and Scripting

problem with .profile

I am trying to execute my .profile which has the path to oracle home. But when I execute it with the below command it says nothing and when I try to echo the ORACLE_HOME I am still in my home directory itself which means it didn't get executed. Please help how to make sure that .profile is... (6 Replies)
Discussion started by: dsravan
6 Replies

6. Solaris

profile problem

for some reason my profile doesnt seem to be loading. here is some info $SHELL /sbin/sh $HOME / (yup, im running at root, its a VM and im using it to learn) created /.profile added something simple to test, PS1="test" logout and back in, open a terminal... prompt is still # ... (2 Replies)
Discussion started by: jrich523
2 Replies

7. Solaris

How do i permanently set bash profile??

Hi all, I don't want to enter below command on solaris every time. How do i permanently set this command on Solaris. I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it. But Solaris ???? bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies

8. AIX

How to make LOGNAME writeable? It is set as READONLY in .profile

LOGNAME variable is set as READONLY in .profile. I want to make it WRITEABLE so that I can modify the LOGNAME values programatically/throush shell programs. Thanks, Guru (1 Reply)
Discussion started by: gurubbc
1 Replies

9. Shell Programming and Scripting

How to set up newgrp on .profile?

Hello all, I am having an issue setting up an environment on .profile. I want to set up my .profile in that way that everytime I login to the host, it should automatically set up my group. I tried the folllowing but it doesn't work. It is on the solaris OS. HOSTNAME=$(hostname) if ] || ]... (14 Replies)
Discussion started by: Pateltiger
14 Replies

10. Shell Programming and Scripting

"ksh: XYZ: parameter not set" in .profile

Hi, A very basic query. I am working on two different UNIX servers and I see different behaviours for my user id. This has to be a setting in the .profile, but I can't seem to find where :confused: So, in one server if I type echo $XYZDD (a random variable), I get a blank line with no... (2 Replies)
Discussion started by: ALDonP
2 Replies
ncmpc(1)																  ncmpc(1)

NAME
ncmpc - curses Music Player Daemon (MPD) client. SYNOPSIS
ncmpc [options] DESCRIPTION
ncmpc is a client for MPD, the Music Player Daemon. ncmpc connects to a MPD running on a machine on the local network. By default, ncmpc connects to localhost:6600. This can be changed either at compile-time, or by exporting the MPD_HOST and MPD_PORT envi- ronment variables, or by the command line options --host and --port. $ ncmpc --host=musicserver --port=44000 To use a password with mpd, set MPD_HOST to password@host or use the command line option --password. Values from the command line overrides values from the environment. Read more about MPD on http://www.musicpd.org OPTIONS
-?, --help Display help. -V, --version Display version information. -c, --colors Enable colors. -C, --no-colors Disable colors. -m, --mouse Enable mouse. -M, --no-mouse Disable mouse. -e, --exit Exit on connection errors. The default is to reconnect. -h, --host=HOSTNAME Specify MPD host. -p, --port=PORT Connect to server on PORT. -P, --password=PASSWORD Use password when connecting. -f, --config=FILE Read configuration from file. -k, --key-file=FILE Read key bindings from FILE. -S, --no-splash Disable the splash screen. Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. CONFIGURATION
When ncmpc start it tries to read user setting from the ~/.ncmpc/config. If no user configuration is found ncmpc tries to load global set- tings from $SYSCONFDIR/ncmpc/config (the actual path is displayed on the help screen). An example configuration file (config.sample) should be provided with ncmpc. Connection host = HOST Connect to mpd running on specified host port = PORT Connect to mpd on the specified port password = PASSWORD Connect to mpd using the specified password. Interface enable-mouse = yes|no Enable mouse support (if enabled at compile time). screen-list = SCREEN1 SCREEN2... A list of screens to cycle through when using the previous/next screen commands. Valid choices, if enabled at compile time, are playlist, browse, artist, help, search, song, keydef, lyrics, and outputs. search-mode = MODE Default search mode for the search screen. The mode is an integer index, with 0 for title, 1 for artist, 2 for album, 3 for file- name, and 4 for artist+title. auto-center = yes|no Enable/disable auto center mode. When auto center mode is enabled ncmpc centers the current track in the playlist window. scroll-offset = NUM Keep at least NUM lines above and below the cursor on list windows, if possible. find-show-last = yes|no Show the most recent query instead of a blank line for a find. find-wrap = yes|no Wrapped find mode. wrap-around = yes|no Wrapped cursor movement. bell-on-wrap = yes|no Ring bell when find wraps around. audible-bell = yes|no Sound audible bell on alerts. visible-bell = yes|no Visible bell on alerts. crossfade-time = CROSSFADE TIME Default crossfade time in seconds seek-time = NUM Seek forward/backward by NUM seconds. lyrics-timeout = NUM Quits downloading lyrics of a song after the timeout of NUM seconds is reached. jump-prefix-only = yes|no When using the jump command, search for the prefix of an entry. That means typing "m" will start to the first entry which begins with "m". lyrics-autosave = yes|no Automatically save lyrics after receiving them. second-column = yes|no Display song length in a second column. Display welcome-screen-list = yes|no Show a list of the screens in the top line on startup. wide-cursor = yes|no Make the cursor as wide as the screen. hardware-cursor = yes|no Use the terminal's hardware cursor instead of inverse colors. hide-cursor = NUM Hide the playlist cursor after NUM seconds of inactivity. scroll = yes|no Scroll the title if it is too long for the screen. scroll-sep = STRING The separator to show at the end of the scrolling title. list-format = SONG FORMAT The format used to display songs in the main window. status-format = SONG FORMAT The format used to display songs on the status line. status-message-time = TIME The time, in seconds, for which status messages will be displayed. display-time = yes|no Display the time in the status bar when idle. timedisplay-type = elapsed/remaining Sets whether to display remaining or elapsed time in the status window. Default is elapsed. visible-bitrate = yes|no Show the bitrate in the status bar when playing a stream. set-xterm-title = yes|no Change the XTerm title (ncmpc will not restore the title). xterm-title-format = SONG FORMAT The format used to for the xterm title when ncmpc is playing. Colors enable-colors = yes|no Enable/disable colors. color background = COLOR Set the background color. If the background color is assigned to the keyword none, ncmpc will not change the background color. Stan- dard colors are: black, red, green, yellow, blue, magenta, cyan and white. Terminal specific colors can also be given as integers. color title = COLOR[,ATTRIBUTE]... Set the text color and attributes for the title row. Text colors are the same as for the background. Valid attributes are: stand- out, underline, reverse, blink, dim, and bold. color title-bold = COLOR[,ATTRIBUTE]... Set the text color for the title row (the bold part). color line = COLOR Set the color of the line on the second row. color line-flags = COLOR[,ATTRIBUTE]... Set the text color used to indicate mpd flags on the second row. color list = COLOR[,ATTRIBUTE]... Set the text color in the main area of ncmpc. color list-bold = COLOR[,ATTRIBUTE]... Set the bold text color in the main area of ncmpc. color progressbar = COLOR[,ATTRIBUTE]... Set the color of the progress indicator. color status-state = COLOR[,ATTRIBUTE]... Set the text color used to display mpd status in the status window. color status-song = COLOR[,ATTRIBUTE]... Set the text color used to display song names in the status window. color status-time = COLOR[,ATTRIBUTE]... Set the text color used to display time the status window. color alert = COLOR[,ATTRIBUTE]... Text color used to display alerts in the status window. colordef COLOR = R, G, B Redefine any of the base colors. The RGB values must be an integer value between 0 and 1000. Note: Only some terminals allow redef- initions of colors! KEYS
When ncmpc start it tries to read user key bindings from the ~/.ncmpc/keys file. If no user key bindings is found ncmpc tries to load global key bindings from $SYSCONFDIR/ncmpc/keys (the actual path is displayed on the help screen). You can view ncmpc's key bindings by pressing '1' (help) when ncmpc is running. To edit key bindings use the key editor in ncmpc (press 'K'). SONG FORMAT
Format of song display for status and the list window. The metadata delimiters are: %name%, %artist%, %track%, %time%, %file%, %short- file%. The [] operators is used to group output such that if no metadata delimiters are found or matched between '[' and ']', then none of the characters between '[' and ']' are output. '&' and '|' are logical operators for AND and OR. '#' is used to escape characters. Some useful examples for format are: "%file%" and "[[%artist% - ]%title%]|[%file]" BUGS
Report bugs on http://www.musicpd.org/mantis/ NOTE
Since MPD uses UTF-8, ncmpc needs to convert characters to the charset used by the local system. If you get character conversion errors when your running ncmpc you probably need to set up your locale. This is done by setting any of the LC_CTYPE, LANG or LC_ALL environment variables (LC_CTYPE only affects character handling). SEE ALSO
mpc(1), mpd(1), locale(5), locale(7) June 2005 ncmpc(1)
All times are GMT -4. The time now is 11:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy