Sponsored Content
Full Discussion: Vim tips and tricks
Top Forums UNIX for Beginners Questions & Answers Vim tips and tricks Post 302833301 by cesar-rgon on Tuesday 16th of July 2013 07:10:43 PM
Old 07-16-2013
Excelent summary of hotkeys.
Thanks.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar tricks

Hello there, Is there anyway to make the tar utility print the contents of the files inside it (not list the files, but rather their contents) sequentially from the command line? What I ultimately would like to do is to have a way of printing the contents of each file in the tar archive... (2 Replies)
Discussion started by: neked
2 Replies

2. Shell Programming and Scripting

need couple of ksh tricks please

1) I ran myScript with 2 arguments, I meant to use 3 if I do r my, it will rerun it with the 2 arguments. is there a way I can do r my and add a third argument at the end? 2) say I did myAcript.ksh 2 5 7 8 I realise my typo. is there an easy way to redo the command replacing A with S? ... (4 Replies)
Discussion started by: JamesByars
4 Replies

3. Post Here to Contact Site Administrators and Moderators

Solaris tips and tricks

What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc. This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies

4. UNIX for Dummies Questions & Answers

Sed Tricks

I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc. I tried with sed like below echo "old gold old" | sed 's/old/new/g' It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

5. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

6. UNIX for Advanced & Expert Users

Basic VI tricks

I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related. vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies
ACPIVGA(4)						   BSD Kernel Interfaces Manual 						ACPIVGA(4)

NAME
acpivga -- ACPI Display Adapter and Output Devices SYNOPSIS
acpivga* at acpi? acpiout* at acpivga? DESCRIPTION
The acpivga driver provides generic support for brightness control and output switching, through ACPI video extensions. The ACPI specifica- tion requires that systems containing a built-in display adapter implement these extensions in their ACPI BIOS. The driver handles brightness hotkeys and display switch hotkeys. In addition, the following sysctl(8) read/write variables are provided (when hardware support is available): hw.acpi.acpivga0.bios_switch BIOS output switching policy. This boolean variable controls the behavior of the BIOS when a display switch hotkey is pressed. 1 the BIOS should automatically switch outputs, with no interaction from acpivga. 0 the BIOS should only notify acpivga of the desired output state changes. hw.acpi.acpiout0.brightness Brightness level. This integer variable typically ranges from 0 to 100, but any integer value is accepted (the driver uses the clos- est brightness level supported by the device). Please note, however, that future versions of acpivga may remove these sysctl(8) variables without prior notice. SEE ALSO
acpi(4), vga(4), sysctl(8) Microsoft Corporation, Mobile System Displays and Windows, Version 1.2c, http://www.microsoft.com/whdc/archive/mobiledisplay.mspx, December 4, 2001. HISTORY
The acpivga driver appeared in NetBSD 6.0. AUTHORS
Gregoire Sutre <gsutre@NetBSD.org> CAVEATS
The acpivga driver only supports PCI/PCI-X/PCI-E display adapters. Many ACPI BIOSes implement only part of the ACPI video extensions. In particular, display output switching via these extensions often does not work. For this reason, acpivga enables hw.acpi.acpivga0.bios_switch by default. If the display switch hotkey does not work with this default setting, try setting hw.acpi.acpivga0.bios_switch to 0. Brightness level should be controlled via wsconsctl(8) instead of sysctl(8). BSD
October 28, 2010 BSD
All times are GMT -4. The time now is 11:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy