Sponsored Content
Full Discussion: vi editor not displaying?
Operating Systems SCO vi editor not displaying? Post 41761 by ananthu_m on Tuesday 14th of October 2003 12:51:49 AM
Old 10-14-2003
Hi guys,


Thank u very much it is working now.

Plz. do provide an answer for my other question as well so that

i will be so thankful to u guys.



I want ur replies very very Urgently.Plz. don't ignore this mail.

I am using Sco openserver 5.0.2 and i have downloaded jdk1.2.2

for that i have installed it.The jdk is working fine.

Then i download jakarta-tomcat-4.1.24.zip and i have installed it.

In order to run tomcat i went to the directory:-

/var/jakarta/bin

Which is where i move the tomcat contents:-

and i use :-

vi catalina.sh


Which opens a environment variable setting file.

Here i set the following things:-


export JAVA_HOME=/usr/java2

export CATALINA_HOME=/var/jakarta

Where this is the correct path Where jdk1.2.2 and jakarta-tomcat resides.


And in the vi .profile:-

i have set for jdk


PATH=$PATH:.:/usr/java2/bin


But there is no problem with jdk but when i try to run

catalina.sh by using the following command:-


# /var/jakarta/bin/catalina.sh start

in the shell prompt.

I am getting an error saying :-

/usr/java2 is not an identifier the same problem occurs for

CATALINA_HOME as well .


So plz. do provide a solution for this and plz. explain me where i am going wrong??? It is Very very Urgent at the moment.Plz. don't ignore this mail. I am in that situation at the moment.

I will be waiting for ur replies.

Thanx,
m.ananthu
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

displaying date

Hi All, When I type date..I get the date, time ..etc displayed ...but can someone help me to display yesterdays date... some script to display back dates. Thanks in advance Minaz (7 Replies)
Discussion started by: minazk
7 Replies

2. UNIX for Dummies Questions & Answers

Displaying what a command is doing/has done

I would like to see what a command is doing. For example, say I move 10 files using mv * somedir. Can I use some other command to see a verification of each files movement. Like: file1 moved to somedir file2 moved to somedir ... but, i'd to have this capability for all commands. it seems... (1 Reply)
Discussion started by: quantumechanix
1 Replies

3. UNIX for Dummies Questions & Answers

displaying with ls

hi, how can display year parameter also while listing files from a directory?it displyas only if last acces sis more than 1 yr i guess.can it be dispalyed using some option or some method? thanks and regards vivek.s (2 Replies)
Discussion started by: vivekshankar
2 Replies

4. Solaris

Characters not displaying

Hi, Does anyone know what i need to do to get the 'é' character to display on a Solaris 9 server. When i try to cut and paste it onto some of my machines via telnet it displays an 'i' but other machines with the same OS version are ok. It also doesn't like Japanese Characters. Any help would be... (0 Replies)
Discussion started by: mwfisher
0 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

7. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

8. UNIX for Dummies Questions & Answers

Displaying Filesystem During df

I'm unsure about the topic title, but this is what I want to do. I have a directory, named /opt/extra and and I want it to be displayed when I issue df command. Just by using df only, not df /opt/extra. OS: Solaris 10 Current df output root@jebat10 # df -k Filesystem kbytes ... (3 Replies)
Discussion started by: Olli.Lang
3 Replies

9. UNIX for Dummies Questions & Answers

displaying stdout of a script using vi editor

Hi, Is there a way to display the stdout of a script using vi editor without writing the stdout to a file. I have a script (format.sh) which reads a file and displays it in a special format. i want to see this displayed text using vi editor? currently i am doing: format.sh myfile> out.txt... (1 Reply)
Discussion started by: yakari
1 Replies

10. Shell Programming and Scripting

need help with displaying only names using ls -l

Hi I am kind of stuck I need help with printing only the names of the folder in the format LAST NAME, F so last name and the first character of first name using ls -l command in the /home directory currently they are in the format firstname.lastname please advice (4 Replies)
Discussion started by: classic
4 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 08:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy