Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disable and Enable Backspace or Ctrl^H in vi Post 302097394 by sumitpandya on Friday 24th of November 2006 04:30:25 AM
Old 11-24-2006
set backspace=2

When you start vi, just give :set command. IT will guide you :-)
 

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
OpenGuides::Test(3pm)					User Contributed Perl Documentation				     OpenGuides::Test(3pm)

NAME
OpenGuides::Test - Methods to help test OpenGuides applications. DESCRIPTION
Provides methods to help when writing tests for OpenGuides. Distributed and installed as part of the OpenGuides project, not intended for independent installation. This documentation is probably only useful to OpenGuides developers. SYNOPSIS
use OpenGuides; use OpenGuides::Test; OpenGuides::Test::refresh_db(); my $config = OpenGuides::Test->make_basic_config; $config->default_language( "nl" ); my $guide = OpenGuides->new( config => $config ); OpenGuides::Test->write_data( guide => $guide, node => "Crabtree Tavern", os_x => 523465, os_y => 177490, categories => "Pubs", ); METHODS
make_basic_config my $config = OpenGuides::Test->make_basic_config; $config->default_language( "nl" ); Makes an OpenGuides::Config object with needed fields pre-filled. You can mess with it as you like then. write_data my $config = OpenGuides::Test->make_basic_config; my $guide = OpenGuides->new( config => $config ); OpenGuides::Test->write_data( guide => $guide, node => "Crabtree Tavern", os_x => 523465, os_y => 177490, categories => "Pubs Pub Food", ); This method calls the "make_cgi_object" method to make its CGI object; you can supply values for any key mentioned there. You should supply them exactly as they would come from a CGI form, eg lines in a textarea are separated by " ". This method will automatically grab the checksum from the database, so even if the node already exists your data will still be written. If you don't want this behaviour (for example, if you're testing edit conflicts) then pass in a true value to the "omit_checksum" parameter: OpenGuides::Test->write_data( guide => $guide, node => "Crabtree Tavern", omit_checksum => 1, ); If you want to grab the output, pass a true value to "return_output": my $output = OpenGuides::Test->write_data( guide => $guide, node => "Crabtree Tavern", return_output => 1, ); Similarly, if you pass a true value to "return_tt_vars", the return value will be the variables which would have been passed to the template for output: my %vars = OpenGuides::Test->write_data( guide => $guide, node => "Crabtree Tavern", return_tt_vars => 1, ); make_cgi_object my $q = OpenGuides::Test->make_cgi_object; You can supply values for the following keys: "content", "categories", "locales", "node_image", "node_image_licence", "node_image_copyright", "node_image_url", "phone", "fax", "website", "hours_text", "address", "postcode", "map_link", "os_x", "os_y", "osie_x", "osie_y", "latitude", "longitude", "summary", "username", "comment", "edit_type". You should supply them exactly as they would come from a CGI form, eg lines in a textarea are separated by " ". refresh_db Openguides::Test::refresh_db(); Unlink the existing SQLite database t/node.db and plucene indexes. Then create a new SQLite database t/node.db AUTHOR
The OpenGuides Project (openguides-dev@lists.openguides.org) COPYRIGHT
Copyright (C) 2004-2009 The OpenGuides Project. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2013-01-11 OpenGuides::Test(3pm)
All times are GMT -4. The time now is 10:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy