Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disable and Enable Backspace or Ctrl^H in vi Post 302097443 by sumitpandya on Friday 24th of November 2006 10:55:54 AM
Old 11-24-2006
:set help

finally man page is your best friend
 

10 More Discussions You Might Find Interesting

1. Linux

Enable and disable ttyS0

I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this. **** I'm running Redhat 9 *****External Usrobotics 56k Thanks a lot guys (1 Reply)
Discussion started by: josramon
1 Replies

2. AIX

Disable ctrl-c,ctrl-d,ctrl-d in ksh script

I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu
6 Replies

3. Shell Programming and Scripting

how to enable Ctrl + C in ksh

hi there , server is AIX 5.3 , login shell is ksh , stty -a display as following #stty -a speed 9600 baud; 21 rows; 80 columns eucw 1:1:0:0, scrw 1:1:0:0: intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ^@ eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R... (0 Replies)
Discussion started by: dradhzn
0 Replies

4. Shell Programming and Scripting

Enable & disable cronjob

Hi All, I am new to cronjob and need some guidance on this. 1) How do i enable a cronjob ? Can it be done by "crontab mycronfile" or "crontab -e mycronfile" 2) How can i disable the cronjob? Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Discussion started by: Raynon
7 Replies

5. Cybersecurity

How to disable RIP and enable EGP

Hello, We recently had a Nessus scan done of our system and the solution to one of the findings was this: disable the RIP agent and use an EGP routing protocol I have been unable to find any specific instruction on how to do either. We are running Solaris 8. Any help would be greatly... (3 Replies)
Discussion started by: stringman
3 Replies

6. Solaris

SSH enable, Telnet disable ...

Hi... How do I enable SSH and disable telnet.. Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet? Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies

7. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

8. UNIX for Dummies Questions & Answers

crontab: disable/enable

since i don't have root access, i have been doing: crontab -l > /tmp/username.crontab crontab -r vi /tmp/username.crontab and copy page crontab -e, and paste sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice. how do i copy all contents from... (2 Replies)
Discussion started by: tjmannonline
2 Replies

9. UNIX for Dummies Questions & Answers

Enable and disable the auto mount

How to enable and disable the auto mount option for USB devices.? (3 Replies)
Discussion started by: ungalnanban
3 Replies

10. Solaris

Disable Ctrl+Backspce

Hello to all, I have one sun solaris workstation. Interrupt is Alt+Backspace, but if I press Ctrl+Backspace, I totaly log out and all programs are closed. This is not what I want and wonder if there is some way to disable this feature. Thanks (2 Replies)
Discussion started by: Mick
2 Replies
ost::MemPager(3)					     Library Functions Manual						  ost::MemPager(3)

NAME
ost::MemPager - The memory pager is used to allocate cumulative memory pages for storing object specific 'persistant' data that is presumed to persist during the life of a given derived object. SYNOPSIS
#include <misc.h> Inherited by ost::Keydata [protected], ost::SharedMemPager, and ost::StackPager [protected]. Classes struct _page Public Member Functions int getPages (void) Return the total number of pages that have been allocated for this memory pool. Protected Member Functions virtual void * first (size_t size) Allocate first workspace from paged memory. virtual void * alloc (size_t size) Allocate memory from either the currently active page, or allocate a new page for the object. char * first (char *str) Allocate a string from the memory pager pool and copy the string into it's new memory area. char * alloc (const char *str) Allocate a string from the memory pager pool and copy the string inti it's new memory area. MemPager (size_t pagesize=4096) Create a paged memory pool for cumulative storage. void purge (void) purge the current memory pool. void clean (void) Clean for memory cleanup before exiting. virtual ~MemPager () Delete the memory pool and all allocated memory. Friends class String class MemPagerObject Detailed Description The memory pager is used to allocate cumulative memory pages for storing object specific 'persistant' data that is presumed to persist during the life of a given derived object. When the object is destroyed, all accumulated data is automatically purged. There are a number of odd and specialized utility classes found in Common C++. The most common of these is the 'MemPager' class. This is basically a class to enable page-grouped 'cumulative' memory allocation; all accumulated allocations are dropped during the destructor. This class has found it's way in a lot of other utility classes in Common C++. Author: David Sugar dyfet@ostel.com Accumulative object memory allocator. Constructor &; Destructor Documentation ost::MemPager::MemPager (size_tpagesize = 4096) [protected] Create a paged memory pool for cumulative storage. This pool allocates memory in fixed 'pagesize' chunks. Ideal performance is achived when the pool size matches the system page size. This pool can only exist in derived objects. Parameters: pagesize page size to allocate chunks. virtual ost::MemPager::~MemPager () [protected], [virtual] Delete the memory pool and all allocated memory. Member Function Documentation virtual void* ost::MemPager::alloc (size_tsize) [protected], [virtual] Allocate memory from either the currently active page, or allocate a new page for the object. Parameters: size size of memory to allocate. Returns: pointer to allocated memory. Reimplemented in ost::SharedMemPager. char* ost::MemPager::alloc (const char *str) [protected] Allocate a string from the memory pager pool and copy the string inti it's new memory area. This checks only the last active page for available space before allocating a new page. Parameters: str string to allocate and copy into paged memory pool. Returns: copy of string from allocated memory. void ost::MemPager::clean (void) [protected] Clean for memory cleanup before exiting. virtual void* ost::MemPager::first (size_tsize) [protected], [virtual] Allocate first workspace from paged memory. This method scans all currently allocated blocks for available space before adding new pages and hence is both slower and more efficient. Parameters: size size of memory to allocate. Returns: pointer to allocated memory. Reimplemented in ost::SharedMemPager. char* ost::MemPager::first (char *str) [protected] Allocate a string from the memory pager pool and copy the string into it's new memory area. This method allocates memory by first searching for an available page, and then allocating a new page if no space is found. Parameters: str string to allocate and copy into paged memory pool. Returns: copy of string from allocated memory. int ost::MemPager::getPages (void) [inline] Return the total number of pages that have been allocated for this memory pool. Returns: number of pages allocated. void ost::MemPager::purge (void) [protected] purge the current memory pool. Reimplemented in ost::SharedMemPager, and ost::StackPager. Friends And Related Function Documentation friend class MemPagerObject [friend] friend class String [friend] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::MemPager(3)
All times are GMT -4. The time now is 09:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy