SOLVED dmenu guru needed

Edit: Darn it I think I should have posted this in the Program and Scripting section, sorry!
I am trying to use dmenu to help me choose from a bookmark file a website and then pass the chosen site on to firefox.
I am using sed but am a noob at it and have only gotten so far here is what I have with comments.
#!/bin/bash
SRC=~/.config/bookmarks
# The 'sed' command below converts the first space on each line of
# $SRC into a tab. Having changed $IFS, these tabs then serve as
# column separators in $ARR.
SAVEIFS=$IFS
IFS=$(echo -e "\n\t")
ARR=(`sed 's/ /\t/' $SRC`)
IFS=$SAVEIFS
#I need a command that hides the first column , containing the URLs, and passes only the names on to dmenu
(so that the list contains only their names(tags).
#Then when the name is chosen in dmenu to then pass the url not the name to firefox or luakit whatever
#the bookmarks file contents would be something like this
http://wiki.archlinux.org/index.php ArchWiki
bbs.archlinux.org arch-forum
translate.google.com google-translate
maps.google.com google-maps
images.google.com google-images
printfriendly.com printfriendly
Last edited by chickenPie4tea (2014-10-03 11:38:33)

I'm definitely not a guru (I'm sure there's improvements that can be made to the script), but here's a script I use to do something similar (in concept):
#!/bin/sh
# dedit: Use dmenu to open and edit a file from a given list.
# Global variables:
FILES=${1:-"$HOME/.config/dmenu/edit-list"}
if [ -f $XDG_CONFIG_HOME/dmenu/dmenurc ]; then
. $XDG_CONFIG_HOME/dmenu/dmenurc
else
DMENU='dmenu -i -l 10'
fi
# Show list of options
choice=$(awk '{print $1}' $FILES | $DMENU -p "File to edit:")
if [[ $choice ]]; then
# use eval as get vim error if use awk's "system"
eval $(awk '/'$choice'/ && NF == 2 {printf("'$EDITOR' %s",$2); exit}
/'$choice'/ && NF == 3 {printf("%s %s",$3,$2); exit}' $FILES)
fi
You don't need to convert the spaces to tabs as awk uses space as a field separator (this can be changed).
Basically, you'd use awk (cut may also do the job here) column 2 to dmenu, and save the return value. If that is non-blank, you can use that in awk to find the correct line (see how to search specific fields in patterns in the manual) and pass the url (from column 1) to the application. specific fields can searched in the pattern section using:
The example above is a little more complicated than you need as it allows me to use two and three line entries (to change editor). You could remove the "NF == 3" entry and the NF references.
Finally, I don't use "&" as here as it wasn't needed (it's all in the same terminal), you might want/need to do that.
EDIT: cross posted with jasonwryan, not saying I think my method's preferable. Might update my script to remove the first awk call.
Last edited by skanky (2014-10-03 10:01:03)

Similar Messages

  • LabView "Guru" needed for the summer (4 month project) Kalamazoo, MI

    LabView "Guru" needed for the summer (4 month project)
    I am looking to hire a LabView "Guru" for a summer project in Kalamazoo, MI that will last 4 months.  Specifically, the ideal person will have the following:
    LabView expert with a minimum of 7-15 years of experience working with LabView (currently using version 6.1).
    80% of the job will be dissecting and interpreting mature LabView code and then re-engineering it to be used for testing.
    Printed Circuit Board experience a plus.
    4 year degree (BSEE preferred, but expertise in LabView takes priority over degree)
    The pay will be $60/hr and you can plan on overtime of at least 10 hrs each week that will be paid at $90/hr. 
    Please call 616-855-4600 if you need more information and email a "word" copy of your resume to [email protected]

    Sounds like Parker-Abex (LabVIEW 6.1 part)
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • [Solved] dmenu doesn't recognize script

    Hello everyone!
    I installed i3 on my PC and I really like it
    But there's one problem:
    I created a custom starter in /usr/bin and it starts when I enter the complete name in dmenu but it doesn't autocomplete it.
    Do you have an idea how I can solve that?
    I don't really want to type the complete name everytime I want to start it
    Thanks in advance!
    TheRatze94
    Last edited by TheRatze94 (2013-01-13 15:16:57)

    Thanks for your solution!
    It worked perfectly for me
    For those who want to do the same solution:
    You need to delete ~/.cache/dmenu_run
    the other one doesn't exist

  • SOLVED:Dmenu not launching correctly in Xmonad

    I am running xmonad and I am having issues getting the dmenu_run to execute properly. It was working fine before but now it just launches with a white bar and nothing autocompletes. I am running Xmonad 0.9.2-2.1 and dmenu 4.4-1. Here is my entry in xmonad.hs:
    , ((modMask, xK_p ), spawn "dmenu_run | dmenu -b")
    Also, here is my entire xmonad.hs:
    import XMonad hiding (Tall)
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Hooks.ManageHelpers
    import XMonad.Layout.HintedTile
    import XMonad.Layout.LayoutHints (layoutHints)
    import XMonad.Prompt
    import XMonad.Prompt.Shell
    import XMonad.Util.Run(spawnPipe)
    import System.Exit
    import System.IO
    import Data.Monoid
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    myBorderWidth = 1
    main = do
    xmproc <- spawnPipe "/usr/bin/xmobar /home/comhack/.xmobarcc"
    xmonad $ defaultConfig {
    terminal = "urxvt",
    modMask = mod1Mask,
    workspaces = ["Net", "Chat", "Work", "4", "5", "6", "7", "8", "9"],
    normalBorderColor = "#000000",
    focusedBorderColor = "#838B8B",
    manageHook = composeOne [isFullscreen -?> doFullFloat],
    borderWidth = myBorderWidth,
    keys = myKeys,
    focusFollowsMouse = True,
    layoutHook = myLayout,
    logHook = dynamicLogWithPP $ xmobarPP
    { ppOutput = hPutStrLn xmproc,
    ppTitle = xmobarColor "green" "" . shorten 60,
    ppHiddenNoWindows = xmobarColor "grey" ""
    myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    [ ((modMask , xK_Return ), spawn $ XMonad.terminal conf)
    , ((modm , xK_backslash ), spawn “amixer -q set Master toggle”)
    , ((modm , xK_minus ), spawn “amixer -q set Master 3- unmute”)
    , ((modm , xK_equal ), spawn “amixer -q set Master 3+ unmute”)
    , ((modMask .|. shiftMask, xK_c ), kill)
    , ((modMask , xK_space ), sendMessage NextLayout)
    , ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
    , ((modMask , xK_n ), refresh)
    , ((modMask, xK_p ), spawn "dmenu_run | dmenu -b")
    , ((modMask , xK_Tab ), windows W.focusDown)
    , ((modMask , xK_j ), windows W.focusDown)
    , ((modMask , xK_k ), windows W.focusUp)
    , ((modMask , xK_m ), windows W.focusMaster)
    , ((modMask .|. shiftMask, xK_Return ), windows W.swapMaster)
    , ((modMask .|. shiftMask, xK_j ), windows W.swapDown)
    , ((modMask .|. shiftMask, xK_k ), windows W.swapUp)
    , ((modMask , xK_h ), sendMessage Shrink)
    , ((modMask , xK_l ), sendMessage Expand)
    , ((modMask , xK_t ), withFocused $ windows . W.sink)
    , ((modMask , xK_comma ), sendMessage (IncMasterN 1))
    , ((modMask , xK_period ), sendMessage (IncMasterN (-1)))
    , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
    , ((modMask , xK_q ), spawn "xmonad --recompile")
    , ((modMask , xK_F2 ), shellPrompt defaultXPConfig)
    , ((0 , 0x1008ff30 ), shellPrompt defaultXPConfig)
    , ((0 , 0x1008ff13 ), spawn "amixer -q set Master 2dB+")
    , ((0 , 0x1008ff11 ), spawn "amixer -q set Master 2dB-")
    , ((0 , 0x1008ff12 ), spawn "amixer -q set Master toggle")
    , ((0 , 0x1008ff16 ), spawn "cmus-remote --prev")
    , ((0 , 0x1008ff17 ), spawn "cmus-remote --next")
    , ((0 , 0x1008ff14 ), spawn "cmus-remote --pause")
    , ((0 , 0x1008ff5b ), spawn "urxvt -e screen -rd cmus")
    , ((modMask , xK_Print ), spawn "scrot -e 'mv $f ~/Screenshots'")
    ++
    [((m .|. modMask, k), windows $ f i)
    | (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
    , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
    ++
    [((m .|. modMask, key), screenWorkspace sc >>= flip whenJust (windows . f))
    | (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
    , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
    myLayout = avoidStruts $ tiled ||| wideTiled ||| Full
    where
    tiled = HintedTile nmaster delta ratio Center Tall
    wideTiled = HintedTile nmaster delta ratio Center Wide
    nmaster = 1
    ratio = 1/2
    delta = 3/100
    It was working fine before so I am thinking that it must of been an update or something. If I run the command in a terminal, it works just fine. So it has to be the syntax or something. This works perfectly:
    dmenu_run | dmenu -b
    Any ideas?
    Last edited by securitybreach (2011-08-08 03:07:25)

    Obscaenvs wrote:
    I don't think it's an actual bug; it's just updated syntax. For me, this solved the issue:
    In my xmonad.hs, I _had_ the line
    , ((modm, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"")
    I changed this to use dmenu_run instead and not piping to dmenu:
    , ((modm, xK_p ), spawn "exe=`dmenu_run` && eval \"exec $exe\"")
    A recompile is necessary for this to take effect. One of you did not have to recompile, but that was most likely because the downgraded dmenu understood the old syntax.
    Now it works...YMMV.
    EDIT: I see now that user "securitybreach" uses "dmenu_run" already... Try not piping the command; when I did this, I got two instances of Dmenu running: one with all the executables in path as usual, and one blank.
    There are people having issues with dmenu using other window managers besides XMonad, so that is not the same issue.  Not to mention, that my spawn of dmenu is WAY less complicated than that, and I am still getting the issue (before downgrade).

  • Windows Server Guru needed! Apply within...

    April fools out of the way, now let's find an April genius!
    The name "April" is derived from the Latin verb "aperire", meaning "to open" in reference to being the season when trees & flowers start to "open".
    And I have to say, judging from the quality of contributions in recent months, I can't wait to OPEN and read this month's community gold!
    Things are hotting up in TechNet, and the Wiki has become a shining example of what the community has to offer.
    If you can find the time to enrich us with your latest revelations, or some fascinating facts, then not only will you build up a profile and name for yourself within the gaze of Microsoft's very own glitterati, but you will be adding pages to the most respected
    source for Microsoft knowledge base articles. This could not only boost your career, but would benefit generations to come!
    So don't be an April fool. Please realise the potential of this platform, realise where we are going, and join us in growing this community, learning more about you, and opening the minds of others!
    All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something
    you had to solve for your own day's work today.
    Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!
    This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!
    HOW TO WIN
    1) Please copy over your Microsoft technical solutions and revelations to
    TechNet Wiki.
    2) Add a link to it on
    THIS WIKI COMPETITION PAGE (so we know you've contributed)
    3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.
    If you win, we will sing your praises in blogs and forums, similar to the
    weekly contributor awards. Once "on our radar" and making your mark, you will probably be
    interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!
    Winning this award in your favoured technology will help us learn the active members in each community.
    Feel free to ask any questions below.
    More about TechNet Guru Awards
    Thanks in advance!
    Pete Laker
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and only
    TechNet Wiki, for future generations to benefit from! You'll never get archived again!
    If you are a member of any user groups, please make sure you list them in the
    Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

    We're up to 7 articles:
    Detailed Concepts: Lingering Objects
    in Active Directory and How To's? by Mahdi
    Tehrani
    Art Of Manipulation : Add custome attributes
    to Active Directory search function by Mahdi Tehrani
    Step by Step : Migrate
    local user profile to domain user profile with all settings by Mahdi Tehrani
    Active Directory Back to Basics : Password policies by Denis
    Cooper
    Active Directory Back to Basics : Sysvol by Denis
    Cooper
    Active Directory Back to Basics : The Schema by Denis
    Cooper
    Active Directory Back to Basics : FSMO Roles by Denis
    Cooper
    And 3 more days left!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • [Solved] Do I need a swap partition /swap file?

    Hello Arch Community.
    I want to install Arch Linux on my Aspire V5-573G Notebook with 8GB RAM and a 120GB 840 Evo SSD from Samsung. So my question is, do I actually need a swap partition / swap file? I read the arch-wiki pages about swap and suspend-to-disk / suspend-to-ram, and the only thing thats obviously profiting from / needing a swap partition is suspend-to-disk, no other things are mentioned in this regard. Is a swap partition in any other way important?
    Thanks in advance.
    Last edited by Oedner (2013-12-21 12:41:19)

    headkase wrote:Another question to ask is what will happen if you don't have a swap file and run out of memory?  In that case the Linux kernel will randomly kill process' until there is enough memory again.  Obviously that isn't very stable but that is what it will do.
    No. The OOM killer is pretty darn tweaked these days and usually(!) kills the actual perpetrator. The alternative—disabling memory overcommitting and answering memory requests with an out-of-memory error—can result in unforeseen problems as well: What if it  a system process is trying to allocate a few bytes for some random string, and what if said system process isn't equipped to handle ENOMEM gracefully and crashes, because the default policy on Linux is to overcommit and never answer with out-of-memory errors?
    Just trying to play devil's advocate here. I'm not happy with the OOM killer either and I'd rather have a deterministic solution to out-of-memory situations, but I realize that it's probably not an easy problem to solve.

  • [SOLVED] dmenu not working in i3

    I decided to give i3 a try, but pressing $mod+d doesn't do anything.
    Running dmenu-desktop from a terminal gives me:
    open2: exec of dmenu -i failed at /usr/bin/i3-dmenu-desktop line 315.
    Running dmenu failed. Is dmenu installed at all? Try running dmenu -v
    There is no binary called dmenu, but running i3-dmenu-desktop -v just printed 'dmenu-desktop 1.5 © 2012-2013 Michael Stapelberg'.
    What do I need to do to get dmenu working?
    Last edited by ThePacman (2014-10-10 13:54:07)

    i3-dmenu-desktop wrote:Is dmenu installed at all?
    ThePacman wrote:There is no binary called dmenu...
    Interesting....

  • [solved] dmenu

    How do I get dmenu working?  I use Xfce.  I run "dmenu" in terminal, but when I press ALT+P, nothing pops up. I love this program and I need it.
    Is there any similar alternatives?  (I'd much rather use dmenu)
    Last edited by dax965 (2008-01-20 19:15:50)

    vogt wrote:
    finferflu wrote:Ah! I missed that eval "exec $exe", that's why it didn't work for me. What does that do precisely? Does it make the whole string execute? And why is not the string exectuting without eval?
    exe=`dmenu < myLinefeedDelimitedListOfFaves` && eval "exec $exe"
    Step by step:
    1: you dmenu sees you list of programs to run (via shell redirection something)
    2: you select it
    3: dmenu returns the name of the thing you chose
    4: && means only continue if dmenu exited with status 0 (you didn't press escape)
    5: I think that the eval is unnecessary, but it doesn't hurt. exec replaces the current shell.
    Bleh. I hope that helped. You'd be better off learning shell scripting somewhere else...
    eval lets you pass arguments eg. mirage ~/file.png

  • Swing Guru needed ASAP

    Anyone that is a Swing Guru or knows someone please help.
    My client is working on cutting edge technology. They need 3 developers with experience in Java, Swing, and multithreaded applications. 2 yrs exp GUI design and development. Need one or more of the following skills: JXTA, JNI, WebDav.
    This postion is full-time and is located in Dallas, TX.
    You can email your resume to [email protected]

    Figure some of the normal Java riff raff might also
    be helpful.
    Swing = Java pretty much anyways, right? "pretty much", yes. But there's much to know in Java, and there are people who know some parts much better than others.
    Anyway. I suppose that event behaviour may be due to the fact the rendering components are not added to the component tree, but merely renderered at certain positions. I don't think you can change that.
    What you can do, however, is, for instance, add an EventListener (say MouseListener, MouseMotionListener, or MouseWheelListener) at the top-level (the Table), get the rendering component at the location of the mouseevent, tranlate the event (there are a few methods in SwingUtilities for that -- you have to adapt the coordinate space), and reach it down.
    Somebody of the Swing forum might know of a more elegant way, though.

  • solved pls help needed in creating template

    hi frs
    i have created a template need some modification to be done my xml output looks like below
    off            hours              q1           q2          q3         avg
    aaa          10                    1            2            3            2
    bbb          20                    2            4             0           3i have done everything but my doubt is while creating avg
    to get average i used the following code
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 3?> i have used div 3 but my requirement is like if any thing is 0 for ex if q1= 2 and q2=4 and q3=0 then my formula for avg is like below
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 2?> like wise if we have values like q1=1 ,q2=0 ,q3=0
    then
    <?(xdoxslt:get_variable($_XDOCTX,'Q1_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q2_COUNT')+xdoxslt:get_variable($_XDOCTX,'Q3_COUNT') 
    +xdoxslt:get_variable($_XDOCTX,'Q4_COUNT')) div 1?>how to get it.
    pls help.
    thanks
    basa
    Message was edited by:
    Badsha
    Message was edited by:
    Badsha
    Message was edited by:
    Badsha

    Hi,
    I dont know the solution for this, but heres a work arround
    //create new label some where else in the excel sheet as shown below
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                 lblcmbdata = new Label(75, i, (i+1)+" satish", format);
                 sheet1.addCell(lblcmbdata);
    }//set the validation range as shown below
    writableCellFeature.setDataValidationRange(75,0,75,1000);
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);this will create a combo list with 1000 values
    also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
    workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
    // then fill the data in sheet1
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                    lblcmbdata = new Label(0, i, (i+1)+" satish", format);
                    sheet1.addCell(lblcmbdata);
    //set the validation named range as below
    writableCellFeature.setDataValidationRange("cmbdata");
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);Thanks and Regards
    Satish

  • Spry guru needed! Spry accordian works in ie, safari, chrome but not firefox. Rookie needs help!

    Hey guys,
    Spry accordian works in every other browser apart from firefox. Clearly I have done something stupid - anyone care to help me out?
    URL is :
    http://www.recruitercritic.com/bcrwd.htm
    Thanks!
    jono

    G'day Mate,
    Just remember the structure for a SpryAccordion.
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">Content 1</div>
      </div>
    In your case have a look at
        <div class="AccordionPanel">
          <div class="AccordionPanelTab"><img src="http://www.recruitercritic.com/rwdffbox.png" width="425" height="110" border="0" /></div>
          <div class="style21">
            <p align="justify" class="style7"><strong>Flight Centre are committed to providing great travel at the cheapest available price. Their highly trained experts are dedicated to finding the best travel deal for any destination and budget. </strong></p>
            <p align="justify" class="style18"><strong><span class="style7">Simply use RecruiterCritic to find, compare and engage a recruiter or search professional and fill your job vacancy and RecruiterCritic  will send you a $1,000 gift voucher as our thanks for you to use for staff travel or as a staff incentive.</span> <a href="Freqflyer.htm">More info</a><a href="Freqflyer.htm"></a></strong></p>
            <p align="justify" class="style18"> </p>
          </div></div>
    All you need to do is add the highlighted class
    <div class="AccordionPanelContent style21">
    Carn the Pies

  • [SOLVED] Dmenu + Xmonad, problem in a new version.

    Hello guys.
    I recently have problem with the new version of Dmenu on Xmonad. Dmenu version is 4.5 and the code i use is this:
    keys' :: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
    keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    -- launching and killing programs
    [ ((modMask, xK_Return), spawn $ XMonad.terminal conf)
    , ((modMask, xK_F2 ), spawn "exe=`dmenu_path | dmenu -fn -*-profont-*-*-*-*-12-*-*-*-*-*-*-* -nb black -nf rgb:a0/a0/a0 -sb rgb:00/80/80 -sf black` && eval \"exec $exe\"")
    Any idea?
    Thanks in advanced.
    Last edited by n0dix (2012-03-16 02:53:59)

    Well got it working again, look for this post. And changed my file to the following:
    [ ((modMask, xK_Return), spawn $ XMonad.terminal conf)
    , ((modMask, xK_F2 ), spawn "dmenu_run -fn -*-profont-*-*-*-*-12-*-*-*-*-*-*-* -nb black -nf rgb:a0/a0/a0 -sb rgb:00/80/80 -sf black")
    Thanks anyway

  • ORA-01000: maximum open cursors exceeded (please help / JDBC guru needed)

    ORA-01000: maximum open cursors exceeded
    I am getting this error when trying to execute 2,500 Sql DDL statements. I am executing the statement with:
    public boolean execute(String sql) ( like stmt.execute(sql); )
    After each execute() I close the statement ( like stmt.close() )
    I tried taking this a step further and decided to close and reopen the database connection after every 100 Sql statements processed and I still get this exception when continuing.
    ORA-01000: maximum open cursors exceeded
    Any help will be greatly appreciated. I need to figure how to close the cursors or how to finish processing all 2,500 statements. I do not have control over the init.ora file and can not increase the max cursors. I hope to figure out how to close the cursors so that no tweaking of the init.ora file is needed.
    ChrisTD

    Why dont you allocate dukes for this problem ???
    am getting this error when trying to execute 2,500 Sql DDL statements. I am executing the statement with:
    public boolean execute(String sql) ( like stmt.execute(sql); )
    After each execute() I close the statement ( like stmt.close() )
    What kind of DDL is that? are you using any cursor operations to fetch the data? What kind of query does this sql parameter contain?
    Look there is only 3 solutions for this kind of problem.
    1) shutdown the database and restart it.
    I dont think closing connection will shutdown the database as you
    told.
    2) shutdown the database access init.ora and increase the
    OPEN_CURSORS and then restart it.
    You told that you dont have access to init.ora.
    3) close every cursor that you open.(Probably you are not closing the cursor once you fetch the data).

  • Email form guru needed

    Hi,
    Any help greatly appreciated from an email form guru!
    I have a email form that returns emails to my address - but no others. It is laden with a load of content and HTML. I have checked spam filters and junk inboxes and I'm at a loss as to why this would be happening. I have set up numerous email accounts but only two accounts I have had for ages work. Other emails from the same server are received by the same email host - so I don't think they are being blocked, unless that happens automatically when there is a large volume of html in the email. This still doesn't explain why I get the emails and no one else does.
    Thanks in advance!
    See http://www.recruitercritic.com/smarterhire-std-exit-survey.htm which goes to a php send form with the following code:
    Smarterhire exit interview:
    First name
    {$_POST['First']}
    Last name
    {$_POST['Last']}
    Title
    {$_POST['Title']}
    Organisation
    {$_POST['Organisation']}
    Contact number
    {$_POST['Contact_number']}
    email
    {$_POST['email']}
    Date joined
    {$_POST['When_joined']}
    Last date
    {$_POST['Last_day']}
    Survey requested by
    {$_POST['survey_recip']}
    Recipient email contact
    {$_POST['recip_email']}
    Why joined
    {$_POST['why_joined']}
    Role expectations
    {$_POST['Role_expectations']}
    Role expectations differences
    {$_POST['Role_differences']}
    $message_body
         Reasons for leaving:
    Was remuneration a consideration in your leaving?
    {$_POST['rem']}
    Was redundancy...
    $message_body
         Job satisfaction:
    Was the support and resources required to fill your role adequate?
    {$_POST['Support_radio']}
    The following....
    $message_body
         Exiting employees departure information:
    Which of the following best describes your departure?
    {$_POST['New_destination']}
    If applic....   End;       $headers  = "MIME-Version: 1.0\r\n";      $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";      $headers .= "From: ".$_POST['email']." <".$_POST['first'].">\r\n";       mail($to, $subject, $message_body, $headers);      header ("Location: /exit-int-thankyou.htm");      exit;  }else{      header ("Location: /smarterhire-std-exit-survey.htm");      exit; }  ?>

    Ok, I am trying to understand the problem.
    If I understand correctly the php script works, it is just an issue of trying to send it to other email addresses.  Is that correct?
    You have been able to successfully reconfigure the php script to send to at least 1 other email address.  Correct?
    When you try some other email addresses they email from the form handler doesn't arrive.  Correct?
    Are the other email addresses at another domain than recruitercritic.com?
    Can you send to more than one address at the same time?  If so what happens when you send to the original email address and one of the others?
    Well, since the script works with the original email, and you are able to successfully modify the script to direct to at least one other email address then it seems that the script is working just fine.  I don't think you have a code issue.  I don't know how heavily formatted the emails are but it is possibly that the emails are getting blocked by the spam filters on the receiving email servers.  You might check http://mxtoolbox.com/ and see what your mail server IP is and what it's reputation is.  If it is on some blacklists that could account for it being blocked by filters on other servers. If that is the case then you should work on getting off any blacklists you are on.

  • [SOLVED]Does fam need rpcbind?

    After update,portmap was replaced by rpcbind,and now rpcbind will start at boot even it's not in the DAEMONS line,i stopped it and found that fam will not work.I set fam to start at boot,so does fam needs rpcbind?
    Edit:OK,now it's confirmed.Thanks for all replies.I'll give gamin a try.
    Last edited by ashunter (2009-06-27 11:18:50)

    ashunter wrote:now rpcbind will start at boot even it's not in the DAEMONS line
    No it won't. rpcbind runs just like any other daemon - if you want it to run at boot time, put it in the DAEMONS array.

Maybe you are looking for

  • HT1443 Mac OS 10.4.11

    I have version Mac OS 10.4.11 (2007) - how do I upgrade to the current version? Will the upgrade process affect my data?

  • How to connect external trigger PCIe1427

    Hi, We are working with PCIe 1427 frame grabber and a IR camera with Cameralink Standard. Our camera has got asynchronous reset at CC3, so we have given external trigger 2 in NI MAX and successfully able to grab the video. But we need to implement th

  • Query regarding open items

    hi experts, can any body tell me in fbl1n if i put the posting date 01.04.2008 to 29.07.2008. on 28.07.2008 i am getting a balance and balnce showing in cleared items but if i didnt put any date i am getting zero balance. whts the reason????? regards

  • Help, PowerPivot in Excel 2013 is missing

    hi I recently change excel 2013 preview to excel profesional 2013 but PowerPivot is missing, what do I have to do, It`s not in the COM add-ins list, I tried too many ways, somebody can help me.

  • Refreshing only 1 column in MV (not the full MV)

    Hi, I have a MView with several columns and I need to refresh only 1 column in it. Is there a way for doing that? I don't need to refresh complete the MView (which is very time-expensive in my case). Database: 10.2.0.3