- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unwanted tabs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:18 AM
07-19-2002 06:18 AM
using vi on HPUX. I have scoured the Web for an answer with no luck. The problem is that when I paste the text I get unwanted tabs
being inserted on each new line, with each
subsequent new line having more tabs than the
previous. This only happens when I have spaces or tabs as the first characters on the lines.
This leads to horizontal scrolling and unreadable files.
I am using HP-UX Release B.11.00
Terminal emulator is QVT/Term 5.1
Can anyone help???
Cheers
Martin
A toned-down example below:
if [ ! -d $HOME/.sh_history_dir ]
then
mkdir -p $HOME/.sh_history_dir
chmod 700 $HOME/.sh_history_dir
fi
# ENV variable for use outside VUE
if [ ! "$VUE" -a ! "$DTSOURCEPROFILE" ]
then
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:23 AM
07-19-2002 06:23 AM
Re: unwanted tabs
It is autoindent
You have a file .exrc with this in it.
set autoindent autowrite showmatch wrapmargin=0 report=1
To test
In vi
:set noai
Then try
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:25 AM
07-19-2002 06:25 AM
Re: unwanted tabs
:set all
to get a list of properties to set/change.
You can set the autoindent via:
:set noautoindent
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 06:37 AM
07-19-2002 06:37 AM
Re: unwanted tabs
This was the problem ...
damn these hidden files - didn't even know I had it! :)