The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to replace any char with newline char. mightysam Shell Programming and Scripting 5 09-18-2008 08:15 PM
Removing Garbage output skyineyes Shell Programming and Scripting 4 07-04-2007 05:03 PM
Script to Remove Garbage Character Eddie_The_Head Shell Programming and Scripting 4 03-28-2006 05:09 AM
Garbage characters in display Haleja001 UNIX for Dummies Questions & Answers 0 09-21-2005 09:24 PM
Output command berty007 Shell Programming and Scripting 4 11-29-2002 05:27 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-30-2007
jambesh's Avatar
jambesh jambesh is offline
Registered User
  
 

Join Date: Aug 2006
Location: Pune,India
Posts: 136
vi command -output garbage char in HP-UX

Hi all ,

I am new to HP-UX flavour of unix.
i am issuing simple "vi" comand on the command prompt it is showing me some garbage character in command prompt itself ..unreadable format.
I tried opening an existing file using the vi editor --and same thing
happened -saw some garbage character.

Finally i try with man vi in the command prompt and the out put was again horrible.

Can any body help me the possible cause. i check the .profile but seems path were ok.

HERE IS A SIMPLE OUT PUT FROM VI COMMAND IN THE COMMAND PROMOPT ---

$vi
29yoC1AOC~6476C768
  #2 (permalink)  
Old 08-30-2007
ajcannon ajcannon is offline
Registered User
  
 

Join Date: Aug 2007
Location: Binfield, Berkshire. UK
Posts: 91
Term Setting

Can't be sure on this but check your $TERM environment variable is not set to some odd value.
For vi vt100 usually is a good bet if rather long in the tooth now.
  #3 (permalink)  
Old 08-30-2007
jambesh's Avatar
jambesh jambesh is offline
Registered User
  
 

Join Date: Aug 2006
Location: Pune,India
Posts: 136
Great !

I checked with the TERM value and it was differnt then you are mention .
i set it to vt100 and vi get worked.
but still i can see two garbage line when i first time login to my machine.
can i set some thing in my .profile to avoid the garbage two line that is coming when
i login.

thanks AJcannon for assist me .
  #4 (permalink)  
Old 08-30-2007
ajcannon ajcannon is offline
Registered User
  
 

Join Date: Aug 2007
Location: Binfield, Berkshire. UK
Posts: 91
Garbage lines...?

can you tell us what you are getting when you log in......
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0