- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- number of characters for a TAB
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-11-2000 01:27 PM
тАО09-11-2000 01:27 PM
number of characters for a TAB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2000 01:29 PM
тАО09-11-2000 01:29 PM
Re: number of characters for a TAB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2000 01:32 PM
тАО09-11-2000 01:32 PM
Re: number of characters for a TAB
The normal tab character maps to 8-blanks. In vi, use .exrc to define shiftwidth to what you want.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2000 02:15 PM
тАО09-11-2000 02:15 PM
Re: number of characters for a TAB
set ts=25
or what ever the tab length you wanted it to be.
put this in the .exrc and it will be set permanantly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2000 05:39 PM
тАО09-11-2000 05:39 PM
Re: number of characters for a TAB
Start with the expand/unexpand command. AS you can see from the man pages, you can define the effect (but the default is 8).
Then, as mentioned previously, the vi program can define tabs either explicitly with a :set ts=7 (for example), or the ts= option can be put into $HOME/.exrc for each user.
Finally, the terminal emulator also defines the apparent spacing which is a function of whether the terminal was preset when it was powered up or logged in (see: man tabs). The terminal emulator would have to match the current setting of $TERM.
So:
man expand
man unexpand
man vi
man ex
man tabs
will give you an overview of tabs. Essentially, they are a character count reducer and a column aligner, but otherwise, they can be annoying when exported to other computer systems. Use expand to get rid of them before sending to foreign systems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2000 05:42 PM
тАО09-11-2000 05:42 PM
Re: number of characters for a TAB
Start with the expand/unexpand command. AS you can see from the man pages, you can define the effect (but the default is 8).
Then, as mentioned previously, the vi program can define tabs either explicitly with a :set ts=7 (for example), or the ts= option can be put into $HOME/.exrc for each user.
Finally, the terminal emulator also defines the apparent spacing which is a function of whether the terminal was preset when it was powered up or logged in (see: man tabs). The terminal emulator would have to match the current setting of $TERM.
So:
man expand
man unexpand
man vi
man ex
man tabs
will give you an overview of tabs. Essentially, they are a character count reducer and a column aligner, but otherwise, they can be annoying when exported to other computer systems. Use expand to get rid of them before sending to foreign systems.
Bill Hassell, sysadmin