Vim: Warning: Output is not to a terminal


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Vim: Warning: Output is not to a terminal
# 1  
Old 11-28-2009
Vim: Warning: Output is not to a terminal

I'm using Debian, connected via SSH using Putty, and trying to run the command:

PHP Code:
dpkg --configure -
to run a package that didn't complete due to my having to disconnect while it was running.

It gives this message:
PHP Code:
dpkgdependency problems prevent configuration of php5-dev:
 
php5-dev depends on shtoolhowever:
  
Package shtool is not installed.
dpkgerror processing php5-dev (--configure):
 
dependency problems leaving unconfigured
Setting up libapache2
-mod-php5 (5.2.6.dfsg.1-1+lenny3) ...
VimWarningOutput is not to a terminal 
And then stops, and I can't press anything. The only way to get out of it is to disconnect putty and log in again. Then obviously if I run the same command, it does it again and I have to disconnect again.

I can't run any other dpkg installs while this package is only half installed, as if I run anything else using dpkg it tells me that the database is already in use.

How do I fix it?
# 2  
Old 11-29-2009
can you try first this?
Code:
apt-get remove php5-dev

# 3  
Old 11-30-2009
Thanks, I tried that but unfortunately:

PHP Code:
Edpkg was interruptedyou must manually run 'dpkg --configure -a' to correct the problem.
root@2i15:~# E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
-bashE:: command not found 
Any dpkg I run tells me that dpkg can't be run unless I first run dpkg --configure -a to complete the broken installation. Then if I do that, it gives the VIM error.
# 4  
Old 12-01-2009
don't you have locall access to the PC? if you do dpkg --configure -a locally it will solve the problem
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

Redirect output from terminal

i make a shell script. There has a line wget https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gzWhen this line execute terminal show some text like this Resolving cisofy.com (cisofy.com)... 149.*.*.* Connecting to cisofy.com (cisofy.com)|149.*.*.*|:4444...... (4 Replies)
Discussion started by: Devils-ey3
4 Replies

3. Shell Programming and Scripting

Redirecting script output to terminal

When ever i started my terminal,Every time I have to change the directory like "cd user/documents/ravi/folder2/folder3" Without typing this entire command every time ,I placed "alias c='cd user/documents/ravi/folder2/folder3'" in .bash_profile file. so that i can able to execute command 'c'... (6 Replies)
Discussion started by: Raviteja saddal
6 Replies

4. Shell Programming and Scripting

Truncate terminal output

Hello Using BASH under Ubuntu 10.4 lts + XMonad My script is almost perfect but i'm stuck at the last hurdle: I need a sort of modified 'echo' which truncates its output to the width of the terminal I can find the terminal's width with 'stty size' but i dont know how to then convert input... (2 Replies)
Discussion started by: scyptnex
2 Replies

5. UNIX for Dummies Questions & Answers

Vim external command output to new buffer

Hi, From inside Vim, I'm looking for a way to use the contents of the current buffer, pass it to an external executable, and then return the output from the executable into a new Vim buffer. I know that I can do something like %!<executable>, but that will overwrite the contents of the... (3 Replies)
Discussion started by: konfushus
3 Replies

6. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

7. UNIX for Advanced & Expert Users

Terminal Output to a File ??

Hey, How can I transfer the terminal output to a file ? For example : command "fuser" returns the "process-id" and prints the output on the terminal, but I want that output to a file as well. How can I do that ? /clocal/mqbrkrs/user/mqsiadm/sanjay/AccessMonitor $ fuser -uf... (2 Replies)
Discussion started by: varungupta
2 Replies

8. Solaris

how to redirect my output in a new terminal

Hi all, i type a command along with dtterm what i would like to have is that the output of the command to be shown in the new terminal . Any Idea on how to acheive this? (0 Replies)
Discussion started by: Sayantan
0 Replies

9. Programming

output to terminal

How can I write to another user's pseudo tty, but not to its current prompt position (as in open("/dev/pts007", ...) followed by write() ). Instead I would like to write to the top center of the screen using color red, for example. Like curses, but from another console. (6 Replies)
Discussion started by: andreis
6 Replies

10. UNIX for Dummies Questions & Answers

Output to terminal and file at the same time

Hi all The makefile of a large project produces hundreds of lines of output, which I can't look at any more when the build is finished. If I simply redirect the output to a file, I can't see the progress of the building process... Is there a possibility to redirect the output to a file and at... (1 Reply)
Discussion started by: Charlie
1 Replies
Login or Register to Ask a Question