- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to limit file size for vi
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
12-20-2002 02:12 AM
12-20-2002 02:12 AM
How to limit file size for vi
Does anybody know some trick about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:26 AM
12-20-2002 02:26 AM
Re: How to limit file size for vi
Assign some very less quota to each users who normaly use large files to vi and see how it goes.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:38 AM
12-20-2002 02:38 AM
Re: How to limit file size for vi
From manpage of vi(1):
Maximum Line Length
LINE_MAX characters (defined in
for overhead. Thus, if the value specified for LINE_MAX is 2048,
a line length up to 2044 characters should cause no problem.
Best regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:49 AM
12-20-2002 02:49 AM
Re: How to limit file size for vi
you can set TMPDIR to /tmp in .exrc
.exrc file is the initialization file for vi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 02:59 AM
12-20-2002 02:59 AM
Re: How to limit file size for vi
Incase you are looking at moving all temporary working dir
then you can set the TMPDIR in the user environment to the directory you wish so that his temporary files will be stored there.
For global setting make sure that you make entry in the /etc/profile for ksh and sh and /etc/csh.login for csh shell.
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 03:34 AM
12-20-2002 03:34 AM
Re: How to limit file size for vi
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 03:55 AM
12-20-2002 03:55 AM
Re: How to limit file size for vi
From your replies I see that the most recommended solution is to move the temp files elsewhere (dir or lvol). Not ideal, but acceptable. Yet, it's important for me to isolate vi from other programs. If users need, say, to sort files, I don't want them to compete for space with vi's shadow files: so
TMPDIR variable would be a good solution, but it's shared with too many other pgms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 04:48 AM
12-20-2002 04:48 AM