Incremental search
Hi people,
Please, does anybody know how could I implement an incremental search in a List?
This List is based on RMS data and it must work like that: one List is exhibited with the first registry highlighted, user start to type cellular keyboard and the letters is exhibited on screen. When user types some letters, the highlight goes to registry (I think, when key is released) that starts with the substring typed by user.
Thanks in advance!
Luiz
Hi Colin,
can you please check crawl logs and check what's the reason behind 300-3,000 deletes every time when
incremental crawl runs,
Also clear the index and run full and incremental crawl.
Hope this helps you to debug more on the issue.
Regards
Soni K
Similar Messages
-
Incremental search in java files
Hi,
i m supposed to write an application for Incremental Search in the Java Files.
it is such that, u type a word, then go on hitting any spl key as F3..it should take u to the every next occurance of the word in the current file and highlight it....
any one who has done b4, doing or knows abt this ......
plzzzz hlp me..
thanx in adv
SKHi,
Just giving you an idea to solve this, but implementation of this depends on your hardwork.
We can use Threads concept here. Use a integer variable, which is a global and is used later.
Now TWO java threads are activated.
One of the thread will constantly pool the Standard Input device for desired key value. Once it gets the desired key press value it will increment the integer variable.
The Second thread will serve as the searching thread. This will contantly check the value of the integer variable and the search string variable. If the integer value is more than 0, then this thread will run a methos which will point to the next occurance of the search word. After this it will decrement the value of the integer variable.
You may need to use Synchronization concept also in this when it comes to integer variable.
Hope this idea helps.
Do let me know once u implement the solution.
Cheers. -
Incremental search in hsqldb?
Is it possible to do that?
I'm thinking of making application like itunes, but i just can't figure out how itunes does the incremental search and return the result so quickly (as you type).
Anyone knows how to do that? Is it possible doing it with hsqldb?I was just wondering what should i use for the database storage. Is
hsqldb appropriate for this? Because if i keep repeating SELECT *
FROM table WHERE key=keyword as i type isn't it gonna be slow? Or
will it be ok? I personally haven't try it out yet but just wanna get it right
from the start..if your data is small, i think its okay...
Anyway is it how i should implement it? by repeating select statement
whenever i type the keyword?yes.
note:
* with this design, your application is consuming large network traffic,
so it become not suitable to work over internet.
* if you are working with large date and using single-threading or using
your gui-event-thread to retrieve & displaying data, your application will
freeze awhile every time user type a key.
* if you really want to make responsive application, i suggest you to
reloading after the typing stop for several time (ie. 2 seconds),
instead of reloading every key-stroke. -
Bug report: emacs style incremental search (Ctrl-S + search
NitroX ignores the incremental search emacs command in the JSP design
view. The eclipse Alt-R command seems to work but it is slow and clunky
compared to the emacs command.Hi Vikas,
Thank you for reporting this issue. I easily reproduced this.
I have filed this as Bug 12581907 to be fixed for Application Express 4.1.
Thanks again.
Joel -
Get the daily incremental search crawl information using PowerShell script
Dear Friends ,
I want to get the daily incremental search crawl information using PowerShell script . I need this information into CSV or txt format . Can you please help me with this.
valmikiHi
I have got the below script which worked .
## SharePoint Reference
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search.Administration")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search")
[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
function global:Get-CrawlHistory($url)
trap [Exception] {
write-error $("ERROR: " + $_.Exception.GetType().FullName);
write-error $("ERROR: " + $_.Exception.Message);
continue;
$s =
new-Object Microsoft.SharePoint.SPSite($url);
$c = [Microsoft.Office.Server.Search.Administration.SearchContext]::GetContext($s);
$h =
new-Object Microsoft.Office.Server.Search.Administration.CrawlHistory($c);
Write-OutPut $h.GetCrawlHistory();
$s.Dispose();
Get-CrawlHistory
-url http://your_site_url/
|
Export-CsvF:\temp\search.csv
valmiki -
User profile service incremental sync failure
Hi all, I'm working for a client that has a failing UPS incremental sync. The scheduled sync was running fine until a couple of weeks ago when it suddenly stopped working. Coincidently, this was also at the same time that they noticed the incremental search
crawl and UPS audience compilation timer jobs failing. A timer service stop/start fixed the search/audience compilation problems, but they’re still having issues with the UPS incremental sync. I see the following errors in the ULS when the sync fails (nothing
logged in FIM operations window):
08/15/2013 09:19:05.73 OWSTIMER.EXE (0x1E40) 0x1C78 SharePoint Foundation Timer 6398 Critical The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID ad907731-0878-411e-9184-2bd8eea74501) threw an exception.
More information is included below. Access to the requested resource(s) is denied 36285c84-5805-4af3-9df5-88254e67ba9f?
…followed by
08/15/2013 09:19:05.73 OWSTIMER.EXE (0x1E40) 0x1C78 SharePoint Foundation Timer 72ae Unexpected Exception stack trace: at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.GetResource(UniqueIdentifier identifier, String[] attributeNames,
Nullable`1 resourceTime) at Microsoft.ResourceManagement.WebServices.ResourceManager..ctor(UniqueIdentifier resourceIdentifier, String typeName, String[] attributeNames, CultureInfo locale, Boolean includePermissionHints, TimeZoneInfo localTimeZone) at Microsoft.ResourceManagement.WebServices.ResourceManager..ctor(UniqueIdentifier
resourceIdentifier, String typeName, String[] attributeNames, CultureInfo locale, Boolean includePermissionHints) at Microsoft.Office.Server.UserProfiles.Synchronization.MAConfiguration..ctor(Guid resourceIdentifier) at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.CreateSteps()
at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute() at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) 36285c84-5805-4af3-9df5-88254e67ba9f
I’ve confirmed the following:
Were any changes made to farm servers around the time issue first appeared (group policy etc.) -
No
Farm (SP2010 Standard) version number - 14.0.6106.5000 (June 2011 CU) / 14.0.6029.1000 (SP1)
Are both FIM services started – Yes
Does the farm account have local admin rights – Yes
Does the farm account have log-in locally rights – Yes
Does the farm account have access to relevant FIM binaries - Yes
Does the network service account have access to relevant FIM binaries –
Yes (Network service has full control to this location (D:\Program Files\Microsoft Office Servers\14.0\Service) and this location (D:\Program Files\Microsoft Office Servers\14.0 directory)
Does the farm account have dbo on all UPS databases – Yes
Steps tried to fix so far:
Restarted timer service
Restarted User Profile Synchronization service in Central Administration
Restarted 'Forefront Identity Manager Service' and 'Forefront Identity Manager Sync Service' (server service)
Rebooted all farm servers including SQL
Moved service instance to another server (and back). Errors reported on other server after move:
System.Data.DataException: This request has an invalid target: B87AD086-D1CB-4008-BE44-706FF05D6378. The invalid target identifier is F2CC710F-99E1-45A2-8F9F-D6A5D1A3CAC4. Microsoft.ResourceManagement: System.Data.DataException: This request has
an invalid target: B87AD086-D1CB-4008-BE44-706FF05D6378. The invalid target identifier is F2CC710F-99E1-45A2-8F9F-D6A5D1A3CAC4. at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception) at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType
request, Guid cause, Boolean doEvaluation) at Microsoft.ResourceManagement.Data.DataAccess.CreateRequest(RequestType request, Guid cause, Boolean doEvaluation) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor,
UniqueIdentifier targetIdentifier, OperationType operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation) at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Put(Message
request) ?
Other issues
When creating a new sync connection in CA, the following message is displayed when the connection is saved:
“Unable to process create message”
I also see this error message in the logs:
A update on the configuration of a MA or MV failed to replicate to a target connector directory that is capable of storing MA/MV configurations. As a result, the MA/MV configuration data in this connector directory is not up to date. Please correct
the condition that causes the error, and triggers a resync by updating the password information of the target MA. Additional information: Error Code: 0x80230709 Error Message: (The extension operation aborted due to an internal error in FIM Synchronization
Service.) Operation: Create MA Name of the MA to replicate: MOSSAD-BLAH Guid of the MA to replicate: {BF18A3FA-190D-49F8-878B-D469D545B2A8} Name of the target MA: ILMMA Guid of the target MA: {F2CC710F-99E1-45A2-8F9F-D6A5D1A3CAC4}
The management agent appears in FIM, but isn’t displayed in SharePoint CA (UPS SA). At present we have a few test MA’s that appear in FIM but not in SharePoint CA (UPS SA).
I’m at a loss as to why this incremental sync has stopped working. It’s also strange that test sync connections are appearing in FIM despite error displayed in CA when provisioning them. Stranger sill, the test sync connections don’t appear in CA, but appear
in FIM.
Potential next steps include resetting the profile synchronization DB as detailed here http://technet.microsoft.com/en-us/library/ff681014(v=office.14).aspx#resetSync. If anyone has had any other suggestions, I’d be very grateful to hear about
them.
Many thanksTry to start full sync,and if it also stop with the same error - try to reset Sync DB using this script:
$SyncDB = "<Sync DB name>"
$UserProfilesName = "<User Profile Service Application name>"
net stop sptimerv4
$SDB=Get-SPDatabase | where {$_.Name -eq $SyncDB}
$SDB.Unprovision()
$SDB.Status='Offline'
$UPS = Get-SPServiceApplication | where {$_.Displayname -eq $UserProfilesName }
$UPS.ResetSynchronizationMachine()
$UPS.ResetSynchronizationDatabase()
$SDB.Provision()
net start sptimerv4
Best regards, Andrii -
Find problem with the text search in jdeveloper.
When i press "ctrl + f" sometimes i am unable to edit the data which is already in the text box.
Same case with the line number even. When i press "cntrl + g" the text box with line number is uneditable.
My machine config :
RHEL 4,
Jdeveloper version : 10.1.3.0.4.3673I've seen this issue too. It appears to be related to top level window focus. Sometimes the modal dialogs for Find and Go to Line number are on top, but without focus. This seems to be some generic Java issue on Linux (I'm using Gnome, unsure about other desktops).
One workaround for find: instead of using Ctrl+F, try using Ctrl+E instead. This invokes incremental search. A lot of people prefer this to regular find anyway.
Brian -
Search is showing no results with HTTPS URL
Hi All,
A power user wanted to have https entry in one of the content sources and asked us to remove the http entry for the web application. After that I have performed the incremental search.
However, the search on the https on the web site started showing NO results. We have configure search settings on the site as follows:
After that search is able to search but it search for other content sources. In the search service application we have several web applications and we want to scope to that specific web application and users should perform search only in that web application
scope. How could I scope search to a specific web application?
Our document library search is also retuning with no results.
Any suggestion to resolve the issue will be greatly appreciated.
Thanks in advance.
SandyHi Sandy,
I think you have to edit the publick urls, and switch the default zone and intranet zone URLs, set the https as default zone public URL, then start a full crawl in a proper time if it impacts the user on production server, you may also test in a test
environment firstly.
Also there is aother article which should help.
http://ragavj.blogspot.in/2014/09/layouts15osssearchresultsaspx-not.html
https://support.microsoft.com/en-us/kb/2000365?wa=wsignin1.0
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Hello,
when I use the search function in JDeveloper, I get Filenames like shown below:
D:\Java\APQPV2\APQP_APPLET\src\bak\apqp\loginPanel.java~10~
There is no file with that name... What that ~10~ means?
regards BrittaI've seen this issue too. It appears to be related to top level window focus. Sometimes the modal dialogs for Find and Go to Line number are on top, but without focus. This seems to be some generic Java issue on Linux (I'm using Gnome, unsure about other desktops).
One workaround for find: instead of using Ctrl+F, try using Ctrl+E instead. This invokes incremental search. A lot of people prefer this to regular find anyway.
Brian -
[SOLVED] zsh config (.zshrc) no longer working for root.
Hi,
I must've done something stupid a while ago, cause whenever I sudo -s to get some root privilages it seems .zshrc is not read.
Prompt is default and aliases don't work.
Here's my .zshrc, just in case. I'm quite sure it's okay.
# OPTIONS FOR ZSH
# PS1=$'%(!.%{\e[0;31m%}#.%{\e[0;32m%}$)>_ %{\e[0m%}' # $>_ / #>_
PS1=$'%(!.%{\e[1;31m%}%{\e[5;31m%}>>>.%{\e[1;31m%}>%{\e[1;33m%}>%{\e[1;32m%}>) %{\e[0m%}' # >>> / >>>
RPS1=$'%{\e[0;33m%}[%~]%{\e[0m%}'
# RPROMPT=$'[~]'
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/mozilla/bin:$HOME/linux/bin:/opt/kde/bin:/opt/java/jre/bin:/usr/local/bin"
export EDITOR="vim"
export MANPATH="/usr/share/man:/usr/man"
export DE=kde
#export TERM=xterm-256color
# key bindings
bindkey -v
bindkey "^[[2~" overwrite-mode
bindkey "^[[3~" delete-char
bindkey "\e[7~" beginning-of-line
bindkey "\e[8~" end-of-line
bindkey "$(echotc kl)" backward-char
bindkey "\E[A" up-line-or-search
bindkey "\E[B" down-line-or-search
bindkey '^R' history-incremental-search-backward
bindkey -M vicmd 'k' up-line-or-search
bindkey -M vicmd 'j' down-line-or-search
HISTFILE=~/.zshhistory
HISTSIZE=50000
SAVEHIST=50000
# aliases
alias ..='cd ..'
alias cl='clear'
alias ls='ls --color=auto'
alias lsl='ls -hl --color=auto'
alias rm='rm -v'
alias pg='pgrep -lf'
alias ka='killall -s 9'
alias sus='sudo -s'
alias hdtemp='sudo hddtemp /dev/sda'
alias du="du -h"
alias df="df -h"
alias freq="cpufreq-info | grep decide"
alias mpdkill="sudo mpd --kill && killall -s 9 mpdscribble"
alias sudo="sudo "
alias nc="ncmpcpp"
alias cmatrix="cmatrix -abu2"
alias x="startx"
alias thinkpad-smapi="thinkpad-smapi -b 0"
alias relap="sudo /etc/rc.d/laptop-mode restart"
alias rewlan="sudo ifconfig wlan0 {down,up}"
alias rentpd="sudo /etc/rc.d/openntpd restart"
alias resamba="sudo /etc/rc.d/samba restart"
alias recups="sudo /etc/rc.d/cups restart"
alias reblue="sudo /etc/rc.d/bluetooth restart"
alias fancool="/etc/rc.d/thinkfan stop && echo level 7 > /proc/acpi/ibm/fan"
alias fanstart="sudo /etc/rc.d/thinkfan start"
# functions
fs() { find $1 -iname '*'$2'*'; }
gcurses() { gcc $1 -o $(cut -d . -f 1 $1) -lncurses;}
ranger () {
command ranger --fail-unless-cd $@ &&
cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
# completion
autoload -U compinit
compinit
# correction
setopt correctall
# prompt
# autoload -U promptinit
# promptinit
# prompt redhat
# options
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt nohup # don't kill bg jobs when tty quits
setopt nocheckjobs # don't complain about background jobs on exit
#Some functions, like _apt and _dpkg, are very slow. You can use a cache in order to proxy the list of results (like the list of available debian packages) Use a cache:
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/.zsh/cache
#Prevent CVS files/directories from being completed:
zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'
#Ignore completion functions for commands you don't have:
zstyle ':completion:*:functions' ignored-patterns '_*'
zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'
zstyle ':completion:*:processes-names' command 'ps -e -o comm='
Last edited by vi3dr0 (2010-09-19 15:10:41)I think this was a pushed /etc/sudoers file that pacdiffviewer prompts you to replace with, maybe a month ago? If you were like me, you probably only added yourself being able to sudo. I don't have the old version, but I don't remember requiring the code I gave you... maybe they've changed something necessitating the new file. Anyway, happy times, my prompt turns red when I 'sudo -s'
-
Regular Expressions in the new editor
Hi,
we just ubgraded to SAP GUI 6.40 and ERP 2005, when i hit ctrl-h the search and replace dialog is popping up in the new editor. But the checkbox "regular expression" is greyed out and cant be activated. Why?
cu
RainerHi, I can only confirm that. The help indicates that it should work, but on the screencaps, it's grayed out too.
Besides that,
Open completion automatically after is not implemented yet (is mentioned in the help).
There are also problems with the incremental search backwards. It works only once.
Eddy
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d! -
Vim reasonable defaults for all users.
now the vim package keeps a less-than-minimal set of default settings. So keeping the old default as starting point I made what I think is a reasonable default:
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set listchars=tab:˛\ ,trail:┈ " show trail spaces and tabs
set list
set wildmode=list:longest,full " use the new menus
set wildmenu
set background=dark " who uses white terminals anyway?
"statusline: filename, filetype, mod, rw, help, preview,
set statusline=%t\ %y\ %m%r%h%w
"statusline: separation between lef and right aligned items
set statusline+=%=
"statusline: lines number, column number, percent
set statusline+=[L:\ %l/%L]\ [C:\ %v]\ [%p%%]
set laststatus=2 " always show status line
set highlight+=sn
" Don't use Ex mode, use Q for formatting
map Q gq
" Use space and backspace to scroll the document
map <space> <c-d>
map <bs> <c-u>
" Disable f1, if you need help use `:help'
map <f1> <nop>
map ; :
" CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo,
" so that you can undo CTRL-U after inserting a line break.
inoremap <C-U> <C-G>u<C-U>
" In many terminal emulators the mouse works just fine, thus enable it.
if has('mouse')
set mouse=a
endif
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
" Only do this part when compiled with support for autocommands.
if has("autocmd")
" Enable file type detection.
" Use the default filetype settings, so that mail gets 'tw' set to 72,
" 'cindent' is on in C files, etc.
" Also load indent files, to automatically do language-dependent indenting.
filetype plugin indent on
" Put these in an autocmd group, so that we can delete them easily.
augroup vimrcEx
au!
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
" (happens when dropping a file on gvim).
" Also don't do it when the mark is in the first line, that is the default
" position when opening a file.
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
augroup END
else
set autoindent " always set autoindenting on
endif " has("autocmd")
" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.
if !exists(":DiffOrig")
command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
\ | wincmd p | diffthis
endif
I put it here hoping it helps you or yours users' vim experience. Please leave any comment.
Last edited by ezzetabi (2009-09-30 13:53:47)Hi, I think this is not a bad idea. I do like using listchars to show tabs and trailing spaces like that, but I think that using commoly used characters like _ is confusing. If you go into vim and use the :digraph command you can see lots of special characters which are useful IMO for listchars. I use set listchars=tab:→,trail:¸, but I don't know if they'd be best for everyone. But I think it is clearer than using normal keyboard characters.
-
Vim latex-suite and auto completion
Hi,
according to this introduction you have to hit <enter> to chose a bib entry after pressing F9 in \cite{ :
My problem is that I see the bib entries but when I hit enter the windows close and I'm back in my tex file with no entry in the \cite bracket. When I typed in the first letters of the bib key these are also erased.
Any ideas?
Here's my .vimrc
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
filetype plugin on
filetype indent on
set grepprg=grep\ -nH\ $*
let g:tex_flavor = "latex"
" switch on syntax highlighting
syntax on
let g:Tex_DefaultTargetFormat = 'pdf'
let g:Tex_CompileRule_pdf = 'latexmk -pdf -pv -g'
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after
" A clean-looking font for gvim
set guifont="DejaVu\ Sans\ Mono\ 8"
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set history=100 " keep 100 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
" set mouse -=a
set shortmess+=I " disable the welcome screen
" line numbering
set nu
" wrap like other editors
set wrap " word wrap
set textwidth=0 "
set lbr " line break
set display=lastline " don't display @ with long paragraphs
" searching
set hlsearch " highlight all search results
set incsearch " increment search
set ignorecase " case-insensitive search
set smartcase " upper-case sensitive search
" nice colours
set t_Co=256
" colorscheme twigight
" colorscheme desert256
" colorscheme tlvb
" colorscheme zenburn
colorscheme ir_black
" scroll one screen line regardless of editor line length
:noremap <Up> gk
:noremap! <Up> <C-O>gk
:noremap <Down> gj
:noremap! <Down> <C-O>gj
:noremap k gk
:noremap j gj
set enc=utf-8
" Scrollbars
set sidescrolloff=2
set numberwidth=4Hi davvil,
thanks for your reply. There are no whitespaces. The only thing I've noticed is, that the indention of the entries is different (INCOLLECTION, BOOK, etc isn't idented, though).
My bib was partly created by JabRef and by entries made by me. I'll check if the problem also occurs with a new bib made from scratch. -
[ANNOUNCEMENT] Hetman 1.0 Early Access - powerful Java file manager
SoftAge has launched the Early Access Program for Hetman 1.0.
Handy Java desktop application Hetman is a dual-panel file manager for the huge Java community.
Hetman is powered by Fusion framework (based on SWT), it has a decent responsive cross platform GUI and impressive overall performance.
Tabbed rich design interface, native cross platform widgets implementation, powerful text editor, advanced console and much more make Hetman the indispensable and full-featured programmer�s tool.
The following features are currently almost complete:
- two panel file management UI
- powerful incremental file navigation
- built-in text editor with syntax highlight
- advanced console
- Windows networking support
- Zip archives
- FTP
- Open API
Planned features:
- Linux and Mac OS X implementations
- Enhancements for Java developers
- just ask � and we'll do it :)
The most important keys to start:
Alt-F1, Alt-F2 � change drive
Ctrl-T � open new file tab
Ctrl-O � open new console
F4 � edit file under cursor
Ctrl-W � close tab
<any symbol in file panel> � start incremental search
Ctrl-F � start incremental search in editor and console output
Alt-Up, Alt-Down � go to next/previous item in selection, search results etc.
Alt-Left, Alt-Right � go to next/previous tab
You can use Button Bar at the bottom to figure out the most important key combinations yourself. It automatically changes state according to current location and modifier key pressed (Ctrl, Alt, Ctrl+Alt),
Hetman�s Open API has been designed to enable adding features easily and quickly. You can develop your own implementation of the file system that will be fully supported by Hetman.
We are focused to bring Java applications to desktop. Hetman is our first attempt in this direction. We invite you to download EAP (Early Access Program) Hetman�s version for testing and evaluation. Your opinion is what matters most to us.
You can read more about Hetman at http://www.myhetman.com.
Early Acess Program page: http://www.myhetman.com/download/eap.html
Should you have any questions or comments, please don�t hesitate to contact us at [email protected].
Best regards,
Hetman TeamYou know, I think I'll make it a personal policy to never look at anything that someone dumps an ad for in the formums.
-
SQL*Plus + rlwrap + Terminator = tolerable environment
I have no doubt that those who are "full-time" users of sqlplus (that is a native Oracle's textmode client app to the database server), will agree that it provides a spartan and unimaginative command-line interface. Unlike most modern command-line utilities, such as `mysql' (in MySQL) or `psql' (in PostgreSQL), it lacks
* auto-completion (TAB key), not to mention context-sensitive auto-completion (SELECT ... FROM <TAB>)
* command history (UP/DOWN arrow keys)
* incremental search on the history (CTRL-r)
If you make any mistake typing a long statement, you have to re-enter it all over again. In addition, sqlplus also lacks
* an internal call to system $PAGER for paging query output instead of wrapping the text, without having to spool the output to a file
Since most unix/linux terminal emulators (xterm, rxvt, gnome terminal, kde konsole etc) don't support horizontal text scrolling, but wrap text upon the right margin, the use of sqlplus on unix/linux terminals is really horrific. By the way, it's a shame that a multi-billion company like Oracle, which reported nearly $18 billion total revenues ($4.3 billion net income) for this fiscal year, the company that charges $40,000 per CPU for its "World's Number One Database" with nearly 50% market share and considers Linux to be its supported platform for the future, doesn't take care of getting sqlplus finally doing right (mysql and postgresql are also multi-platform products). As Linux has very efficient gnu readline library and several well-known system pagers such as `more', `less', `most' etc, it's really shameful and ridiculous that we have to google for "workarounds". Fortunately, there are nice "workarounds" all over the internet thanks to opensource.
I. Terminator
Whoever is interested in running sqlplus to issue queries producing long-line text output in a virtual terminal wider than physical screen, and doesn't hesitate in-java-written applications, now can download and install a cross-platform GPL terminal emulator called Terminator with advanced features. Terminator provides horizontal and vertical scrollbars for horizontal and vertical scrolling. It's java application (internally calling bash shell) with Ruby startup script, so it requires Java 5 or later and Ruby 1.8 or later to be installed (Ruby is shipped as standard package with RHEL/OEL). Though written in java, Terminator has very good performance and very nice output. Prebuilt Terminator packages are available from software.jessies.org. Here are direct download links for
32-bit RHEL/OEL
http://software.jessies.org/downloads/redhat/org.jessies.terminator.i386.rpm
64-bit RHEL/OEL
http://software.jessies.org/downloads/redhat/org.jessies.terminator.x86_64.rpm
Just install the package (rpm -ivh) and start terminal by typing `terminator'. By default, the terminal window appears in black background and white foreground. I recommend changing default settings to obtain better-looking screen fonts. Go to Edit/Preferences, select the "Anti-alias text", click on the "Colors" tab and change background to white and text foreground to black, or just click preset "Black on White". Click on the "Save" button to save the settings. Restart the terminal.
II. rlwrap
Linux users working with sqlplus have an additional opportunity to use a readline wrapper `rlwrap' inside Terminator (or any other terminal). Since sqlplus is not built against readline library, rlwrap is just doing the job. It can be downloaded as a source tar package from
http://utopia.knoware.nl/~hlub/rlwrap/
Much better option is to download the newest source rpm package from Fedora 7, eg:
ftp://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/7/Everything/source/SRPMS/rlwrap-0.28-2.fc7.src.rpm
and build the binary rpm package by
# rpmbuild -bb rlwrap.specAfter installing the package, put the following line in /etc/bashrc (globally) or in ${HOME}/.bashrc (locally):
alias sqlplus='/usr/bin/rlwrap -m ${ORACLE_HOME}/bin/sqlplus'or whatever your <path_to_sqlplus> is. Relogin or just source .bashrc to take the effect. Start `terminator' terminal and then start "new" sqlplus inside it. Don't forget to SET LINESIZE to a desired value (practically unlimited), or just put the line in the glogin.sql.
Now you'll have an environment similar to that in windows (up/down arrows for command history, Ctrl-r for incremental search on the history, TAB key for auto-completion, all that in a terminal that doesn't wrap the output. It's a good practice to create your own `${HOME}/.sqlplus_completions' file (locally) or `/usr/share/rlwrap/sqlplus' file (globally) with all SQL reserved words (or whatever you want) as your auto-completion list (see rlwrap man page).
Have a lot of fun.
N.J.... But honestly I wasn't facing to any problem with the older version.Neither I, but who knows... Here is a list of add-ons and bugs fixed since version 0.24. The list is extracted from rlwrap's "NEWS" file.
0.28 rlwrap bug that caused termcap problems on Fedora Core 6
fixed (thanks Tung Nguyen)
0.27 when stdin is not a terminal, rlwrap will now exec() the
specified command instead of complaining
when stdout or stderr is not a terminal, rlwrap will re-open
it to /dev/tty (the users terminal) after forking off the
specified command (so "rlwrap cat > file" will work as a
quick and dirty line editor)
rlwrap now remembers inputs of length 1
-D option to tell rlwrap how agressively it should weed out
duplicate history entries
-H option added (history format string)
Added temporary fix for termcap weirdness on Fedora Core 6
new -t option for a quick check of terminal capabilities
(requires configuration with --enable-debug)
rlwrap -s 0 <command> will now zap <commands> history
fixed broken reporting of unrecognised options
0.26 configure on FreeBSD 6.0 still didn't find libutil
some files were unnecessarily kept open (thanks Stephan Springl)
on each platform, rlwrap -h now accurately reflects whether
rlwrap can use long options or optional arguments
0.25 rlwrap would print input twice when in vi-mode
rlwrap under FreeBSD 6.0 now uses openpty() from libutil (config
script fixed)
-P option added (one-shot rlwrap with pre-given prompt)
Until now, whem the underlying command was killed by a signal,
rlwrap would just exit with exit code 0. Now rlwrap will
cleanup, reset its signal handlers and then send the same signal
to itself - so that rlwraps parent (usually a shell) doesn't see
the difference with an un-rlwrapped command
Regards
N.J.
Maybe you are looking for
-
Is there an easy way to output the sensor configuration to a file to send to TAC? Thanks. Shawn
-
7.0 will not open today!!! Please help
any idea why photoshop 7.0 will not open? it opens every morning for us but today it scrolls through the plug ins and goes back to desk top? now we are dead in the water.....need help!
-
How do I get an app developer to acknowledge my complaint ?
I purchased a non consumable subscription for a game called Just Dance(made by ubisoft) that is valid for 30 days. The subscription began on the 8th of March and worked fine for 2 days until the app store outage, since the outage i have been unable t
-
How do I edit a single handled anchor point
I find myself with a corner that only has one handle (screen shot below), to which, I want to add a second handle. I could convert it to a smooth curve but this averages things out and moves my existing handle's position. I want to add the second han
-
I recently purchased adobe indesign I'm trying to download it but i'm getting a message that's saying "Install.app" can't be opened because it is from an unidentified developer. Your security preferences allow installation of only apps from the Mac A