Screen: Cannot find terminfo entry for 'rxvt-unicode', works in root

I'm using screen (http://www.archlinux.org/packages/14519/) and it works fine under root, but it keeps saying it can't find the terminfo entry for anything when I'm under a different user ('linux', 'xterm', 'rxvt-unicode'). First I tried setting URxvt*termName: rxvt (xterm as well), then I tried copying screenrc from /etc/ and /etc/skel/ to my home directory as .screenrc, and finally I tried compiling from source as another user. Does anyone have any ideas how to fix this?

phrakture wrote:Are you ssh'ing to another machine?
Nope, I've installed arch on my laptop.
This error typically happens when you ssh to a machine that does NOT have the terminfo installed.
I don't know if terminfo is the correct name of the package, but pacman -Qs *term* or *info* or terminfo didn't show anything.
Could you possibly post your screenrc, just so I can check?
This is the config I've copied from /etc/skel/ to ~/, if I type nano .screenrc after logging in this is what I'll see.
Edit: I forgot to say that screen produces the same results in xterm.
# Example of a user's .screenrc file
# This is how one can set a reattach password:
# password ODSJQf.4IJN7E # "1234"
# no annoying audible bell, please
vbell on
# detach on hangup
autodetach on
# don't display the copyright page
startup_message off
# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# advertise hardstatus support to $TERMCAP
# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
# make the shell in every window a login shell
#shell -$SHELL
# autoaka testing
# shellaka '> |tcsh'
# shellaka '$ |sh'
# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"
defscrollback 1000
# don't kill window after the process died
# zombie "^["
# enable support for the "alternate screen" capability in all windows
# altscreen on
# xterm tweaks
#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will not work anymore.
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
#80/132 column switching must be enabled for ^AW to work
#change init sequence to not switch width
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
# Make the output buffer large for (fast) xterms.
#termcapinfo xterm* OL=10000
termcapinfo xterm* OL=100
# tell screen that xterm can switch to dark background and has function
# keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
# emulate part of the 'K' charset
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
# xterm-52 tweaks:
# - uses background color for delete operations
termcapinfo xterm* be
# wyse terminals
#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
termcapinfo wy75-42 xo:hs@
# New termcap sequences for cursor application mode.
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
# other terminals
# make hp700 termcap/info better
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
# Extend the vt100 desciption by some sequences.
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
termcapinfo linux C8
# old rxvt versions also need this
# termcapinfo rxvt C8
# keybindings
#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]
# default windows
# screen -t local 0
# screen -t mail 1 mutt
# screen -t 40 2 rlogin server
# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
# hardstatus alwaysignore
# hardstatus alwayslastline "%Lw"
# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
# defnonblock 1
# blankerprg rain -d 100
# idle 30 blanker
Here's the other config file I've tried from /etc/
# This is an example for the global screenrc file.
# You may want to install this file as /usr/local/etc/screenrc.
# Check config.h for the exact location.
# Flaws of termcap and standard settings are done here.
#startup_message off
#defflow on # will force screen to process ^S/^Q
deflogin on
#autodetach off
vbell on
vbell_msg " Wuff ---- Wuff!! "
# all termcap entries are now duplicated as terminfo entries.
# only difference should be the slightly modified syntax, and check for
# terminfo entries, that are already corected in the database.
# G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
# WS this sequence resizes our window.
# cs this sequence changes the scrollregion
# hs@ we have no hardware statusline. screen will only believe that
# there is a hardware status line if hs,ts,fs,ds are all set.
# ts to statusline
# fs from statusline
# ds delete statusline
# al add one line
# AL add multiple lines
# dl delete one line
# DL delete multiple lines
# ic insert one char (space)
# IC insert multiple chars
# nx terminal uses xon/xoff
termcap facit|vt100|xterm LP:G0
terminfo facit|vt100|xterm LP:G0
#the vt100 description does not mention "dl". *sigh*
termcap vt100 dl=5\E[M
terminfo vt100 dl=5\E[M
#facit's "al" / "dl" are buggy if the current / last line
#contain attributes...
termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
#make sun termcap/info better
termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
# Long time I had this in my private screenrc file. But many people
# seem to want it (jw):
# we do not want the width to change to 80 characters on startup:
# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
# Do not use xterms alternate window buffer.
# This one would not add lines to the scrollback buffer.
#termcap xterm|xterms|xs ti=\E7\E[?47l
#terminfo xterm|xterms|xs ti=\E7\E[?47l
#make hp700 termcap/info better
termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
#(nowadays: nx = padding doesn't work, have to use xon/off)
#essential to have it here, as this is a slow terminal.
termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
#remove some stupid / dangerous key bindings
bind ^k
#bind L
bind ^\
#make them better
bind \\ quit
bind K kill
bind I login on
bind O login off
bind } history
Last edited by siodine (2007-12-19 20:29:58)

Similar Messages

  • Cannot find terminfo entry for 'rxvt-256color'.

    I'm sshing into my ubuntu server from my arch workstation. I can't run screen because i get this error:
    Cannot find terminfo entry for 'rxvt-256color'.
    Anyone know whats going on?
    It works if i run "export TERM=xterm" or "export TERM=rxvt" but:
    1. that seems like a hack
    2. i have to type that everytime i ssh and run screen
    any help would be great!

    Mr.Elendig wrote:And when it comes to screen, use TERM=screen-256color  (you can make screen set that automaticly by poking at your screenrc)
    Yep, you can put 'term screen-256color' in screenrc. Not that this is set inside screen, in the outside you use the default TERM (rxvt-256color) so dont set then in bashrc or zshrc (or set with a check for TERM==screen). So you have two terminfo description one of the underlining terminal (rxvt) its used by screen to construct the needed interaction, and the screen terminfo used by all program running inside screen to know what caps the terminal have and correct interact with it.
    EDIT probably you want to use screen-256color-bce because rxvt-256color support bce so screen can use it, but well, I dont know for what bce can be useful....
    Last edited by kazuo (2010-06-14 14:03:46)

  • Cannot find PDL type for output device LOCL in J1INCRT

    Dear all
    I am getting error in PRD system. When I am running J1INCRT (Customizing for Certificate Printing)  the error
    cannot find PDL type for output device LOCL
    we are using ECC6 ,oracle 10g  and windows 2003
    Kernel release    701
    Please suggest how to solve 
    Regards,
    Kumar

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • Cannot find PDL type for output device '(Printer name)'

    Hi,
    After seeing the statutory reports (PF, ESI etc) in standard format, we try to print form. We get the below error:
    Cannot find PDL type for output device '(Printer name)'
    Message no. FPRUNX113
    Diagnosis
    No PDL type has been found for the specified output device.
    System Response
    Error message
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    For more information, see SAP Note 685571.
    Any input will be off great help...
    Regards
    Pooja

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • TS1368 Done all of the above...everything is in order, still cannot connect to the store.  I have the 5th gen iPod and $50 iTunes gift card.  I am going to return both of these items it I cannot find a fix for this.

    Make sure that you can access the Internet on your computer or device.
    Make sure that your computer meets the iTunes minimum system requirements.
    Make sure that your operating system is up-to-date:
    Done all of the above...everything is in order, still cannot connect to the store.  I have the 5th gen iPod and $50 iTunes gift card that I cannot use(been trying now for 6 days).  I am going to return both of these items if I cannot find a fix for this.

    When I called Apple (after wating 42 min. for a live person) I was told to run the APPLE Software Update and turn off location services then restart my computer.  There were no available updates. The iPod touch I got on Christmas day.  The iTunes app was downloaded the same day.  Since day 1 I have not been able to connect.  I also followed lllaass's advice and followed instructions on the following 2 websites.
    http://www.idownloadblog.com/2012/09/20/fix-for-cannot-connect-error/
    http://www.youtube.com/watch?v=PIUitRyZS6U
    After restarting my computer:
    From the iTunes app I click on the 'iTunes Store'
    A new window opens and I get the following message:
    This Apple ID has not yet veen used with the iTunes Store.
    Please review your account information
    So I click on 'Review' and am taken to a crude screen that says
    Welcome to the iTunes Store
    With an Apple ID, you can download the latest music, videos, and more.
    To begin creating your Apple ID, click Continue.
    So I click on 'Continue'
    A pop up window says:
    We could not complete your iTunes Store request. An unknown error occurred (-1202).
    There was an error in the iTunes Store.  Please try again later.
    And the only option I am left with is to click 'OK'
    After every fix this same scenerio just loops and loops and loops

  • Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. How do I fix this?

    Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. Once i reconnect to the network, the page loads, but after loading a few more pages, the same thing happens all over again.
    This happens each and every time, on different Wifi networks, in different locations.  On the other hand, I don't ever encounter this problem when I tether my laptop to my mobile phone's 3g/2g network using Personal Hotspot. How do I fix this?

    Try this DNS server ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch both your browsers to test.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    And here >  Wi-Fi: How to troubleshoot Wi-Fi connectivity

  • I cannot find the icon for office:mac 08 word on my doc, where did it go?

    I cannot find the icon for Office: mac 08 word on my doc. I downloaded the whole Office: mac 2008 Home & Student Edition about a year ago and just recently the word icon disappeared. The other Office icons are still visible and i am able to use them but i cannot find the word application anywhere.

    Have you used spotlight search? Typed "word" and the application doesn't appear? If it doesn't then it probably isn't around anymore.... so hit command + space ... and type "word"... what happens?

  • I cannot find my receipt for my ipod how can i prove it isnt a year old

    I cannot find my receipt for my ipod and its under a year old how can i prove this

    Hi cantfindanything,
    I am gathering you are trying to get an iPod repaired by Apple.
    In the US for iPod Touch Generation 5:
    Every iPod comes with a one-year limited warranty and 90 days of complimentary telephone technical support.
    If you are trying to get a replacement or repair job, Apple will just need your Serial Number, found on either the back of your iPod Touch or in: Settings, General, About, Serial Number.
    When Apple receives this number, their database will be able to show up your information including device purchase and activation.
    To get a repair job/replacement, it is best to talk to Apple on the phone or go to your nearest Apple store to find out possible resolutions.
    To contact Apple call:
    1-800-MY-APPLE
    You can also take the iPod into your closest Apple Store and give them your serial number and they will be able to help you: http://www.apple.com/retail/storelist/
    Many Thanks for your question and Happy New Year!
    iBenjamin Crowley

  • Satellite L500-1XD - cannot find an update for PC health monitor

    This TBS advises updates to PC health monitor and HDD/SDD alert.
    HDD/SDD alert has a published update in the relevant downloads section but I cannot find an update for PC health monitor.
    Any one got any bright ideas ?
    Otherwise this seems quite a balanced system.

    Hi Paolo30,
    Thanks for your contribution. I agree with your model designation
    I would like to download ver 1.5.6.0 but it does not seem to be listed on the download list (Two and a quarter pages long) for the L500-1XD on the Toshiba-Europe website. I am using I.E.8
    Where are you seeing this listed ? Could you give me a URL please ?
    It is an important update as it resolves a conflict between video streaming from HD and SMART HD messages as described in the TSB.
    The only upgrade that is tagged as 1.5.6.0 is the Bullitin Board and this does not sound like the correct type of application. There was obviously a major update on 21/6/2010 there are 30 odd updates with that date.
    Kindest Regards

  • Cannot find a report for SQL Server monitoring

    We installed a SCOM 2012 environment recently and imported the SQL Server Management packs successfully. SQL Servers are being monitored. 
    However, in the reporting section, i cannot find a group for SQL Server Reporting. All other show up ( Active Directory, Appication Monitoring, Web monitoring, etc) Just none for the SQL Reporting.
    Please help

    Hi,
    I assume that you miss some SQL management packs, would you please re-download the management pack here and import it:
    https://www.microsoft.com/en-hk/download/details.aspx?id=10631
    After successful importing, you should see it under reporting workspace:
    If you still cannot see it, please check operation manager event logs for more information to help to troubleshoot this issue.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Cannot find the classfile for javax.mail.internet.AddressException

    Hi,
    Scenario is SAPCRM 7.0/ECC.
    We are trying to extend the EmailAction class.
    The error bieng faced is
    Cannot find the classfile for javax.mail.internet.AddressException.
    We have added crm/isa/lwc to the used Dcs but still this error is there.
    Mail.jar is also present in the system.
    We are not able to make out what exactly the issue is.
    Please help.
    Thanks,
    Rohit

    Hi Rohit,
    Did you ever find the solution to this problem?  We're encountering the same error message.
    Thanks!
    Joe

  • Q30: Cannot find sales order for a committed stock item

    I have a few item numbers which show committed stock in item master data/stock but I cannot find an open sales order or even with an open line on a closed sales order. I have tried various query reports without success.
    Does anyone have a key to unlock this problem?
    Thanks,
    Robin

    Hi,
    Sorry but I am pretty new to SAP and on a learning curve so no idea what note 999124 is or even where/how I would use it.
    Can you explain further please?
    Robin
    Lakshmipathi     
    Posts: 17,513
    Registered: 8/9/07
    Forum Points: 34,462 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: Q30: Cannot find sales order for a committed stock item  
    Posted: Jan 12, 2011 3:18 PM    in response to: Robin Bellion           Reply 
    Check Note 999124 - Incorrect committed\On order quantity when changing orders
    thanks
    G. Lakshmipathi

  • I have to unistall my adobe cs5 [s/n removed by moderator], and a trial for Photoshop cc and I cannot find the download for those. Can you help me?

    I have to unistall my adobe cs5 serial number [], and a trial for Photoshop cc and I cannot find the download for those. Can you help me?

    CS5 product downloads are available thru the following page:
    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html
    Photoshop CC trial download is available thru its product page:
    Download Photoshop CC by joining Creative Cloud today | Adobe Photoshop CC

  • Cannot find CFML template for custom tag

    Why am I getting this error when my code looks like this?
    Cannot find CFML template for custom tag UPSPrice.
    ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. If you are using per-applica
    <Cfif NOT form.shipzip IS "">
    <CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.shipzip#" WEIGHT="#getshipweight.totwei#">
    <cfelse>
    <CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.zip#" WEIGHT="#getshipweight.totwei#">
    </cfif>

    UPSPrice.cfm file:
    <!---
    NAME:
    CF_UPSPrice
    DESCRIPTION:
    Cold Fusion custom tag obtain UPS shipping costs from ups.com.
    ATTRIBUTES:
    CALLTAG   - (optional) Electronic or basic call tag issued, valid options
                           are NONE BASIC or ELECTRONIC, defaults to NONE.
    COD       - (optional) Package is being sent C.O.D., valid options are YES
                           and NO, defaults to NO.
    FROM      - (required) Source (ship from) postal code.
    HANDLING  - (optional) Requires special handling (eg. - any article that
                           is not fully encased in an outside shipping container,
                           or any package that exceeds 60 inches in length).
    HAZARD    - (optional) Package contains hazardous material, valid options are YES
                           and NO, defaults to NO.
    HEIGHT    - (optional) Height (in inches) of oversized package.
    LENGTH    - (optional) Length (in inches) of oversized package.
    OVERSIZED - (optional) Package is oversized, valid options are YES and NO,
                           defaults to NO.
    RESPONSE  - (optional) Delivery confirmation service, valid options are
                           NONE BASIC SIGNATURE ALTERNATE or ALL, defaults to
                           NONE.
    SATDELIV  - (optional) Saturday delivery, valid options are YES and NO,
                           defaults to NO.
    SATPICKUP - (optional) Saturday pickup, valid options are YES and NO,
                           defaults to NO.
    SERVICE   - (required) UPS Service ID, valid service IDs are:
                           1DM    - Next Day Air Early AM
                           1DML   - Next Day Air Early AM Letter
                           1DA    - Next Day Air
                           1DAL   - Next Day Air Letter
                           1DP    - Next Day Air Saver
                           1DPL   - Next Day Air Saver Letter
                           2DM    - 2nd Day Air A.M.
                           2DA    - 2nd Day Air
                           2DML   - 2nd Day Air A.M. Letter
                           2DAL   - 2nd Day Air Letter
                           3DS    - 3 Day Select
                           GNDCOM - Ground Commercial
                           GNDRES - Ground Residential
    SHIPNOT1  - (optional) First ship notification, valid options are NONE
                           DOMESTIC or INTERNATIONAL, defaults to NONE.
    SHIPNOT2  - (optional) Second ship notification, valid options are NONE
                           DOMESTIC or INTERNATIONAL, defaults to NONE.
    TOCOUNTRY - (optional) Destination country code, defaults to US if not
                           specified. Visit the UPS site for a complete list of
                           valid two letter country codes.
    TO        - (required) Destination (ship to) postal code.
    VALUE     - (optional) Declared value for carrier liability, carrier assumes
                           $100 by default.
    VERBCONF  - (optional) Verbal confirmation of delivery, valid options are YES
                           and NO, defaults to NO.
    WEIGHT    - (required) Weight (in pounds) of package, fractions may be used.
    WIDTH     - (optional) Width (in inches) of oversized package.
    NOTES:
    This tag submits a shipping cost request to UPS for processing, and returns
    price and shipping information. CF_UPSPrice sets the following variables that
    you may use within your template after the call to CF_UPSPrice:
    UPS_BaseCharge     - Base shipping charge.
    UPS_Charge         - Total charge.
    UPS_Error          - Error message, if there was one.
    UPS_ErrorCode      - Error code, if there was one.
    UPS_FromCountry    - Source country code.
    UPS_FromPostal     - Source postal code.
    UPS_GuaranteedBy   - Guranteed delivery time.
    UPS_OptionalCharge - Total of optional charges.
    UPS_Service        - UPS service ID.
    UPS_Success        - YES if request was successful, NO if not.
    UPS_ToCountry      - Destination country code.
    UPS_ToPostal       - Destination postal code.
    UPS_ToZone         - Destination zone.
    UPS_Weight         - Billed weight.
    USAGE:
    To use just call <CF_UPSPrice> from within your Cold Fusion template,
    passing at least the required attributes TO FROM SERVICE and WEIGHT.
    EXAMPLES:
    Obtain price for next day package from NY to CA:
      <CF_UPSPrice SERVICE="1DA" FROM="11213" TO="90046" WEIGHT="1.5">
      <CFOUTPUT>Cost is #DollarFormat(UPS_Charge)#</CFOUTPUT>
    Sending a oversized package C.O.D. via second day air:
      <CF_UPSPrice SERVICE="2DA" FROM="11213" TO="90046"
       WEIGHT="1.5" HEIGHT="13" WIDTH="12" LENGTH="20" COD="Yes">
    Using form fields:
      <CF_UPSPrice SERVICE="#service#" FROM="#from#" TO="#to#" WEIGHT="#weight#">
    AUTHOR:
    Ben Forta ([email protected]) 10/14/97
    With help from Dave Beckstrom ([email protected])
    --->
    <!--- Initialize variables --->
    <CFSET proceed = "Yes">
    <CFSET error_message = "">
    <!--- Get UPS service --->
    <CFIF proceed>
    <CFIF IsDefined("ATTRIBUTES.service")>
      <CFSET product = ATTRIBUTES.service>
    <CFELSE>
      <CFSET proceed = "No">
      <CFSET error_message = "SERVICE must be specified!">
    </CFIF>
    </CFIF>
    <!--- Get destination postal code --->
    <CFIF proceed>
    <CFIF IsDefined("ATTRIBUTES.to")>
      <CFSET destPostal = ATTRIBUTES.to>
    <CFELSE>
      <CFSET proceed = "No">
      <CFSET error_message = "TO postal code must be specified!">
    </CFIF>
    </CFIF>
    <!--- Get source postal code --->
    <CFIF proceed>
    <CFIF IsDefined("ATTRIBUTES.from")>
      <CFSET origPostal = ATTRIBUTES.from>
    <CFELSE>
      <CFSET proceed = "No">
      <CFSET error_message = "FROM postal code must be specified!">
    </CFIF>
    </CFIF>
    <!--- Get weight --->
    <CFIF proceed>
    <CFIF IsDefined("ATTRIBUTES.weight")>
      <CFSET weight = ATTRIBUTES.weight>
    <CFELSE>
      <CFSET proceed = "No">
      <CFSET error_message = "WEIGHT postal code must be specified!">
    </CFIF>
    </CFIF>
    <!--- If all okay, process other options --->
    <CFIF proceed>
    <!--- Get destination country --->
    <CFSET destCountry = "US">
    <CFIF IsDefined("ATTRIBUTES.tocountry")>
      <CFSET destCountry = ATTRIBUTES.tocountry>
    </CFIF>
    <!--- Get oversized --->
    <CFSET oversized = "0">
    <CFIF IsDefined("ATTRIBUTES.oversized")>
      <CFIF ATTRIBUTES.oversized>
       <CFSET oversized = "1">
      </CFIF>
    </CFIF>
    <!--- Get COD --->
    <CFSET cod = "0">
    <CFIF IsDefined("ATTRIBUTES.cod")>
      <CFIF ATTRIBUTES.cod>
       <CFSET cod = "1">
      </CFIF>
    </CFIF>
    <!--- Get hazard --->
    <CFSET hazard = "0">
    <CFIF IsDefined("ATTRIBUTES.hazard")>
      <CFIF ATTRIBUTES.hazard>
       <CFSET hazard = "1">
      </CFIF>
    </CFIF>
    <!--- Get handling --->
    <CFSET handling = "0">
    <CFIF IsDefined("ATTRIBUTES.handling")>
      <CFIF ATTRIBUTES.handling>
       <CFSET handling = "1">
      </CFIF>
    </CFIF>
    <!--- Get calltag --->
    <CFSET calltag = "0">
    <CFIF IsDefined("ATTRIBUTES.calltag")>
      <CFIF ATTRIBUTES.calltag IS "BASIC">
       <CFSET calltag = "1">
      <CFELSEIF ATTRIBUTES.calltag IS "ELECTRONIC">
       <CFSET calltag = "2">
      </CFIF>
    </CFIF>
    <!--- Get Saturday delivery --->
    <CFSET saturdaydelivery = "0">
    <CFIF IsDefined("ATTRIBUTES.satdeliv")>
      <CFIF ATTRIBUTES.satdeliv>
       <CFSET saturdaydelivery = "1">
      </CFIF>
    </CFIF>
    <!--- Get Saturday pickup --->
    <CFSET saturdaypickup = "0">
    <CFIF IsDefined("ATTRIBUTES.satpickup")>
      <CFIF ATTRIBUTES.satpickup>
       <CFSET saturdaypickup = "1">
      </CFIF>
    </CFIF>
    <!--- Get response --->
    <CFSET response = "0">
    <CFIF IsDefined("ATTRIBUTES.response")>
      <CFIF ATTRIBUTES.response IS "BASIC">
       <CFSET response = "1">
      <CFELSEIF ATTRIBUTES.response IS "SIGNATURE">
       <CFSET response = "2">
      <CFELSEIF ATTRIBUTES.response IS "ALTERNATE">
       <CFSET response = "3">
      <CFELSEIF ATTRIBUTES.response IS "ALL">
       <CFSET response = "4">
      </CFIF>
    </CFIF>
    <!--- Get vcd --->
    <CFSET vcd = "0">
    <CFIF IsDefined("ATTRIBUTES.verbconf")>
      <CFIF ATTRIBUTES.verbconf>
       <CFSET vcd = "1">
      </CFIF>
    </CFIF>
    <!--- Get first ship notify --->
    <CFSET firstshipnotify = "0">
    <CFIF IsDefined("ATTRIBUTES.shipnot1")>
      <CFIF ATTRIBUTES.shipnot1 IS "DOMESTIC">
       <CFSET firstshipnotify = "1">
      <CFELSEIF ATTRIBUTES.shipnot1 IS "INTERNATIONAL">
       <CFSET firstshipnotify = "2">
      </CFIF>
    </CFIF>
    <!--- Get second ship notify --->
    <CFSET secondshipnotify = "0">
    <CFIF IsDefined("ATTRIBUTES.shipnot2")>
      <CFIF ATTRIBUTES.shipnot2 IS "DOMESTIC">
       <CFSET secondshipnotify = "1">
      <CFELSEIF ATTRIBUTES.shipnot2 IS "INTERNATIONAL">
       <CFSET secondshipnotify = "2">
      </CFIF>
    </CFIF>
    </CFIF> <!--- End process params --->
    <!--- If have all params, process request --->
    <CFIF proceed>
    <CFHTTP
      URL="http://www.ups.com/using/services/rave/qcostcgi.cgi"
      METHOD="POST"
    >
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="accept_UPS_license_agreement" VALUE="yes">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="10_action" VALUE="3">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="13_product" VALUE="#product#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="15_origPostal" VALUE="#origPostal#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="19_destPostal" VALUE="#destPostal#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="22_destCountry" VALUE="#destCountry#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="23_weight" VALUE="#weight#">
      <CFIF IsDefined("ATTRIBUTES.value")><CFHTTPPARAM TYPE="FORMFIELD" NAME="24_value" VALUE="#ATTRIBUTES.value#"></CFIF>
      <CFIF IsDefined("ATTRIBUTES.length")><CFHTTPPARAM TYPE="FORMFIELD" NAME="25_length" VALUE="#ATTRIBUTES.length#"></CFIF>
      <CFIF IsDefined("ATTRIBUTES.width")><CFHTTPPARAM TYPE="FORMFIELD" NAME="26_width" VALUE="#ATTRIBUTES.width#"></CFIF>
      <CFIF IsDefined("ATTRIBUTES.height")><CFHTTPPARAM TYPE="FORMFIELD" NAME="27_height" VALUE="#ATTRIBUTES.height#"></CFIF>
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="29_oversized" VALUE="#oversized#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="30_cod" VALUE="#cod#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="33_hazard" VALUE="#hazard#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="34_handling" VALUE="#handling#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="35_calltag" VALUE="#calltag#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="37_saturdaydelivery" VALUE="#saturdaydelivery#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="38_saturdaypickup" VALUE="#saturdaypickup#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="39_response" VALUE="#response#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="43_vcd" VALUE="#vcd#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="44_firstshipnotify" VALUE="#firstshipnotify#">
      <CFHTTPPARAM TYPE="FORMFIELD" NAME="45_secondshipnotify" VALUE="#firstshipnotify#">
    </CFHTTP>
    <!--- Check if succeeded --->
    <CFIF ListFirst(CFHTTP.FileContent, "%") IS "UPSOnLine3">
      <!--- Success, set variables --->
      <CFSET CALLER.UPS_Success = "Yes">
      <CFSET CALLER.UPS_Service = ListGetAt(CFHTTP.FileContent, 2, "%")>
      <CFSET CALLER.UPS_FromPostal = ListGetAt(CFHTTP.FileContent, 3, "%")>
      <CFSET CALLER.UPS_FromCountry = ListGetAt(CFHTTP.FileContent, 4, "%")>
      <CFSET CALLER.UPS_ToPostal = ListGetAt(CFHTTP.FileContent, 5, "%")>
      <CFSET CALLER.UPS_ToCountry = ListGetAt(CFHTTP.FileContent, 6, "%")>
      <CFSET CALLER.UPS_ToZone = ListGetAt(CFHTTP.FileContent, 7, "%")>
      <CFSET CALLER.UPS_Weight = ListGetAt(CFHTTP.FileContent, 8, "%")>
      <CFSET CALLER.UPS_BaseCharge = ListGetAt(CFHTTP.FileContent, 9, "%")>
      <CFSET CALLER.UPS_OptionalCharge = ListGetAt(CFHTTP.FileContent, 10, "%")>
      <CFSET CALLER.UPS_Charge = ListGetAt(CFHTTP.FileContent, 11, "%")>
      <CFSET CALLER.UPS_GuaranteedBy = ListGetAt(CFHTTP.FileContent, 12, "%")>
      <CFSET CALLER.UPS_Error = "">
      <CFSET CALLER.UPS_ErrorCode = "">
    <CFELSE>
      <!--- Failed, set variables and error message --->
      <CFSET CALLER.UPS_Success = "No">
      <CFSET CALLER.UPS_Service = "">
      <CFSET CALLER.UPS_FromPostal = "">
      <CFSET CALLER.UPS_FromCountry = "">
      <CFSET CALLER.UPS_ToPostal = "">
      <CFSET CALLER.UPS_ToCountry = "">
      <CFSET CALLER.UPS_ToZone = "">
      <CFSET CALLER.UPS_Weight = "">
      <CFSET CALLER.UPS_BaseCharge = "">
      <CFSET CALLER.UPS_OptionalCharge = "">
      <CFSET CALLER.UPS_Charge = "">
      <CFSET CALLER.UPS_GuaranteedBy = "">
      <CFSET CALLER.UPS_Error = ListGetAt(CFHTTP.FileContent, 2, "%")>
      <CFSET CALLER.UPS_ErrorCode = ListGetAt(CFHTTP.FileContent, 3, "%")>
    </CFIF>
    <CFELSE>
    <!--- Failed, display error message, and abort --->
    <CFOUTPUT><H1>Error: #error_message#</H1></CFOUTPUT>
    <CFABORT>
    </CFIF>

  • Cannot find CFML template for custom tag SELECTDATE

    Hi,
    I am not a ColdFusion developer and just moved a site from one server to another. That site is developed by someone else not me and I just moved the site to ColdFusion server. Site is working fine except a few pages where I am getting this error:
    Cannot find CFML template for custom tag SELECTDATE
    I read a little bit about custom tags. These are files that needs to be placed in a certain folder from where ColdFusion reads them.
    So that means I will need to ask the developer who developed this site to provide me with this custom tag file, which when I will place in appropriate folder, this page will start working? And without that file I cannot do anything about it?
    Thanks

    As Dan says, they're just CFM files.  Usually one can identify them as follows:
    * they're in the same directory as a file calling <cf_somefilename[...]>, wherein there is a somefilename.cfm is the name of the file
    * they're in one of the directories set as custom tag directories (in CFAdmin, or Application.cfc)
    * they have references to "thistag" or the attributes scope in them (although the latter can produce false positives on Fusebox sites)
    By the sounds of it, your issue is - like I said before - you haven't got your custom tag dirs set up in CFAdmin (or in Application.cfc, which I didn't mention before).  Investigate that.
    Adam

Maybe you are looking for

  • Updated iTunes to 10.4.1 and now everytime I try to sync my iPhone 4 it crashes... what can I do?

    I updated my iTunes to 10.4.1 and now everytime I try to sync my iPhone 4 the program crashes and I cannot finish the process. It starts to sync without trouble, it finishes step 3 and syncs ok contacts, calendars, markers, notes but when it starts t

  • How to make in app purchase refund?!

    I make a in app purchase,after that i found that i dint receive any things from the game.But itunes purchase history show i already bought and it also charge money from my bank card.Tell me i can i make a refund ?

  • Upgrade 10g Application Server 10.1.2.0.2 to 10.1.3.3

    Dear All, I am very new to application server we have an 10g Apps Server Release 2 10.1.2.0.2 and we want to upgrade this server to Release 3 10.1.3.3 J2ee Applications are deployed on this application server which we want to upgrade Can anybody plea

  • SRM general questions

    Hi, I am new to SRM and have some basic questions. 1. What are the restrictions of classic scenario ? 2. What are the restrictions of extended classic scenario? 3. I want to know how organizational structure is impacted in classic scenario and extend

  • Add a third column to a ComboBox?

    I am populating a ComboBox (LocationsCB) with an external XML file, which successfully populates two dynamic text fields when an item is selected. One text box shows the value for Label, the other for Data. The problem is, I need a third column, in a