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?

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

  • RWRUN60 with Batch=YES waits forever

    Hi,
    When I run rwrun60 with batch=yes it waits forever .. I thought it might be probably waiting at the printer box so I also included disableprint=yes and printjob=no .. but this does not work either.
    If I pass batch=no then the parameter box appears and reports get generated on run without any issues. Can someone help?
    Thanks
    Aali

    Are you calling the report using call report or else have you set the report parameters within the report.
    Let me know all the parameters passed.
    Looks like there are parameters which are not compatible to batch=yes. Did you specify output file name?
    Regards
    Dinesh

  • [Solved]Can't forward X in ssh with "X11Forwarding yes" set

    Hi friends,
    I can't forward X in ssh, even with "X11Forwarding yes" set. After I ssh -X into the server, it prompts every time when I try to run a graphic app:
    Error: no display specified
    Could you please give me a hint? My sshd_config of the server is attached:
    # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options change a
    # default value.
    #Port 22
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # Disable legacy (protocol version 1) support in the server for new
    # installations. In future the default will change to require explicit
    # activation of protocol 1
    Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    #PermitRootLogin yes
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    PasswordAuthentication no
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    #ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication. Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    #AllowTcpForwarding yes
    #GatewayPorts no
    X11Forwarding yes
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd no
    PrintLastLog no
    #TCPKeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /var/run/sshd.pid
    #MaxStartups 10
    #PermitTunnel no
    #ChrootDirectory none
    # no default banner path
    #Banner none
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    # X11Forwarding no
    # AllowTcpForwarding no
    # ForceCommand cvs server
    Thank you very much!
    Last edited by Wen (2010-01-16 23:18:12)

    Ashren wrote:
    Have you set:
    ForwardX11 yes
    on the client side?
    Unfortunately, yes .
    This is ssh_config file
    # $OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    # Host *
    # ForwardAgent no
    ForwardX11 yes
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # BatchMode no
    # CheckHostIP yes
    # AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    # Protocol 2,1
    # Cipher 3des
    # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
    # EscapeChar ~
    # Tunnel no
    # TunnelDevice any:any
    # PermitLocalCommand no
    Host *
    GSSAPIAuthentication yes
    # If this option is set to yes then remote X11 clients will have full access
    # to the original X11 display. As virtually no X11 client supports the untrusted
    # mode correctly we set this to yes.
    ForwardX11Trusted yes
    # Send locale-related environment variables
    SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
    SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
    SendEnv LC_IDENTIFICATION LC_ALL

  • 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.

  • 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.

  • [SOLVED] No polish characters during boot with DAEMON_LOCALE=YES

    Hello, it didn't bother me much before cause I always had DAEMON_LOCALE=NO, but with recent upgrade new rc.conf was introduced with DAEMON_LOCALE set by default to YES. Now my messages are like this:
    Checking Filesystems    [BUSY] /dev/sda2: czysty, 183465/647168 plików, 2083335/2588473 bloków
    Questions are: is it supposed to be half message in english half in polish? and how to repair those missing characters? (loading console font is done after those messages)
    BTW this is on virtualbox guest with all testing + kde-unstable repos enabled
    Last edited by masteryod (2012-06-06 10:46:45)

    DSpider wrote:
    Whenever you edit the "/etc/mkinitcpio.conf" file (ie. add "consolefont" to the HOOKS line), don't forget to regenerate your initramfs image!
    # mkinitcpio -p linux
    Yes, I know and I do execute it every time I touch the "/etc/mkinitcpio.conf"
    DSpider wrote:It still wasn't fixed? Then try adding keymap (which says there that it "Adds keymap and consolefonts from rc.conf."), and don't forget to regenerate your initramfs image!
    I have tried that and still no luck:
    1. Edit CONSOLE* settings in /etc/rc.conf
    [root@dog etc]# grep ^CONSOLE rc.conf
    CONSOLEFONT="lat2-16"
    CONSOLEMAP="8859-2"
    2. Add consolefont and keymap to HOOKS in /etc/mkinitcpio.conf
    [root@dog etc]# grep ^HOOKS mkinitcpio.conf
    HOOKS="base udev autodetect sata filesystems fsck consolefont keymap"
    3. Run mkinitcpio
    [root@dog etc]# mkinitcpio -p linux
    ==> Building image from preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.3.7-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [sata]
    -> Running build hook: [filesystems]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.3.7-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [sata]
    -> Running build hook: [filesystems]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    I have dug the problem deeper and checked what is going on in the /etc/rc.* scripts. Everything seems to be in order, but the loading of consolefont/keymap on boot is not having any effect in my case:
    1. System boots, then
    2. Loging in as root
    3. Typing in some Polish pangram as test: zażółć gęślą jaźń
    4. Observing lack of Polish diacritics printed
    5. Re-executing the rc.sysinit steps releated to consolefont/keymap settings:
    # source /etc/rc.conf
    # source /etc/rc.d/functions
    # set_consolefont
    :: Loading Console Font: lat2-16
    6. Trying the Polish pangram test again.
    7. Success, all Polish characters are rendered correctly.
    Here is screenshot which presents the simple test explained above:
    Now, this test suggests to me that the rc.sysinit procedure of configuring consolefont/keymap seems correct.
    However, something seems to get messed during rc.sysinit, so the configuration is later overriden and doesn't persist afterwards.
    Does anyone have an idea what may be wrong? Does it qualify to be reported as a bug?
    Last edited by mloskot (2012-06-06 00:34:10)

  • Srw.run_report problem with distribute=yes

    srw.run_report distribute=yes is not working for me. When running the report in rwbuilder or using command line rwrun, the distribution works fine.
    The problem is eg. a report on employee, with a group on Dept_no. Dept_no is used as distribution list &<dept_no> i the distriubution Dialog in the Report and repeat on G_dept.,
    The report wil generate a number of reports e.g. Dept_no_10.pdf, Dept_no_20.pdf and so on.
    BUT, the file name Dept_no_10.pdf is containing data from Dept 20, and the file name4d Dept_no_20.pdf contains data from Dept 20.
    So the question is, if the report can distinguish the number of files to generate and the correct name, how come the data is corrupt ?
    Any ideas is wellcome.
    Our installation is 11.2.0.2 and I'm using Reports 9.0.4.0.33.
    The use of srw.run_report distribute=no is working fine.
    The setup is to run from pl/sql calling srw.run_report
    claus
    try for a better example at this link : https://technology.amis.nl/wp-content/uploads/images/Reports%20Bursting.pdf
    This explains classic distribution/bursting of reports, and it works with rwbuilder/rwrun, bur not through srw.run_report

    Hello,
    If you copy the parameters displayed by srw.message and create a BAT file with these parameters
    and rwrun60 :
    rwrun60 <the paremeters displayed by srw.message>
    Does the report run correctly ?
    Regards

  • Call Report with ParamForm=yes and Rep-52007

    I have forms and report services 10.2.0.2 installed on my Win2003 server.
    Reports runs perfectly with paramform=no but when i use paramform=yes it show html param form but pressing submit query it show The page cannot be displayed page. the same report with paramform=no and hard coding paramter runs perfectly.
    This is the procedure i am using after adding hidden_action i start getting REP-52007 instead of the page cannot be displayed.....
    PROCEDURE show_report(pRptServer varchar2,pRptObj varchar2,pRptFormat varchar2,pRptPath varchar2,pRptParameter varchar2,pParamForm varchar2) IS
         repid REPORT_OBJECT;
         rep_status varchar2(30);
         v_rep VARCHAR2(100);
         vjob_id varchar2(100);
         v_reportserver varchar2(50):=pRptServer;
         v_runformat varchar2(50):= pRptFormat;
         hidden_action varchar2(1000);
         v_report_other VARCHAR2(4000) :='';
    begin
                   repid := FIND_REPORT_OBJECT(pRptObj);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,pRptPath);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_reportserver);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,v_runformat);
                   --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,pRptParameter||' paramform='||pParamForm);
                   -- code for pfaction
                   hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME);
                   hidden_action := hidden_action ||'&destype='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE);
                   hidden_action := hidden_action ||'&desformat='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT);
                   hidden_action := hidden_action ||'&userid=' ||GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
                   hidden_action := hidden_action ||'&'||v_report_other;
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'pfaction='||hidden_action||' '||pRptParameter||' paramform='||pParamForm);
                   v_rep := RUN_REPORT_OBJECT(repid);
                   vjob_id := substr(v_rep,length(v_reportserver)+2,length(v_rep));
                   rep_status := REPORT_OBJECT_STATUS(v_rep);
                   while rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   loop
                        rep_status := REPORT_OBJECT_STATUS(v_rep);
                   end loop;
                   if rep_status = 'FINISHED' then
                        WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||v_reportserver||'','_blank');
                        message('Finished');
                   else
                        message('Error');
                   end if;
    end;
    Edited by: Zahid Rahim on Oct 2, 2009 10:39 AM

    but when i use paramform=yes it show html param form but pressing submit query it show The page cannot be displayed page
    for Paramform=yes u have to enter values manually.
    open the following link.
    REP-52007: Parameter form format error
    http://www.orafaq.com/forum/t/97088/2/
    sarah

  • 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)

  • BSP email with option (YES/NO) or (ACCEPT/REJECT)

    Is it possible to send email from BSP with option for YES OR NO.
    I have to send a mail to employee for confirmation i.e YES/NO and want to read the confirmation too.
    Can someone help me out it that.

    Hi Manisha,
    As mentioned by me above,here the form is a attachment and the user is required to download to fill it and click yes/no button. Here is some sample code which sends a form to be filled by user and as he clicks on submit, the mail is sent back to me.
    You just modify the code to have click buttons for yes and no and use the code.
    <html>
    <head>
    <title>Enter the title of your HTML document here</title>
    </head>
    <body>
    <form name="input_form"><pre>
    Name: <input name="username" type="text">
    Comment: <input name="comment" type="text">
    </pre></form>
    <script>
    function update_message_body ()
    var username = document . input_form . username . value;
    var comment = document . input_form . comment . value;
    var txt="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
    txt=txt+"<candidate_details>\n"
    txt=txt+"<name>" + username + "</name>\n"
    txt=txt+"<comment>" + comment + "</comment>\n"
    txt=txt+"</candidate_details>\n";
    document . proxy_form . message_body . value = txt;
    return true;
    </script>
    <form name ="proxy_form"
    method ="post"
    enctype ="multipart/form-data"
    action ="mailto:[email protected]?subject=Form Data"
    onSubmit="return update_message_body ();">
    <input type=hidden name="message_body">
    <input type=submit value="send mail">
    </form>
    </body>
    </html>
    You need to move all this code to an internal table. Attach it to mail and send mail.
    Hope this will help you.
    Regards,
    Pragya

  • C++ completion in vim with gccsense (completing from gcc)

    Has anyone tried gccsense? It's been around for a few months.
    http://cx4a.org/software/gccsense/
    I thought I would find a package in AUR, but actually, no. Any volonteer?

    gbarnett wrote:I've seen this before and while it seems like a really cool idea it does has some serious downsides which were pointed out in the GCC mailing list when the developer originally floated this idea to the community, the biggest of which being that this is a separate GCC and so it would be hard to maintain with the mainline GCC, also its a little fiddily to actually use.
    Obviously, the maintainability may not be the best quality of this program. Well, anyway when it comes to C++, do not expect something simple.
    gbarnett wrote:If you really need completion then you would be safer to go with gtags (for Vim, I haven't used Vim for ages though), CEDET (in conjunction with cscope or global) for Emacs
    None of the tools you mentionned were designed to be used with C++. They may be fine if you use if you try to complete C, but for C++ the completion will work horrible. For example, vim's omnicppcomplete is indentation-style sensitive, so either you adapt your style to get the completion to work fine (and you ask your colleagues to do the same - pretty much unfeasible), either you get something that works half of the time.
    I don't think the guy had such a terrible idea: after all, the compiler is in the best program to know how to resolve types: that's its job. They are also planning such features in clang++. And anyway, the C++ language is so bloated that using informations directly from the compiler is pretty much the only way to get accurate results...
    gbarnett wrote: or *shudder* the CDT for Eclipse (the big downside here being that you need to fit everthing into an Eclipse project model and that you are using Java).
    Don't even mention it

  • OAM Customized form in IIS 7 with passthrough = yes

    Hi all,
    Currently I have to create a customized form for OAM in IIS7. Due to specific requirement, user after authenticated will be redirected to another ASP page for post-login handling, before he/she can be redirected back to original request. I'm quite struggling in how to configure the Authentication method and the form properly.
    With my current setup, after authenticated, user can be redirected to the post-login ASP page. But all parameter pass from the form is lost. This is my configuration:
    Authentication method in OAM:
    Challenge Parameter:
    action:/access/oblix/apps/webgate/bin/webgate.dll
    creds:userid password
    passthrough:yes
    form:/login.asp
    and this is my login form:
    <form action="/access/oblix/apps/webgate/bin/webgate.dll?http://mydomain.com/header.asp" method="post">
    Username: <input type="text" name="userid" />
    Password: <input type="password" name="password" />
    <input type="hidden" name="success_callback_url" value="http://mydomain.com/iisstart.htm"/>
    <input type="submit" value="Submit" />
    </form>
    With this configuration, once user authenticated, he/she will be redirected to
    /access/oblix/apps/webgate/bin/webgate.dll?http://mydomain.com/header.asp
    and after that Firefox recognizes:
    Failed to load source for: http://mydomain.com/access/oblix/apps/webgate/bin/webgate.dll?http://mydomain.com/header.asp
    and redirect me back to
    http://mydomain.com/header.asp
    So once I reach http://mydomain.com/header.asp, all POST data has been lost (during redirection).
    I wonder how can I configure it, so that http://mydomain.com/header.asp can have post data from the form
    Thank you so much.
    Harry
    Edited by: user12216301 on Dec 17, 2009 11:02 PM

    Hi Harry,
    I am afraid webgate can not post the original form to the next page.
    when you post a form to /access/../webgate.dll.. webgate consumes the form and does AuthN/AuthZ...
    and it will not post the form to the next page.
    I am not 100% sure, though I feel this is possible
    create a custom AuthN/AuthZ plugin, here you can read your form parmeters.
    based on the form parameters, you can decide what you want to do next, like redirecting to a success page or failure page.
    - Sandeep

  • C-key with CD, yes. OPTION with CD, no.

    Our venerable office G4 MDD Powermac (1 GHz dual processor, 10.4.11) wanted some housecleaning, so I popped in a DiskWarrior CD (3.0.3 R39). I attempted to reboot using the OPTION key, and while both the boot drive and the CD showed up in the choice window, the ticking watch cursor never changed to the pointer so I could click the startup disk I wanted - even after 10 minutes. I had to shut down using the power button.
    On restart, I instead held the C key, and booted without incident into the DiskWarrior CD's OS.
    After running DW, I tried OPTION again, and same result: Can see both startup disks (computer and CD) but the watch cursor never stops running. I've tried this also with a Drive Genius boot CD; same weirdness. Help?

    Hi Richard,
    I've seen that myself, some thoughts...
    PRAM Battery getting old.
    HDD getting hard to read.
    NVRAM or PRAM needs resetting...
    PRAM reset...
    http://docs.info.apple.com/article.html?artnum=2238
    Boot into Open Firmware with CMDOption+of
    http://docs.info.apple.com/article.html?artnum=42642
    reset-nvram (press Enter)
    set-defaults (press Enter)
    reset-all (press Enter)

  • Report formatting get disabled with Pagestream=yes

    Hi,
    I am using Oracle Report Builder 10.1.2.0.2
    my Reports are displayed correctly without Pagestream,
    but when i putted "Pagestream=yes" in link, then the formatting of the pages get distorted. please help me out
    Thanks in Advance
    Regards
    Dev

    The PAGESTREAM keyword enables or disables page streaming (pagination) for the report when formatted as HTML or HTMLCSS output, using the navigation controls set by the report developer. rwbuilder cannot use this keyword.
    You may want to refer to Appendix A in the Oracle Application Server Reports Services Publishing Reports to the Web manual to know which executables can use the PAGESTREAM keyword. This manual is available on OTN:http://www.oracle.com/technology/documentation/reports.html

Maybe you are looking for

  • How can i see folders and files with a 'Ñ' on his names?

    hi everybody, i'm a newer with MacOS, i've buy a MacBook Pro last Friday on Bogotá - Colombia, last nigth i plugged an external hard disk drive with many folders including a folder called: "Microsoft Office 2011 Español", when i explorer the hard dis

  • Problem in executing query

    Hi I am executing a query where the query gets data from a source system through infosets. So query fetch the data by Infosets using synonym concept.We have structure in BW system and synonym is created in the source system pointing to the BW structu

  • Sending alert, gives an error but.......

    Hi, I'm sending an alert with the code bellow which was taken from the sample.  I tested it and it did works ONCE  but now for an unknown reason I get an error.  First here's the code I'm using I'm seinding to 3 recipients in the collection. private

  • New Recording Looks for CD Drive

    Hello, I just installed Adobe Captivate 2.0 onto my laptop. When I try to record a new project, I get an error message stating that "there is no disc in drive E:". This is my second license for this product, and I had no trouble installing the first

  • I am clueless as to what I did wr

    My Zen V was always recognized by my PC when I connected it. Now for some reason the PC won't recognizre the zen no matter what I seem to do. Obvioulsy, I screwed something up and have no idea how to fix my mistake. Any help would be greatly apprecia