Sponsored Content
Full Discussion: Change tab size to 4
Special Forums Windows & DOS: Issues & Discussions Change tab size to 4 Post 302783701 by jerryd on Wednesday 20th of March 2013 10:26:28 PM
Old 03-20-2013
I've tried all your suggestions and no luck so far. Is there some way I could tell for sure if the _vimrc file is being read at all?

jerryd
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to change the tab size in vi?

the default size is 8. i found it's too big. how can i change the tab size in vi? is it a good idea to change it at all? thks (12 Replies)
Discussion started by: gusla
12 Replies

2. UNIX for Advanced & Expert Users

File system size change

Good morning folks! I'm new here.. trying to find an answer on how to resize filesystem. Need to add some space to c0t0d0s5, /var... Is it possible at all? JV (9 Replies)
Discussion started by: jvinn
9 Replies

3. Shell Programming and Scripting

change the font size in bash

Hi, I would like to change the font size in bash. I know how do it in ksh: F_VDOBLE="\033#6" print "${F_VDOBLE}Esto es..." But in bash I don't know Could you help me please? Many thanks! (5 Replies)
Discussion started by: mierdatuti
5 Replies

4. AIX

Change the Block size of AIX 6.1

Friends , I know the most cases the unix operation system holds the default block size 4MB . In AIX 5.3 and AIX 6.1 , also use upto 4 MB as its default block size .Now I want to change this value from 4MB to 8MB as AIX block size . Is it possible to change the block size value in AIX 6.1/5.3... (2 Replies)
Discussion started by: shipon_97
2 Replies

5. Shell Programming and Scripting

formatting tab with even size

I have a number of columns separated by tabs but the spacing between them are of different sizes. Is there any way of separating them with tab of even size? Thank you. (4 Replies)
Discussion started by: ivpz
4 Replies

6. UNIX for Dummies Questions & Answers

How to get directories colored when doing change directory and tab

I am trying to navigate between directories using cd. However, the only way to distinguish directories now is by seeing the "/' after the directory names, which is quite inefficient. How can I make the directories look in color when typing cd and then using the tab key to list the files and... (1 Reply)
Discussion started by: genehunter
1 Replies

7. Linux

kde 4.3 and tab size

Hi Guys I have just upgraded to kde4 and i noticed that the default tab size in konsole are massive, i cannot see the setting to change this any hlep thanks Adam (0 Replies)
Discussion started by: ab52
0 Replies

8. Programming

Java JOptionPanel change text field with TAB

So I don't really know anything about Frames, Windows, or Panels.. I just got interested in Java because a coworker is doing classes in it. I know some other languages but never did GUI things...I literally just got NetBeans, and drew up a dialog using it's Design view. All I want is for the TAB... (0 Replies)
Discussion started by: neutronscott
0 Replies

9. Ubuntu

How to change ffmpeg default font size?

Hello, I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg. I ran below code: ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \ -c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4 When I play it in VLC,... (2 Replies)
Discussion started by: baris35
2 Replies

10. UNIX for Advanced & Expert Users

Change size of watermark

I'm using this code to watermark images (add a logo). How do I change the size of the watermark to cover a certain percentage of the image ffmpeg -i folder/s886_01.jpg -i watermark.png -filter_complex overlay=15:15 output.png (2 Replies)
Discussion started by: locoroco
2 Replies
Hunspell(3pm)						User Contributed Perl Documentation					     Hunspell(3pm)

NAME
Text::Hunspell - Perl interface to the GNU Hunspell library SYNOPSIS
# For this example to work, you have to have # the US english dictionary installed! use strict; use warnings; use Data::Dumper (); use Text::Hunspell; # You can use relative or absolute paths. my $speller = Text::Hunspell->new( "/usr/share/hunspell/en_US.aff", # Hunspell affix file "/usr/share/hunspell/en_US.dic" # Hunspell dictionary file ); die unless $speller; # Check a word against the dictionary my $word = 'opera'; print $speller->check($word) ? "'$word' found in the dictionary " : "'$word' not found in the dictionary! "; # Spell check suggestions my $misspelled = 'programmng'; my @suggestions = $speller->suggest($misspelled); print " ", "You typed '$misspelled'. Did you mean? "; for (@suggestions) { print " - $_ "; } # Analysis of a word $word = 'automatic'; my $analysis = $speller->analyze($word); print " ", "Analysis of '$word' returns '$analysis' "; # Word stemming $word = 'development'; my @stemming = $speller->stem($word); print " ", "Stemming of '$word' returns: "; for (@stemming) { print " - $_ "; } #------------------------------------------ # ADVANCED STUFF FROM HERE # NOT SURE HOW IT SHOULD WORK #------------------------------------------ # # Test here generator for morphological modification (NOM->ACC) # $word = 'developer'; my $stem = 'computer'; @suggestions = $speller->analyze($stem); # Modify analyze output for required class (ACC) for (@suggestions) { s/NOM/ACC/g; } # Generate ACC class of stem @suggestions = $speller->generate2($stem, @suggestions); print "Morphological modification generator... "; print Data::Dumper::Dumper(@suggestions); # # Test generator for morphological modification, # modify $stem like $word # @suggestions = $speller->generate($stem, $word); print "Morphological modification generator... "; print Data::Dumper::Dumper(@suggestions); # Deletes the underlying Hunspell C/C++ object $speller->delete($speller); DESCRIPTION
This module provides a Perl interface to the OO Hunspell library. This module is to meet the need of looking up many words, one at a time, in a single session, such as spell-checking a document in memory. The example code describes the interface on http://hunspell.sf.net DEPENDENCIES
You MUST have installed GNU Hunspell library version 1.0 or higher on your system before installing this "Text::Hunspell" Perl module. Hunspell location is: http://hunspell.sf.net There have been a number of bug reports because people failed to install hunspell before installing this module. This is an interface to the hunspell library installed on your system, not a replacement for hunspell. You must also have one hunspell dictionary installed when running the module's test suite. Also, please see the README and Changes files. README may have specific information about your platform. METHODS
The following methods are available: "Text::Hunspell-"new($full_path_to_affix, $full_path_to_dic)> Creates a new speller object. Parameters are: full path of affix file full path of dictionary (dic) file Returns "undef" if the object could not be created, which is unlikely. "check($word)" Check the word. Returns 1 if the word is found, 0 otherwise. "suggest($misspelled_word)" Returns the list of suggestions for the misspelled word. "analyze($word)" Returns the analysis list for the word. TODO HOW? What does it return?? See the examples in the examples/ folder for now. "stem($word)" Returns the stem list for the word. "generate2($stem, @suggestions)" Returns a morphologically modified stem as defined in @suggestions (got by analysis). TODO Explain ... "generate($stem, $word)" Returns morphologically modified stem like $word. TODO WHY IS THIS DIFFERENT FROM generate2() ??? EXPLAIN. "$speller-"delete($speller)> Deletes the speller class. TODO WHY IS THIS NEEDED?? Called on $speller and needs $speller ??? BUGS
Probably. Yes, definitely. COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORS
Eleonora, E<lt>eleonora46_at_gmx_dot_netE<gt> Current maintainer is: Cosimo Streppone, E<lt>cosimo@cpan.orgE<gt> This module is based on a Text::Aspell written by Bill Moseley moseley at hank dot org. Hunspell is written as myspell by Kevin B. Hendricks. Hunspell is maintained by Nemeth Laszlo. Please see: http://hunspell.sf.net For the dictionaries: http://lingucomponent.openoffice.org/spell_dic.html http://magyarispell.sf.net for Hungarian dictionary perl v5.14.2 2012-06-07 Hunspell(3pm)
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy