![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem in updating .profile file in HP-UX B.11.00 machine | abhishek0071 | UNIX for Advanced & Expert Users | 3 | 02-07-2008 12:06 PM |
| problem with .profile | dsravan | Shell Programming and Scripting | 6 | 04-23-2007 09:35 PM |
| problem with .profile | sam71 | UNIX for Dummies Questions & Answers | 7 | 05-20-2005 04:04 AM |
| Problem with .profile | jigarlakhani | UNIX for Dummies Questions & Answers | 2 | 03-02-2004 09:43 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 08:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Actually he wanted the info added to your .profile not on the command line (or at least that's how I read it since it's not working in the script but it is on the command line; you do the troubleshooting from where it doesn't seem to be working
The only time I've experienced a problem is if something earlier doesn't run and .profile bails but I can't be sure that wasn't a Red Hat feature (so many systems Carl Edit: Oh, and if you source your .profile does it work? Code:
$ . ./.profile |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Hay Carl, I think your on to something....
yes - the source did work. yes - my path and ndmapicfg and "stty erase" does work no - moving "set -o vi" to the top (above stty erase ^H) doesn't work no - placing those command in the .profile did not help. Grrr... this seems to easy to not work. |
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
|||
|
|||
|
Here's the output from the commands in the .profile ....
Please see note at bottom. Last login: Thu Dec 28 08:07:29 from 192.168.0.214 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 UID PID PPID C STIME TTY TIME CMD jcusic 7813 7807 0 14:17:29 pts/2 0:00 ps -f jcusic 7807 7804 1 14:17:24 pts/2 0:00 -ksh Current option settings allexport off bgnice on emacs off errexit off gmacs off ignoreeof off interactive on keyword off markdirs off monitor on noexec off noclobber off noglob off nolog off notify off nounset off privileged off restricted off trackall off verbose off vi on viraw off xtrace off Current option settings allexport off bgnice on emacs off errexit off gmacs off ignoreeof off interactive on keyword off markdirs off monitor on noexec off noclobber off noglob off nolog off notify off nounset off privileged off restricted off trackall off verbose off vi on viraw off xtrace off $ -fs set -o vi set -o ksh: -fs: not found $ set -o vi $ set -o Current option settings allexport off bgnice on emacs off errexit off gmacs off ignoreeof off interactive on keyword off markdirs off monitor on noexec off noclobber off noglob off nolog off notify off nounset off privileged off restricted off trackall off verbose off vi on viraw off xtrace off Grrr... logon is a generic term which I didn't stop to think about. When I telnet in... It works at expected! But I don't use telnet. I use Hummingbird to make a xwindows connection. Here's the command used to make that connection. /usr/openwin/bin/xterm -bg black -fg yellow -sb -title SUN01--172.16.25.12-- -geo 110x30 When I login using this method I don't get any output from those commands and the set -o vi doesn't work till entered from the command line. |
|
#12
|
||||
|
||||
|
The xterm man page says:
Quote:
|
|
#13
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |