VI opens slow


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers VI opens slow
# 1  
Old 10-04-2001
VI opens slow

when ever I try to vi a file that resides on another machines it takes forever for it to open. Does anyone have any ideas why it would be doing this? I have 7 unix machines and the only two that do this are both running tru64.
# 2  
Old 10-05-2001
How big is the file?
How fast is your network?
Does something like: "cat filename | wc -l" run any faster?
Is it slow on all files or only one file?

- dEvNuL
# 3  
Old 10-05-2001
VI opens slow

Well, we are running at 100mb ethernet and the size of the file is 789k. I tried "cat filename | wc -l" but it didn't work. It returned a number and then a prompt.

The slowness happens whenever I open a file located on another machine. If I open a local file, then no problem.
# 4  
Old 10-05-2001
That is wc -l is suppose to do.. Return you a number.. What was that number?.. Was it faster then loading the file into vi?...

Please answer my other questions too.. ;>

- dEvNuL
# 5  
Old 10-05-2001
VI opens slow

ok, when I did "cat filename | wc -l" it does run a lot faster. the number was 9518. It took 5sec to run and the vi takes 25sec to open the file.

The VI opens slow on all files that are not local.

Thanks for your help!
# 6  
Old 10-06-2001
Well you have yourself a really odd problem here... I know you said the client system was tru64 UNIX, what is the host system (the system where the file is stored?)...

One last thing I would like you to try..... Type "ex filename"...

Is that any faster?.. In case you don't know ex.. Once you are in ex, just type q to get out of it...

Is it possible to get access to the system?...

- dEvNuL
# 7  
Old 10-09-2001
VI opens slow

I tried ex filename, and it took the same amount of time. Smilie

The host machine where the file resides is a linux box running Redhat 5.1

I know this is an odd problem. I don't understand why it would have this problem.

I'm afraid I can't give you access to them system. Sorry.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[bash] Extra tab opens

Hello everyone, This code is working right using mate-terminal but with xfce4-terminal for some reason, it open up an extra tab... Could someone please help me out to understand why this is happening? #!/bin/bash cd "$(dirname "$0")"/files tab=" --tab" title=" --title" options=()... (2 Replies)
Discussion started by: soichiro
2 Replies

2. Shell Programming and Scripting

Bash menu opens and closes

Ever since I added these two code blocks to my bash menu it just opens and closes right away. I use a batch file that worked fine until these codes were added and I am not sure what is wrong. Basically, what I am trying to do in the additional section is if the answer is "Y" then it goes back... (13 Replies)
Discussion started by: cmccabe
13 Replies

3. OS X (Apple)

Programatically change which opens a file type

Hi there, If we have 2 apps on our customers machines that can both open files of a certain file extension, is there any way via shell commands to set which application should be the default? Essentially, I'm hoping to replicate Get Info > Open With > Change All, but using a script. Thanks... (0 Replies)
Discussion started by: davewg
0 Replies

4. Shell Programming and Scripting

Position to last line when vi opens a file.

Any Idea without entering any keystroke I can go to end of line in vi when I opening the file. When I am opening Vi I want to goto last line. when I give vi + filename it does not work. Any clue why it does not work. Thanks. (3 Replies)
Discussion started by: ekb
3 Replies

5. IP Networking

Port that a process opens up

Hi all, I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux? Thanks in Advance, Pankajakshan (2 Replies)
Discussion started by: Pankajakshan
2 Replies

6. Linux

Port that a process opens up

Hi all, I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux? Thanks in Advance, Pankajakshan (1 Reply)
Discussion started by: Pankajakshan
1 Replies

7. UNIX for Dummies Questions & Answers

Selectionbox, script which opens more than one file at once?

hello everybody I´m very new at shell and programming :eek: and i have the following question/problem: I need a script for framemaker (based on shell) which opens a new document from a template (.fm). Then imports a .doc file and then save it as a .mif. Actually my script works with one... (3 Replies)
Discussion started by: tio86
3 Replies

8. AIX

Vi opens automatically when i login to a unix box

When I login to a unix box using a putty session , I'm landed in a vi editor, instead of my home directory,I'm guessing instead of pointing me to my home directory, the system points me to /usr/bin/vi. As a result, everytime I log into the system I open up a vi editor and am in there. how do i... (3 Replies)
Discussion started by: ramky79
3 Replies
Login or Register to Ask a Question