Vim with limp [SOLVED]

i've yaourted limp and i'm looking at the docs:
http://mikael.jansson.be/hacking/limp/docs/
however, other than putting stuff in /usr/share/vim/ftplugin/lisp/vim nothing much is happening.
looking at limp.vim i see:
runtime ftplugin/lisp/limp/cursor.vim
runtime ftplugin/lisp/limp/highlight.vim
runtime ftplugin/lisp/limp/sexp.vim
runtime ftplugin/lisp/limp/bridge.vim
runtime ftplugin/lisp/limp/autoclose.vim
runtime ftplugin/lisp/limp/keys.vim
runtime ftplugin/lisp/limp/mode.vim
so i put a softlink in the ftplugin/lisp/ dir to vim, but that didn't accomplish anything either.
anyone know how to get limp working with vim?
(of course, i installed sbcl)
Last edited by pradtf (2010-09-26 17:10:11)

ok some progress has just been made!
by putting a softlink in .vim/ftplugin/lisp -> /usr/share/vim/ftplugin/lisp
it comes on.
now to try to figure out what to do with it as per mikael's doc.
<F12> works but it doesn't seem to start a limp connection hanging on Booting ... indefinitely.
now this document provides some idea:
https://bugs.archlinux.org/task/17774
but i'm not sure how to proceed since changing
LIMPDIR=${LIMPRUNTIME:-/usr/local/limp/$VERSION}
to
LIMPDIR=${LIMPRUNTIME:-/usr}
did zilch.
no wait actually it works but i have to start lisp manually after changing the LIMPDIR:
lisp.sh test -b
then i can (g)vim into the program and <F12> and follow mikael's doc.
this discussion was what provided the info:
http://www.lispforum.com/viewtopic.php?f=17&t=3
so we'll see where this goes, but at least this much is working now.
Last edited by pradtf (2010-09-26 06:51:49)

Similar Messages

  • How do I install a version of vim with Python support?

    I'm trying to install a version of vim with Python support, but for some reason I can't seem to find anything useful when I search.
    So far I've found posts that say arch doesn't have one built with Python support, and use this <broken link> AUR package. I've search AUR for "vim python" which turned up nothing. There *does* exist extra/gvim-python3, but when I install that, then vim (not gvim) still tells me "Error: Required vim compiled with +python"
    This search:
    https://duckduckgo.com/?t=lm&q=arch+lin … on+support
    Provides:
    https://bbs.archlinux.org/viewtopic.php … 1#p1070281 - Only a link to a bug report
    https://bbs.archlinux.org/viewtopic.php … 0#p1144210 - Post with the 404'd AUR link
    What I finally found was this Gist with directions on using the ABS:
    https://gist.github.com/MicahElliott/3048622
    Ultimately you'll have to change the particular tar.xz files you use in the pacman -U steps, but this should get you vim with Python enabled.

    I have downloaded vim by cloning The Vim Mercurial repository.
    hg clone https://vim.googlecode.com/hg/ ~/bin/vim_bin
    Then i have a this script to install it in my own ~/bin/ dir.
    #!/bin/bash
    cd /home/myuser/bin/vim_bin/src
    echo "---Configure----"
    ./configure --prefix=/usr --localstatedir=/var/lib/vim \
    --with-features=big --with-compiledby="Custom Vim insall" \
    --enable-gpm --enable-acl --with-x=no \
    --disable-gui --enable-multibyte --enable-cscope \
    --enable-netbeans --enable-perlinterp \
    --enable-rubyinterp --enable-luainterp \
    --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \
    --enable-python3interp --with-python3-config-dir=/usr/lib/python3.4/config > my_log
    echo "=== Make ==="
    make >> my_log
    echo "==== Install ===="
    make install >> my_log
    Hope it helps some one

  • Running console vim with gui support

    I want to run console vim with gui support so that this plugin will be supported.  The current vim package is complied without gui support.  Gui support is in a seperate "gvim" package.
    Is there a elegant way to run console vim with gui support if I have both packages installed?
    Two ways I've thought about but ultimately discarded are:
    1. Alias "vim" to "gvim -v", which runs gvim in the console.  This works under most normal circumstances, but not under others.  First, if running vim through sudo, my plugins and vimrc are loaded, but as the shell is different, the alias doesn't apply.  Second, as vi is vim, running vi invokes this plugin, but vi calls vim, which doesn't have gui support, so the plugin fails.
    2. Fool with the /usr/bin/vim file.  Admittedly i haven't tried this, but obvious problems I see are when the vim package is updated.  What happens then?
    Is there a more elegant way?

    I want to run vim using a plugin that requires vim to be built with gui support.  The way arch's packages are set up, /usr/bin/vim is owned by the "vim" package, which is compiled without gui support.
    The "gvim" package is (obviously) built with gui support.  Gvim can be run in the console with "gvim -v", which would give me a console vim with gui support.  However, I think you'll agree that typing "gvim -v" everytime I mean "vim" is tedious and not a real solution.

  • [solved] vim with qt frontend ?

    I searched AUR and found a qt frontend for vim. But it needs so many modules other than qt, such as perl, python. I don't understand why these irreverent modules should be involved.
    Any one knows? or it is still unstable ?
    Last edited by jameschyn (2011-12-01 14:11:03)

    https://github.com/BlackIkeEagle/herecu … stable/vim can give some more ideas. The packages are available at
    [herecura-stable]
    Server = http://herecura.be/repo/herecura-stable/$arch
    herecura-stable vim-cli 7.3.362-1
    herecura-stable vim-gvim-gtk 7.3.362-1
    herecura-stable vim-gvim-motif 7.3.362-1
    herecura-stable vim-gvim-qt 7.3.362-1
    herecura-stable vim-gvim-x11 7.3.362-1
    herecura-stable vim-rt 7.3.362-1
    herecura-stable vim-tiny 7.3.362-1

  • Vim ignores ~/.vimrc [solved]

    Since update to 7.1.68-1 vim no longer reads my ~/.vimrc.  Some commands (i.e. set number) work when entered manually, others do not (syntax on reports "Sorry, the command is not available in this version.")
    Any clues to recover line numbers and syntax?
    Thanks.
    Edit:
    Ooops! Solved, it seems that I was executing the classical vi. Before the update vi was the same as vim, now it seems they're different binaries and although :help in vi reports "Vim version 7.1", it behaves as vi.
    These lines in ~/.bashrc resume previous behaviour:
    export EDITOR=vim
    export VISUAL=vim
    alias vi=vim
    Last edited by atordo (2007-08-14 01:22:07)

    JackH79 wrote:
    Strange. Is vim at least using any other modifications in your vimrc?
    If no, then I'd say that maybe it doesn't use the same vimrc you're working with.
    If it does, then I'm out of ideas for the moment.
    Edit: Maybe check this.
    Thanks for your help. I noticed this problem while trying to modify my existing vimrc, which is much larger. That pre-existing vimrc works quite well, with or without these changes to the statusline settings. The changes just get ignored. This leads me to think that $HOME/.vimrc isn't being ignored entirely. For some reason, only the statusline part seems to be ignored.
    The output of
    :version
    within vim appears identical to
    vim --version
    within bash, and so:
    $ vim --version | grep vimrc
    system vimrc file: "/etc/vimrc"
    user vimrc file: "$HOME/.vimrc"
    system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    I could suppose that some error is making vim fall back on /etc/vimrc - but wouldn't this also make an error message appear, and make the colorscheme fall back to default as well? If there's a problem, then shouldn't the commands fail to work when I run them manually, and shouldn't a warning or error be issued?
    I could post my normal vimrc, but I think at this stage it would just muddy the waters. I'd like to focus on getting the given minimal vimrc to work first. After that, I will see whether the solution works in a more realistic vimrc.

  • Saving a file in Vi creates same file but with ~ added [SOLVED]

    Hi,
    I'm not sure if I pressed a key combination, but when I save a file in Vi I get another file that has the same name as the original file but with the ~ character added to the end of the filename.  For example, if I edit foo.txt and save it, then the original will be saved, but I'll also get a new file named foo.txt~.  Does anyone know how to fix this?
    Thanks!
    -nterpol
    Last edited by nterpol (2008-11-09 12:30:59)

    I think that the default backup settings (in /etc/virc if you use the basic vi package) changed with the recent upgrade to Vim 7.2.25.
    For information on file backup setting combinations, see :help backup-table in Vim.
    Edit:
    fwojciec wrote:http://thehumblecoder.wordpress.com/200 … kup-files/
    That article advocates disabling the use of swap files (:set noswapfile); however, I wouldn't recommend it. Whereas backup files are designated with a trailing tilde (~), swap files have names ending with .swp. The latter should be removed automatically when Vim exits (unless it is exited abnormally, such as when the user closes a terminal emulator without first quitting an instance of Vim that is running inside it).
    Last edited by ssjlegendx (2008-11-10 04:13:24)

  • LaTeX composition in (g)vim with live update-as-you-type PDF preview

    Ever since I tried the gummi LaTeX editor, I've been intrigued by the idea of having a live-updating PDF preview--i.e., a PDF output panel which updated as I typed. This provides all the good things of WYSIWYG, but without taking away the control I have by editing the source directly. However, apart from its preview panel, I was thoroughly unimpressed with gummi as an editor. It had none of the advanced features I was used to.
    Since then, I've been trying various techniques to make it work with my preferred editor, (g)vim. At first, I used latexmk with the -pvc option which recompiles whenever the file changes, along with a PDF editor that refreshes whenever the file changes (like evince); but found it slow and tended to get stuck.
    My current method is to use mupdf as my viewer, with a custom LaTeX script which calls xdotool to update mupdf whenever I have a successful compilation. This seems to be working fairly well.
    Here's an animated GIF screen capture showing it in action
    There is typically still a 1-second delay between typing something and it showing on the PDF preview, but it's not really any worse than it seems to be wih gummi, and I get to use a world-class editor.
    I should note that I'm not using the vim-latex suite plugin or anything similar, so I don't know whether or not any of this is compatible.
    Anyway, I thought I'd post my method here just in case anyone thought it useful, or more importantly, anyone had any feedback for how it might be improved. I'm not a programmer (--my degrees are in philosophy!--) and don't really have that much experience with vim or bash scripting, so forgive my naive methods.
    Anyway, in my ~/.vim/ftplugin/tex.vim I have:
    " Function to save, check if already compiling and compile if not
    function! KKLtxAction()
    " go to right directory
    lcd %:p:h
    " save the file if need be and it's possible
    if filewritable(bufname("%"))
    silent update
    endif
    " see how many kkltx processes there are
    " note that there are always 3 when the checking itself happens
    " so we need there to be no more than that
    let numrunning = system("ps ax | grep kkltx | wc -l")
    if numrunning < 4
    exec "silent !kkltx " . expand("%") . " &"
    endif
    endfunction
    " Call this function whenever mupdf the cursor moves
    " But only in gvim
    if has("gui_running")
    au CursorMoved *.tex call KKLtxAction()
    au CursorMovedI *.tex call KKLtxAction()
    endif
    So whenever the cursor moves, the file saves and checks if the compilation script is running. If it is not, it runs it. Here's the script, named kkltx. (To make it work, create a ~/.config/kkltx folder. Sorry about the stupid name; I needed it to be uncommon.)
    #!/bin/bash
    file="$1"
    logfile="${file%.tex}.log"
    auxfile="${file%.tex}.aux"
    # check to see when file was last saved and
    # check see what version of file was last compiled
    currmodified=$(stat -c %Y "$file")
    oldmodified=$(cat $HOME/.config/kkltx/lastprocessedfile)
    # if they're the same exit with no change
    if [ "$currmodified" == "$oldmodified" ] ; then
    echo "nochange"
    exit 0
    else
    # if compilation is necessary, check what program to use
    # 'xelatex' should appear in first 5 lines for xelatex docs
    if head -n 5 "$file" | grep -i -q 'xelatex' > /dev/null 2>&1 ; then
    execprog="xelatex"
    else
    execprog="pdflatex"
    fi
    # try to compile
    if ${execprog} -interaction=batchmode -file-line-error -synctex=1 "$file" > /dev/null 2>&1 ; then
    # if compiling worked check if bibtex needs to run
    if cat "$logfile" | grep -i -q 'undefined citations' > /dev/null 2>&1 ; then
    if bibtex "$auxfile" > /dev/null 2>&1 ; then
    if ! ${execprog} -interaction=batchmode -file-line-error -synctex=1 "$file" > /dev/null 2>&1 ; then
    echo "failure"
    exit 1
    fi
    else
    echo "bibfail"
    exit 2
    fi
    fi
    # check if a rerun is necessary to update cross-references
    if cat "$logfile" | grep -i -q 'rerun to get' > /dev/null 2>&1 ; then
    if ! ${execprog} -interaction=batchmode -file-line-error -synctex=1 "$file" > /dev/null 2>&1 ; then
    echo "failure"
    exit 1
    fi
    fi
    # update mupdf by sending the r key to it
    xdotool search --class mupdf key --window %@ r > /dev/null 2>&1
    echo "success"
    # save time of compilation
    echo -n "$currmodified" > "$HOME/.config/kkltx/lastprocessedfile" 2>/dev/null
    else
    echo "failure"
    exit 1
    fi
    fi
    exit 0
    One thing you miss out on with mupdf is the SyncTeX ability in, e.g., TeXworks that allows you jump from the source to the corresponding part of the PDF and vice-versa. Here's a kludge that at least gets to you to the right page by using xdotool to send the signal to move to a certain page matching the source, or to read what page mupdf is on, and move to the beginning of the source code for that page (or strictly, a couple inches over and down). Again, in my ~/.vim/ftplugin/tex.vim
    " \v to open the viewer
    nnoremap \v :exec "silent! !mupdf ".expand("%:r").".pdf &"
    " forward search with mupdf
    function! MuPDFForward()
    " make sure I'm in the right directory
    lcd %:p:h
    let pageforward = 0
    " find where I am now; adjust for starting with 0
    let searchline = line(".") + 1
    let searchcol = col(".") + 1
    " use synctex to find the page to jump to
    let pageforward = system("synctex view -i " . searchline . ":" . searchcol . ":\"" . expand("%") . "\" -o \"" . expand("%:r") . ".pdf\" | grep -m1 'Page:' | sed 's/Page://'")
    " if a page other than 0 is found, send the page number to mupdf
    if pageforward > 0
    call system("xdotool search --class mupdf type --window %1 \"" . pageforward . "g\"")
    endif
    endfunction
    " inverse search with mypdf
    function! MuPDFReverse()
    lcd %:p:h
    let gotoline = 0
    " call a script which returns the line number near start of page shown on mupdf
    let gotoline = system("syncreverse-mupdf.sh " . expand("%:p:r"))
    if gotoline > 0
    exec ":" . gotopage
    endif
    endfunction
    " mappings \f and \r for forward and reverse search
    nnoremap <buffer> \f :call MuPDFForward()<CR>
    nnoremap <buffer> \r :call MuPDFReverse()<CR>
    Here is the script syncreverse-mupdf.sh called by the above:
    #!/bin/bash
    # syncreverse.sh full-path-of-PDF-minus-extension
    pathfn="$1"
    # reduce filename to base, add .pdf
    pdffile="$(echo "$pathfn" | sed 's@.*/@@g').pdf"
    # change to directory containing files
    cd "$(echo "$pathfn" | sed 's@\(.*\)/[^/]*@\1@g')"
    # read page number in mupdf window title
    page=$(xdotool search --class mupdf getwindowname | sed 's:.* - \([0-9]*\)/.*:\1:')
    # synctex lookup; remove junk
    line=$(synctex edit -o "$page:288:108:$pdffile" | grep -m1 'Line:' | sed 's/Line://' | head -n1)
    line=$(echo "$line" | sed -n 's/\([0-9]*\).*/\1/p')
    # return line for gvim
    echo "$line"
    exit 0
    I also recommend putting mappings in vim to send keys to mupdf to move around, so you can move around in the preview but without making (g)vim lose focus. These are just examples.
    nnoremap <silent> <buffer> <C-PageDown> :silent! call system("xdotool search --class mupdf key --window %@ Page_Down")<CR>
    nnoremap <silent> <buffer> <C-PageUp> :silent! call system("xdotool search --class mupdf key --window %@ Page_Up")<CR>
    Anyway, these could definitely be improved, by, for example, accommodating master/sub-documents, and so on. Thoughts?
    Last edited by frabjous (2010-11-04 22:41:21)

    OK, I've uploaded a PKGBUILD to AUR. Since I've changed how it handles recognizing when it's safe to recompile, it no longer needs to have a weird name. The name is now:
    vim-live-latex-preview
    It comes with a very short vim help file, which I'll copy here.
    *live-latex-preview.txt* For Vim version 7.3. Last change: 2010 Oct 27
    *live-latex-preview*
    A plugin for creating a live-updating PDF
    preview for a LaTeX file in MuPDF
    Default key bindings:~
    \p = Begin auto-compilation and launch MuPDF preview.
    \o = End auto-compilation and close MuPDF preview.
    \s = Check the result of the last compilation;
    jump to first error in case of errors.
    \f = Forward search to page in PDF matching cursor
    position in source.
    \r = Reverse/inverse search to position in source
    matching active page in MuPDF. (Very approximate.)
    \<PageUp>, \<PageDown>, \<Up>, \<Down>, \<Right>, \<Left>, \G
    \m, \t, \-, \+, \= = Send the corresponding keystrokes
    to the MuPDF preview without losing focus on vim Window
    The '\' can be changed by changing <LocalLeader>.
    Be aware that your file is saved whenever the cursor moves. Be sure
    to take the appropriate measures to keep back-up saves and undo files
    so you can undo changes if need be.
    To compile with XeLaTeX rather than PDFLaTeX, include the string
    'xelatex' somewhere in the first five lines of your file (e.g., in a
    comment). Currently only PDFLaTeX and XeLaTeX are supported. (Support
    for LuaLaTeX and/or LaTeX > dvips > ps2pdf may be added in the future,
    but they may be too slow for the live updating process anyway.)
    The plug-in does not currently support master- and sub-documents
    via LaTeX's \input{...} and \include{...} mechanisms. This may be
    added in the future.
    vim:tw=78:ts=8:ft=help:norl:
    This is a new version; pretty much completely rewritten from the above. In particular, I've tried to incorporate keenerd's ideas; in particular some changes:
    Rather than grepping the active processes, when it begins a compilation, it records the process ID of the compilation script, and will not begin a new compilation until that process finishes.
    When it first launches MuPDF, it records the Window ID and sends it back to vim, so vim knows which instance of MuPDF to refresh or work with.
    I've added a \s quick key which provides a one-word summary of the effects of the last compilation and jumps to the line number of the first error, if there were errors.
    The script is located in a separate file in the main $VIMRUNTIME/ftplugin folder, rather than a user's tex.vim file.
    I'm sure there's still plenty of room for improvement. I'd still like to get it to handle master/sub-documents well, for example. All comments welcome.

  • ATI tv-out with xorg7 [solved]

    Hi everybody.
    I have a problem with tv-out on my ATI card since upgrading to xorg7. When I connect the card to my tv I can see the desktop but when I try to play a movie I get just a blue screen where the video is supposed to be.
    DRI and other things work fine. I have a Mobility Radeon 9700 using the 8.22.5 driver and fglrxinfo shows:
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: MOBILITY RADEON 9700 Generic
    OpenGL version string: 2.0.5642 (8.22.5)
    It is probably a VX thing but I have no idea how to solve this problem. Any ideas?

    Thanks for the tip, but the problem actually was that I did have those lines in my xorg.conf. When I deleted them it started working.
    If someone else is having this problem in a similar configuration, here is the device section from my xorg.conf.
    Section "Device"
    Identifier "** ATI Radeon"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    Option "UseInternalAGPGART" "no"
    Option "NoTV" "no"
    Option "TVStandard" "PAL-D"
    Option "TVHSizeAdj" "4"
    Option "TVVSizeAdj" "0"
    Option "TVHPosAdj" "0"
    Option "TVVPosAdj" "4"
    Option "TVHStartAdj" "2"
    Option "TVColorAdj" "255"
    EndSection

  • Problem starting OpenOffice with KDE [Solved]

    I just did a clean Arch install witk KDE desktop. After I installed OpenOffice with
    pacman -Sy openoffice-base
    when I try to start openoffice I get the following error message
    "The application cannot be started. An internal error occurred."
    I tried to reinstall OpenOffice but that didn't help.
    Any ideas whats going wrong? OpenOffice worked fine with Gnome before I did a clean install.
    -A-

    this problem is caused as some files on the install or somewhere else got assigned root permissions so that is the problem. i deleted the folder and everything recreated ok.
    I have the same problem, but deleting ~/.openoffice.org2 haven't solved the problem, so I looked up this forum for other solutions and nothing helped.
    From other topic: That's not a java problem, I think.
    Any ideas?

  • Parsing XML with namespaces SOLVED

    I'm working on a SOAP-based self-service UCCX/IPIVR script where the caller inputs an account number and I call a SOAP service and get an XML result. That part works great. I used this excellent article https://supportforums.cisco.com/document/97736/uccx-8x-really-simple-soap-client-no-custom-jar to accomplish that. With slight modification to work with the particular server/service, it works flawlessly.
    My return XML file has namespaces in it with multiple sections. See attached text file with the return results.I get the same result from the SOAP call from UCCX and also from SoapUI.
    First off, my Java skills are very basic at best. Also, please forgive me if I use incorrect terms when it comes to XML nomenclature.
    I need to read each <b:Bill> section and parse the various elements within each section. I can use the statement "//*[local-name()='AssessmentType']" and get the AssessmentType element from the 1st <b:Bill> section but that's it. I don't know how to access the 2nd and subsequent <b:Bill> sections. I checked a number of different articles on various sites including the forums but I haven't found anything that I can understand let alone make work. I thought using QName was going to be my answer but I can't figure out how to make that work.The more I read about this the more confused I get.
    I found a reference somewhere using //Bills/Bill[1]/AssessmentType to access the 1st section and //Bills/Bill[2]/AssessmentType to access the 2nd section but that returns null in both instances. If I use //a:Bills/b:Bill/b:AssessmentType I get an exception, prefix must resolve to a namespace a: exception in org.Apache.xpath.domapi.XPathStylesheetDOM3Exception.
    I event tried modifying the <b:Bill> tag to <b:Bill ID="1"> and using "//*[local-name()=[@ID=1]/AssessmentType" and <Bill ID="1"> but neither of those worked. I tried removing the b: from all of the elements and tried using the same syntax but I still get null.
    I'm hoping someone can point me in the right direction on how I can do what I need to do, if it's even possible. I'm sure it is, I just don't know how to go about it.
    For testing, I just hard-coded the return XML string into a String variable, converted that to a document so I could use the Get XML Document Data step to parse it. The soapResponseStringModified variable is:
    U"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><SOAPGetBillSummaryResponse xmlns=\"http://soap.xxx\"><SOAPGetBillSummaryResult xmlns:a=\"http://schemas.xxx\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><a:ErrorMessage i:nil=\"true\"/><a:Success>true</a:Success><a:BillCount>2</a:BillCount><a:Bills xmlns:b=\"http://schemas.xxx\"><b:Bill><b:AssessmentType>Annual</b:AssessmentType><b:BillAmount>8259.96</b:BillAmount><b:BillNumber>272818</b:BillNumber><b:BillType>Secured</b:BillType><b:IsRollover>False</b:IsRollover><b:LevyAmount>7508.24</b:LevyAmount><b:RollDate>2014</b:RollDate><b:TaxStatus>Cancelled</b:TaxStatus></b:Bill><b:Bill><b:AssessmentType>Additional</b:AssessmentType><b:BillAmount>7758.24</b:BillAmount><b:BillNumber>501340</b:BillNumber><b:BillType>Secured</b:BillType><b:IsRollover>False</b:IsRollover><b:LevyAmount>7758.24</b:LevyAmount><b:RollDate>2014</b:RollDate><b:TaxStatus>Unpaid</b:TaxStatus></b:Bill></a:Bills><a:GlobalData xmlns:b=\"http://schemas.xxx\"><b:Address>123 MAIN ST</b:Address><b:City>ANY TOWN</b:City><b:EDO>19500909</b:EDO><b:IsDelinquent>true</b:IsDelinquent><b:IsVoid>false</b:IsVoid><b:ParcelNumber>00000</b:ParcelNumber><b:State>XX</b:State><b:TaxRateArea>3016</b:TaxRateArea><b:TodaysDate>20150323</b:TodaysDate><b:Zip>00000</b:Zip></a:GlobalData><a:MainRoll>false</a:MainRoll></SOAPGetBillSummaryResult></SOAPGetBillSummaryResponse></s:Body></s:Envelope>"
    Script (run in single-step mode from the IDE):
    I appreciate any guidance.
    Bill

    It looks like I found a solution to my problem. I haven't explored this for all the possible SOAP methods I have to use but this "solution" looks encouraging.
    If I do a replace() on the namespaces for a: and b: with an empty string, then replace the a:, /a:, b: and /b: with an empty string, I can use the XPath statements //Bill[1]/<FieldName>, //Bill[2]/<FieldName>, //Bill[x]/<FieldName> I can extract the data in a loop since I know the total number of bills ahead of time.
    I replace xmlns:a="http://schemas.xxx" and xmlns:b="http://schemas.xxx" with "", I can extract the elements in the Bill tags.
    It looks like this will solve my problem. It's not elegant but it works. When I loop through the elements, they' re updating appropriately based on the returned XML response.
    I'm sure there's a more elegant way to solve this problem but based on my limited coding skills, I found this a workable solution. I don't know how to use all the various Java tools available to me so this does the job.
    If someone knows the proper way to do this, I'd like to know how it's done. This will add to my toolkit and make my code easier to maintain down the road.
    Bill

  • Synchronize/Permission Issues With Pacman-Solved

    Hi Friends,
    I just re-installed Arch (base only) and wanted to get gui. So, I edited pacman.conf and included a directory in "custom" where many packages are saved. I had logged in as root.
    Now, when I do "pacman -Syu" I get:
    :: Synchronizing package databases...
    :: current is up to date
    :: extra is up to date
    :: unstable is up to date
    :: community is up to date
    failed copying /home/pacman/custom.db.tar.gz
    failed to synchronize custom
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    error: could not open sync database: custom
           have you used --refresh yet?
    Again, on doing "pacman -S xfce4" I get
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    error: could not open sync database: custom
           have you used --refresh yet?
    Then I edited pacman.conf and commented out custom and then did "pacman -Syu" and got
    :: Synchronizing package databases...
    :: current is up to date
    :: extra is up to date
    :: unstable is up to date
    :: community is up to date
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    :: Replace mkinitrd with mkinitcpio from "current"? [Y/n] y
    :: Replace devfsd with udev from "current"? [Y/n] y
    Remove:  mkinitrd devfsd
    Targets: klibc-1.4.29-2 klibc-extras-2.1-1 klibc-udev-102-1
             gen-init-cpio-2.6.17-1 mkinitcpio-0.5.8-1 udev-102-1 autoconf-2.60-1
             binutils-2.17-1 bison-2.3-1 coreutils-5.97-1 cracklib-2.8.9-1
             db-4.4.20-3 dcron-3.2-1 dialog-1.0_20060221-1 e2fsprogs-1.39-1
             filesystem-0.7.2-5 gcc-4.1.1-3 gettext-0.14.6-2 kernel-headers-2.6.18-3
             glibc-2.4-4 groff-1.19.2-1 gzip-1.2.4b-4 initscripts-0.7.2-9
             iputils-021109-5 jfsutils-1.1.11-1 kbd-1.12-5 kernel26-2.6.18.1-1
             libpcap-0.9.5-1 libusb-0.1.12-1 lilo-22.7.3-1 m4-1.4.7-1 man-1.6d-1
             man-pages-2.39-1 mkinitrd-1.01-31 module-init-tools-3.2.2-3
             openssl-0.9.8d-1 pam-0.81-2 perl-5.8.8-4 ppp-2.4.4-3 procps-3.2.7-1
             rp-pppoe-3.8-1 shadow-4.0.18.1-2 slocate-3.1-2 vim-7.0.118-1
             wget-1.10.2-2 xfsprogs-2.8.10-1
    Total Package Size:   110.4 MB
    Proceed with upgrade? [Y/n] n
    So, after excluding "custom," pacman is working but still giving "permission denied" error at the begining.
    Now, when I do "pacman -S kde" I get
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    kde: not found in sync db
    So, it seems pacman has problems installing packages which are not currently installed, like xfce4 or kde. With the packages currently installed, it behaves properly as when I did "pacman -S wget" which is already installed, it gave me as
    error: /var/lib/pacman/extra/cl-sdraw-1.0.0-1/desc: Permission denied
    db_read: error: /var/lib/pacman/community/perl-net-ipv6addr-0.2-2/depends: Permission denied
    Targets: wget-1.10.2-2
    Total Package Size:   0.5 MB
    Proceed with upgrade? [Y/n] n
    Hence, I'm unable to install any single packages and also could not understand that "permission denied" error. Also, I am unable to delete /var/lib/pacman/current, extra, etc., or change their permission using chmod 751. Please help.
    Thanks in advance.
    Ravi S Ghosh

    ravisghosh wrote:Now i'm unable to boot, hangs when mounting / partition. While trying to mount the arch partition from other linux, it hangs.
    Try to just fsck the partitions, don't mount them.  Certainly doesn't sound good though.

  • Vim --with-x=yes

    Just wondering if anyone else ran into a problem with the latest version of vim, where you can no longer paste into vim from the X clipboard.
    I got so used to selecting text from anywhere and everywhere (OpenOffice, Firefox, any other X app), and pasting it straight into an open vim session with the middle mouse button.  But with the 7.1.12 package it's no longer working.  Keep in mind, I'm not talking about gvim, but about vim.  I have urxvt windows open everywhere (w/ screen), and vim.
    Anyway, the solution is to build vim yourself, and in the PKGBUILD, find where it says "--with-x=no" and change it to "--with-x=yes".
    I wonder, how could I request the maintainer, Tobias Kieslich, to do this?  I don't think the change hurts anything, and it has always worked this way in previous archlinux vim packages.
    Suggestions?

    im wondering why vim tries to connect to the xserver, as vim is compiled with with-x=no. But if i ssh to my machine that has no Xserver running, vim need long time for opening a file, because it tries to connect to x, so it needs to be started with vim -X.
    But i dont want to do this everytime, so is there a fix?

  • Can't upgrade with -Syu [SOLVED, eeeh :D]

    Well, this is what happens if I pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    archlinuxfr is up to date
    :: Starting full system upgrade...
    warning: bin32-wine: local (1.1.27-1) is newer than archlinuxfr (1.1.24-1)
    warning: g15daemon: local (1.9.5.3-2) is newer than archlinuxfr (1.9.5.3-1)
    warning: g15stats: local (1.91-1) is newer than archlinuxfr (1.0-1)
    warning: libg15: local (1.2.7-1) is newer than archlinuxfr (1.2.6-1)
    resolving dependencies...
    looking for inter-conflicts...
    Targets (15): dvd+rw-tools-7.1-2 hal-info-0.20090716-2 inputproto-1.5.1-2
    lib32-libtiff-3.8.2-6 lib32-libxml2-2.7.3-3 lib32-qt-4.5.2-6 libpng-1.2.39-1
    libtiff-3.8.2-6 libxml2-2.7.3-3 libxpm-3.5.7-2 xf86-input-evdev-2.2.4-1
    libgl-7.5-2 xorg-server-utils-7.4-7 xorg-server-1.6.3-3 xterm-245-1
    Total Download Size: 27,62 MB
    Total Installed Size: 81,37 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'libpng-1.2.39-1-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'libtiff-3.8.2-6-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'libxml2-2.7.3-3-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'libxpm-3.5.7-2-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'xf86-input-evdev-2.2.4-1-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'xorg-server-utils-7.4-7-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'xorg-server-1.6.3-3-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'xterm-245-1-x86_64.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Errors occurred, no packages were upgraded.
    I tried to change mirror from mirrorlist, but it gives the same result on different mirrors too. It started to blame like that a day before yesterday and I tried to fix it myself. Without luck. Help?
    E: Using Arch 64, if it helps.
    Last edited by Exitium (2009-08-17 17:54:46)

    Exitium wrote:
    #Archlinux @ Freenode: "There has been an "accident" with our repositories. It has been fixed, but core, extra and testing don't contain package files on most mirrors until they have resynced"
    And one guy said that ftp://ftp.ds.hj.se works. So, problem fixed.
    thanks so much man, i was pulling my hair apart from yesterday due to this problem. and your mirror solved the problem

  • [Thinkpad W520] Cant control backlight with xbacklight [solved]

    Hello Forum,
    the backlight control keys wont work in gnome shell and xbacklight also doesnt work (it does not show errors).
    Using
    light
    from aur works and when showing controllers. Both nv_backlight and intel_backlight are shown. I suspect a problem with the gpu setup using nouveau and intel.
    Are there any ways to disable nv_backlight?
    Or can I specify which controller to use for gnome shell?
    Last edited by Alcasa (2015-04-26 17:22:13)

    Thanks for the answer.
    I have solved the problem in the meantime adding the kernel option.
    video.use_native_backlight=0
    This option has been introduced to improve brightness configuration, albeit it doesnt work on W520.

  • Issues getting on the net with wlan0 [SOLVED]

    Hello!
    I've managed to be able to see my network (if that count's for anything) but can not get on to it.
    I installed netcfg, went in to /etc/network.d/examples/wpa.example and entered in all of my details - I then cp'd that over to /etc/networkd.d/   - it's just been renamed to wpa.
    I now dhcpcd wlan0 but it just gives me "already running on pid 2546" so i kill 2546 && dhcpcd wlan0 and it times out with warn - using IPV4LL address 169.254.40.16.
    I have also tried iwconfig wlan0 Tony passkey    - but that also does not work. Spitting out "Tony : command not found: - however, the archwiki says to enter it this way.
    iwlist wlan0 scan | less comes out with master netgear and Tony - both the same. Tony looks a bit like -
    Cell 02 - Address: 00.14.6C.AC.6E.8C
    ESSID: "Tony"
    Mode:Master
    Channel:11
    Frequency:2.462 GHz (channel 11)
    Quality=55/64 Signal level=23/65
    Encryption key = On
    IE: WPA Version 1
    Group cipher : TKIP
    Pairwise Ciphers TKIP
    Auth Suites : PSK
    Any help would be much appreciated.
    Last edited by Blindraven (2009-10-15 01:37:39)

    zenlord wrote:
    I'm not sure you did this, but you have to '# netcfg wlan0 wpa' once you set up your profile (you don't need to use iwconfig or dhcpcd yourself anymore) or add net-profiles to your rc.conf to connect automatically.
    Please add [SOLVED] to the subject-line of this thread.
    Zl.
    No, it's simply "netcfg <profilename>" - no need to specify wlan0.
    So if I want to connect to the profile uniwireless, I would do:
    netcfg uniwireless

Maybe you are looking for

  • There si any trouble when I input Chinese to the JTextField in Applet.

    There si any trouble when I input Chinese to the JTextField in Applet.

  • Premiere Pro does not import any footage

    Premiere Pro CS6 imports footage to the media browser, but with the image jumbled up. This happens regardless of format/codecs. Audio (including from footage) imports normally.

  • ODBC Connection  Issue

    Dear All, In my system installed three Oracle client version 10g,9i,8i. I have connected with odbc for oracle through visual basic 6.0. Acutally my problem is where to be place the tnsnames.ora file? Please suggest me. Regards Sudhakar P.

  • Adobe is stealing my money and I cannot find a way to stop it

    Please help! For the longest time I have been paying $49 every month without being able to use my Adobe creative cloud subscription, and now I have finally had enough. Today when trying to figure out why my account was dormant I realised that somehow

  • Checks scenario  for BW

    Hi, I have project 2 phases 1) check BW 3.5 when upgrade R/3 to ECC6 2) check BW 7 when upgrade BW 3.5 to 7 in each one of the two phases, which applicational scenario I should follow in my testings Thx