Exit on binding

Hello,
I have a problem on my webdynpro application.
l bind a table element with a node (cardinality 1..N) of my context. This node is filled from a webservice.
I want to change the output format of some attributes without creating a new node with good format.
Exemple : a code 'C' must be displayed 'Cargo'.
Does a kind of exit (or iterator in BSP) exist in webdynpro.
Thank you.
Bernard.

Formatting rules are applied based upon the definition of the context (properties of the context attribute for formatting) and the underlying data dictionary objects (domains with field conversion exits, for example).  You are either going to have to work at one of those two levels or supply a different context defintion.

Similar Messages

  • Sqlplus exit with bind variable gives error

    Hi,
    I want to return the ID-value from an insert-statement back to the OS, but I can't catch it properly in a variable to exit that variabel. here's the script:
    variable logid NUMBER;
    select id_seq.nextval into :logid from dual;
    -- insert into Tab_A .....
    ---values :logid..... -> nothing to do with the problem
    exit :logid;
    I get this:
    SP2-0670: Internal number conversion failed
    To make a minimum test, I do:
    variable logid NUMBER;
    select 5 into :logid from dual;
    exit :logid;
    but I still get that error !
    what am I doing worng here ?
    it is a number isn't it ?
    why do i get a conversion-error than ?
    how do I fill and return a variable correctly ?
    thanks for any help, Lao De

    Your problem is with your select statement. SELECT...INTO is PL/SQL, not SQL, and can not be used to set a variable. Alternatives:
    $ sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.3.0 - Production on Fri Dec 9 13:52:19 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Release 9.2.0.3.0 - Production
    JServer Release 9.2.0.3.0 - Production
    SQL> variable logid number
    SQL> exec :logid := 5
    PL/SQL procedure successfully completed.
    SQL> exit :logid
    Disconnected from Oracle9i Release 9.2.0.3.0 - Production
    JServer Release 9.2.0.3.0 - Production
    $ echo $?
    5
    $ sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.3.0 - Production on Fri Dec 9 13:53:39 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Release 9.2.0.3.0 - Production
    JServer Release 9.2.0.3.0 - Production
    SQL> variable logid number
    SQL> begin
      2  select 6 into :logid from dual;
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> exit :logid
    Disconnected from Oracle9i Release 9.2.0.3.0 - Production
    JServer Release 9.2.0.3.0 - Production
    $ echo $?
    6Note that, on a unix platform, your return value must be a positive integer <= 255.

  • Exit with bind variable from sqlplus and then echo $?

    Hello world.
    I don't know why they are different between :v_num and the value of "echo $?"
    thanks.
    SANOWT:oratest:/data3/oratest/oratest/hgjung> cat t.sql
    select count(*) from all_objects;
    variable v_num number;
    begin
    select count(*) into :v_num from all_objects ;
    exception
    when no_data_found then
    :v_num := 1403;
    end;
    exit *:v_num*
    SANOWT:oratest:/data3/oratest/oratest/hgjung> \sqlplus scott/***** @t
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Feb 17 10:11:59 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    COUNT(*)
    *50497*
    PL/SQL procedure successfully completed.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SANOWT:oratest:/data3/oratest/oratest/hgjung> echo $?
    *65*
    SANOWT:oratest:/data3/oratest/oratest/hgjung>

    The $? variable in UNIX is the exit code for the program. In most *NIX versions that I am aware of, it is limited to values between 0 and 255 (i.e. one byte), so the value is truncated.  The hex value of 50497 is C541, or two bytes, so the $? variable is only getting the last byte 0X41 which is decimal 65.
    John

  • Multiple threads but they are using the same thread ID

    I'm a newbie in Java programming. I have the following codes, please take a look and tell me what wrong with my codes: server side written in Java, client side written in C. Please help me out, thanks for your time.
    Here is my problem: why my server program assigns the same thread ID for both threads???
    .Server side: start server program
    .Client side: set auto startup in /etc/rc.local file in a different machine, so whenever this machine boots up, the client program will start automatically.
    ==> here is the result with 2 clients, why they always come up the same thread ID ????????
    Waiting for client ...
    Server thread 1024 running
    Waiting for client ...
    Server thread 1024 running
    But if I do like this, they all work fine:
    .Server side: start server program
    .Client side: telnet or ssh to each machine, start the client program
    ==> here is the result:
    Waiting for client ...
    Server thread 1024 running
    Waiting for client ...
    Server thread 1025 running
    server.java file:
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.util.Hashtable;
    import java.util.Enumeration;
    import java.util.regex.Pattern;
    import java.util.Date;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class Server extends Frame implements Runnable
    private ServerThread clients[] = new ServerThread[50];
    private ServerSocket server = null;
    private Thread thread = null;
    private int clientCount = 0;
    //some variables over here
    public Server(int port)
    //GUI stuffs here
    //network stuff
    try
    System.out.println("Binding to port " + port + ", please wait ...");
    server = new ServerSocket(port);
    System.out.println("Server started: " + server);
    start();
    catch(IOException ioe)
    System.out.println("Can not bind to port " + port + ": " + ioe.getMessage());
    public boolean action(Event e, Object arg)
    //do something
    return true;
    public synchronized void handle(int ID, String input)
    //do something
    public synchronized void remove(int ID)
    int pos = findClient(ID);
    if (pos >= 0)
    //remove a client
    ServerThread toTerminate = clients[pos];
    System.out.println("Removing client thread " + ID + " at " + pos);
    if (pos < clientCount-1)
    for (int i = pos+1; i < clientCount; i++)
    clients[i-1] = clients;
    clientCount--;
    try
    {  toTerminate.close(); }
    catch(IOException ioe)
    {  System.out.println("Error closing thread: " + ioe); }
    toTerminate.stop();
    private void addThread(Socket socket)
    if (clientCount < clients.length)
    clients[clientCount] = new ServerThread(this, socket);
    try
    clients[clientCount].open();
    clients[clientCount].start();
    clientCount++;
    catch(IOException ioe)
    System.out.println("Error opening thread: " + ioe);
    else
    System.out.println("Client refused: maximum " + clients.length + " reached.");
    public void run()
    while (thread != null)
    try
    {       System.out.println("Waiting for a client ...");
    addThread(server.accept());
    catch(IOException ioe)
    System.out.println("Server accept error: " + ioe); stop();
    public void start()
    if(thread == null)
    thread = new Thread(this);
    thread.start();
    public void stop()
    if(thread != null)
    thread.stop();
    thread = null;
    private int findClient(int ID)
    for (int i = 0; i < clientCount; i++)
    if (clients[i].getID() == ID)
    return i;
    return -1;
    public static void main(String args[])
    Frame server = new Server(1500);
    server.setSize(650,400);
    server.setLocation(100,100);
    server.setVisible(true);
    ServerThread.java file
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    public class ServerThread extends Thread
    private Server server = null;
    private Socket socket = null;
    private int ID = -1;
    InputStreamReader objInStreamReader = null;
    BufferedReader objInBuffer = null;
    PrintWriter objOutStream = null;
    public ServerThread(Server server, Socket socket)
    super();
    server = _server;
    socket = _socket;
    ID = socket.getPort();
    public void send(String msg)
    objOutStream.write(msg);
    objOutStream.flush();
    public int getID()
    return ID;
    public void run()
    System.out.println("Server thread " + ID + " running");
    while(true)
    try{
    server.handle(ID,objInBuffer.readLine());
    catch(IOException ioe)
    System.out.println(ID + "Error reading: " + ioe.getMessage());
    //remove a thread ID
    server.remove(ID);
    stop();
    public void open() throws IOException
    //---Set up streams---
    objInStreamReader = new InputStreamReader(socket.getInputStream());
    objInBuffer = new BufferedReader(objInStreamReader);
    objOutStream = new PrintWriter(socket.getOutputStream(), true);
    public void close() throws IOException
    if(socket != null) socket.close();
    if(objInStreamReader != null) objInStreamReader.close();
    if(objOutStream !=null) objOutStream.close();
    if(objInBuffer !=null) objInBuffer.close();
    And client.c file
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <arpa/inet.h>
    #include <netdb.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h> /* close */
    #include <time.h>
    #define SERVER_PORT 1500
    #define MAX_MSG 100
    //global variables
    long lines = 0;
    int sd = 0;
    char command[100];
    time_t t1,t2;
    double timetest = 0.00;
    int main (int argc, char *argv[])
    int rc, i = 0, j = 0;
    struct sockaddr_in localAddr, servAddr;
    struct hostent *h;
    char buf[100];
    FILE *fp;
    h = gethostbyname(argv[1]);
    if(h==NULL) {
    printf("unknown host '%s'\n",argv[1]);
    exit(1);
    servAddr.sin_family = h->h_addrtype;
    memcpy((char *) &servAddr.sin_addr.s_addr, h->h_addr_list[0], h->h_length);
    servAddr.sin_port = htons(SERVER_PORT);
    /* create socket */
    sd = socket(AF_INET, SOCK_STREAM, 0);
    if(sd<0) {
    perror("cannot open socket ");
    exit(1);
    /* bind any port number */
    localAddr.sin_family = AF_INET;
    localAddr.sin_addr.s_addr = htonl(INADDR_ANY);
    localAddr.sin_port = htons(0);
    rc = bind(sd, (struct sockaddr *) &localAddr, sizeof(localAddr));
    if(rc<0) {
    printf("%s: cannot bind port TCP %u\n",argv[1],SERVER_PORT);
    perror("error ");
    exit(1);
    /* connect to server */
    rc = connect(sd, (struct sockaddr *) &servAddr, sizeof(servAddr));
    if(rc<0) {
    perror("cannot connect ");
    exit(1);
    //send register message
    rc = send(sd, "register\n", strlen("register\n"), 0);
    //if can't send
    if(rc < 0)
    close(sd);
    exit(1);
    //wait here until get the flag from server
    while(1)
    buf[0] = '\0';
    rc = recv(sd,buf,MAX_MSG-1,0);
    if(rc < 0)
    perror("receive error\n");
    close(sd);
    exit(1);
    buf[rc] = '\0';
    if(strcmp(buf,"autoplay")==0)
    //do something here
    else if(strcmp(buf,"exit")==0)
    printf("exiting now ....\n");
    close(sd);
    exit(1);
    return 0;

    Yes......I do so all the time.

  • ARIAL FONT IN REPORTS(WINDOWS), NOT SHOWN CORRECTLY UNDER LINUX

    Our Reports are developed under Windows (Report Builder 9.0.4.0.33 and Windows 2000/Windows XP) and generated under Linux (IAS 10.1.2.0.2 with Red Hat Advanced Server). The Report Output is a PDF, that will be downloaded by the user with WEB.SHOW_DOCUMENT. This works fine, but fonts are not shown correctly in the PDF, especially ARIAL, which is the font we use.
    I have run the Fontsolution Configuration Script from Metalink, but we still have a problem.
    When you look at the font.pdf, wich is the testreport from fontsolutions, some sizes and styles of Arial are printed correctly others not.
    Arial 8 is ok, but Arial 10 and Arial 12 are something like Times New Roman.
    Arial 12 Bolded is correct, but Arial 12 italic and Arial 12 bold italic are also not
    the Arial Font.
    How can we correct this problem?
    Regards
    Udo
    These are the files changed by Fontsolution Configuration Script:
    uifont.ali
    # uifont.ali provided in fontsolutions.tar for developer 9.0.2
    # $Header: uifont.ali@@/main/22 \
    # Checked in on Tue Jan 8 15:32:42 PST 2002 by idc \
    # Copyright (c) 1999, 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # $Revision: /main/22 $
    # Copyright (c) Oracle Corporation 1994, 2002.
    # All Rights Reserved.
    # DESCRIPTION:
    # Each line is of the form:
    # <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet> = \
    # <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet>
    # The <Face> must be the name (string/identifier) of a font face. The
    # <Style>, <Weight>, <Width>, and <CharSet> may either be a numeric
    # value or a predefined identifier/string. For example, both US7ASCII
    # and 1 are valid <CharSet> values, and refer to the same character set.
    # The <Size> dimension must be an explicit size, in points.
    # The following is a list of recognized names and their numeric
    # equivalents:
    # Styles Numeric value
    # Plain 0
    # Italic 1
    # Oblique 2
    # Underline 4
    # Outline 8
    # Shadow 16
    # Inverted 32
    # Overstrike 64
    # Blink 128
    # Weights Numeric value
    # Ultralight 1
    # Extralight 2
    # Light 3
    # Demilight 4
    # Medium 5
    # Demibold 6
    # Bold 7
    # Extrabold 8
    # Ultrabold 9
    # Widths Numeric value
    # Ultradense 1
    # Extradense 2
    # Dense 3
    # Semidense 4
    # Normal 5
    # Semiexpand 6
    # Expand 7
    # Extraexpand 8
    # Ultraexpand 9
    # Styles may be combined; you can use plus ("+") to delimit parts of a
    # style. For example,
    # Arial..Italic+Overstrike = Helvetica.12.Italic.Bold
    # are equivalent, and either one will map any Arial that has both Italic
    # and Overstrike styles to a 12-point, bold, italic Helvetica font.
    # All strings are case-insensitive in mapping. Font faces are likely to
    # be case-sensitive on lookup, depending on the platform and surface, so
    # care should be taken with names used on the right-hand side; but they
    # will be mapped case-insensitively.
    # See your platform documentation for a list of all supported character
    # sets, and available fonts.
    # BUGS:
    # o Should accept a RHS ratio (e.g., "Helv = Arial.2/3").
    #===============================================================
    [ Global ] # Put mappings for all surfaces here.
    # Mapping from MS Windows
    #Arial = helvetica
    #"Courier New" = courier
    #"Times New Roman" = times
    #Modern = helvetica
    #"MS Sans Serif" = helvetica
    #"MS Serif" = times
    #"Small Fonts" = helvetica
    "Sadvocra" = helvetica..Oblique.Medium
    "sAdC128d" = helvetica..Plain.Medium
    "CarolinaBar-B39-25F2" = helvetica...Bold
    #"IDAutomationSMICR" = helvetica
    # Mapping from Macintosh
    #"New Century Schlbk" = "new century schoolbook"
    #"New York" = times
    #geneva = helvetica
    #===============================================================
    [ Printer ] # Put mappings for all printers here.
    #===============================================================
    [ Printer:PostScript1 ] # Put mappings for PostScript level 1 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    #Roman = palatino
    #Script = "itc zapf chancery"
    #FixedSys = courier
    #System = helvetica
    # Mapping from Macintosh
    #"Avant Garde" = "itc avant garde gothic"
    # Mapping from Motif display
    #fixed = courier
    #clean = times
    #lucidatypewriter = courier
    #lucidabright = times
    #Arial = helvetica
    #"Courier New" = courier
    #"Times New Roman" = times
    # MICR font
    #helvetica=IDAutomationSMICR
    #===============================================================
    [ Printer:PostScript2 ] # Put mappings for PostScript level 2 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    #Roman = palatino
    #Script = "itc zapf chancery"
    #FixedSys = courier
    #System = helvetica
    # Mapping from Macintosh
    #"Avant Garde" = "itc avant garde gothic"
    # Mapping from Motif display
    #fixed = courier
    #clean = times
    #lucidatypewriter = courier
    #lucidabright = times
    #===============================================================
    [ Printer:PCL5 ] # Put mappings for PCL 5 printers here.
    helvetica = univers
    times = "cg times"
    clean = "antique olv"
    fixed = courier
    lucida = univers
    lucidabright = "cg times"
    lucidatypewriter = courier
    "new century schoolbook" = univers
    terminal = "line printer"
    #===============================================================
    [ Display ] # Put mappings for all display surfaces here.
    #===============================================================
    [ Display:Motif ] # Put mappings for Motif displays here
    # Fix for bug no 778937 DO NOT MOVE!
    Roman.....sjis = lucida.....jeuc
    Script.....sjis = lucidabright.....jeuc
    FixedSys.....sjis = fixed.....jeuc
    System.....sjis = lucida.....jeuc
    .....sjis = .....jeuc
    # Mapping from MS Windows
    Roman = lucida
    Script = lucidabright
    FixedSys = fixed
    System = lucida
    # Mapping from Macintosh
    "Avant Garde" = helvetica
    "Bookman" = times
    #===============================================================
    [ Display:CM ] # Put mappings for all CM displays here.
    # These are DEC-specific, and may need localization
    *..Blink = Blinking
    *..Inverted+Underline.Bold = ReverseBoldUnderline
    *..Inverted+Underline. = UnderlineReverse
    *..Underline.Bold = UnderlineBold
    *..Inverted.Bold = ReverseBold
    *...Bold = Bold
    *..Underline = Underline
    *..Inverted = Reverse
    * = Plain # The font of last resort
    # Oracle Report PDF sections
    # Three new sections have been added:
    # [ PDF ] - Used for font aliasing and Multibyte language support
    # [ PDF:Embed ] - Used for Type 1 font embedding
    # [ PDF:Subset ] - Used for True Type Font subsetting
    [ PDF ]
    # This example shows how to rename helvetica font to Courier font
    # helvetica = Courier
    # You can Alias specific styles of font as below
    # helvetica.12..Bold.. = Courier.14....
    # "Lucida Bright".12..Bold = "New Century Schoolbook"
    # Support for Far Eastern Languages:
    # PDF section can be additionally used to enable Multibyte language support
    # built into Reports. To use this feature with Adobe (r) Acrobat (c), you
    # need to install the Asian font pack available online at the Adobe web site.
    # .....SJIS = "HeiseiKakuGo-W5-Acro"
    # A Japanese report run with Shift-JIS character set is replaced to
    # HeiseiKakuGo-W5-Acro CID font.
    arial = Arial
    "arial" =Arial
    "arial narrow" = "Arial Narrow"
    "courier new" = "Courier New"
    tahoma = Tahoma
    "microsoft sans serif" = "Microsoft Sans Serif"
    "ms sans serif" = "MS Sans Serif"
    "times new roman" = "Times New Roman"
    [ PDF:Embed ]
    # This example shows how to embed Type 1 helvetica font into the PDF file:
    # helvetica = "helvetica.afm helvetica.pfa"
    # You need to specify the .afm file before the .pfa file.
    # The font files must exist in one of the folders specified in REPORTS_PATH.
    [ PDF:Subset ]
    # This example shows how to subset Arial True Type font into the PDF file:
    # helvetica = "Arial.ttf"
    # The True Type font files must exist in any one of the folders specified in
    # REPORTS_PATH.
    helvetica..Oblique.Medium = "Sadvocra.ttf"
    helvetica..Plain.Medium = "Sadc128d.ttf"
    helvetica...Bold = "CarolinaBar-B39-25F2-Normal.ttf"
    # NOTES ON PRECEDENCE OF PDF SECTIONS:
    # If you have entries for a same font in many PDF sections, then Font
    # Aliasing entry will take precedence over Font Embedding entry. Entries
    # in Font Embedding will take precedence over the entries in Font Subsetting
    # section.
    # Generic entries for a font must follow more specific entries for the same
    # font. For instance, if you want to subset helvetica Plain, helvetica Bold,
    # helvetica Italic and helvetica Bold-Italic fonts, your entries must be:
    # [ PDF:Subset ]
    # helvetica..Italic.Bold.. = "Arialbi.ttf"
    # helvetica...Bold.. = "Arialb.ttf"
    # helvetica..Italic... = "Ariali.ttf"
    # helvetica..... = "Arial.ttf"
    # If helvetica..... entry appears in the top of the list, all the styles of
    # helvetica font in the layout will be subset as helvetica Plain font.
    uiprint.txt
    # This is the printer configuration file.
    # The format for entries in this file is:
    # <OSName>:<Type>:<Version>:<Long Name>:<Description File>:
    # The first field is the name of the printer. It is the name you give
    # to lpq.
    # The second field is the type of driver to be used for the printer.
    # Currently, "PostScript" and "ASCII" are the only types of driver for
    # printers supported for now. But in future we may be supporting
    # drivers for other printer types.
    # The third field is the version of the type of printer driver. It's 1
    # or 2 for all PostScript printers; or 1 for ASCII printers.
    # The fourth field is a long description of the printer. This will be
    # presented to the user in the "Choose Printer" dialog window.
    # The fifth field is the printer description file to be used. For
    # PostScript printers it is the PPD file of the printer. (This field is
    # currently unused for ASCII printers.)
    # You can use default.ppd for the description file if you don't have a
    # PPD file for the printer, but it's best to use the correct PPD file
    # for the printer.
    # You must fill in at least the first two fields (printer name and
    # type). If the version is empty, it defaults to "1"; if the long name
    # or description are empty, they will default to empty strings. A
    # version of 1 or an empty long name is fine, but, for PostScript
    # printers, you must fill in the description file name.
    # You don't have to update this file to use any printer. The printer
    # chooser interface let's you select a printer and driver at run time,
    # as well as associate a printer description file to the printer. You
    # should list all printers accessible to users here, however, to
    # simplify selecting a printer.
    # The first entry in this file will be used as the default printer, if
    # no printer was selected in the operating system. (For Unix, the
    # following environment variables will be used in turn to get the
    # default printer's name:
    # TK2_PRINTER
    # ORACLE_PRINTER
    # PRINTER
    # For other platforms, see the Installation and User's Guide for your OS
    # for information on setting the default printer.)
    # WARNING: Do not define multiple entries for the same printer by the
    # same name. Selecting a printer with multiple entries will always result
    # in the first entry being selected. Instead, see if your OS allows you
    # to create an alias for the printer, and use an alias for the second type.
    # The following are examples; replace them with printers accessible from
    # this machine.
    # hqunx15:PostScript:1:The really slow printer on 12th floor:dcln03r1.ppd:
    # hqdev2_pos:PostScript:1:The fast ScriptPrinter in 1281:dclps321.ppd:
    # hqunx106:ASCII:1:LNO printer in the 11th floor printer room:none:
    # hqdev9:PostScript:1:Bogus printer for Reports ASCII QA:default.ppd:
    # hqunx121:PostScript:1:APO printer in 500OP for NLS QA:ok800lt1.ppd:
    # --- Note that the following two printers are aliases for the same
    # --- physical printer, with different names for different types:
    # tk2hp4m:PCL:5:HP printer in 771 for testing PCL:ui4.hpd:
    # tk2bw1ps:PostScript:1:HP printer in 771 for testing PS:hp4mp6_1.ppd:
    # Not A Printer:ASCII:1:Configure your uiprint.txt file:none:
    fontprinter:PostScript:1:printer for fonting fixes:default.ppd:
    datap462.ppd
    *PPD-Adobe: "4.0"
    *% Adobe Systems PostScript(R) Printer Description File
    *% Copyright 1987-1992 Adobe Systems Incorporated.
    *% All Rights Reserved.
    *% Permission is granted for redistribution of this file as
    *% long as this copyright notice is intact and the contents
    *% of the file is not altered in any way from its original form.
    *% End of Copyright statement
    *FormatVersion: "4.0"
    *FileVersion: "3.1"
    *PCFileName: "DATAP462.PPD"
    *LanguageVersion: English
    *Product: "(Dataproducts LZR 2665)"
    *PSVersion: "(46.2) 1"
    *ModelName: "Dataproducts LZR-2665"
    *NickName: "Dataproducts LZR-2665 v46.2"
    *% ==== Options and Constraints =====
    *OpenGroup: InstallableOptions/Options Installed
    OpenUI Option1/Optional Lower Tray: Boolean
    *DefaultOption1: False
    *Option1 True/Installed: ""
    *Option1 False/Not Installed: ""
    CloseUI: Option1
    *CloseGroup: InstallableOptions
    UIConstraints: Option1 False *InputSlot Lower
    *% General Information and Defaults ===============
    *ColorDevice: False
    *DefaultColorSpace: Gray
    *FreeVM: "178744"
    *LanguageLevel: "1"
    *VariablePaperSize: False
    *FileSystem: False
    *Throughput: "26"
    *Password: "0"
    *ExitServer: "
    count 0 eq {  % is the password on the stack?
    true
    dup % potential password
    statusdict /checkpassword get exec not
    } ifelse
    {  %  if no password or not valid
    (WARNING : Cannot perform the exitserver command.) =
    (Password supplied is not valid.) =
    (Please contact the author of this software.) = flush
    quit
    } if
    serverdict /exitserver get exec
    *End
    *Reset: "
    count 0 eq {  % is the password on the stack?
    true
    dup % potential password
    statusdict /checkpassword get exec not
    } ifelse
    {  %  if no password or not valid
    (WARNING : Cannot reset printer.) =
    (Password supplied is not valid.) =
    (Please contact the author of this software.) = flush
    quit
    } if
    serverdict /exitserver get exec
    systemdict /quit get exec
    (WARNING : Printer Reset Failed.) = flush
    *End
    *DefaultResolution: 300dpi
    *?Resolution: "
    save
    initgraphics
    0 0 moveto currentpoint matrix defaultmatrix transform
    0 72 lineto currentpoint matrix defaultmatrix transform
    3 -1 roll sub dup mul
    3 1 roll exch sub dup mul
    add sqrt round cvi
    ( ) cvs print (dpi) = flush
    restore
    *End
    *% Halftone Information ===============
    *ScreenFreq: "50.0"
    *ScreenAngle: "54.0"
    *DefaultScreenProc: Dot
    *ScreenProc Dot: " {dup mul exch dup mul add sqrt 1 exch sub } "
    *ScreenProc Line: "{ pop }"
    *ScreenProc Ellipse: "
    { dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
    *End
    *DefaultTransfer: Null
    *Transfer Null: "{ }"
    *Transfer Null.Inverse: "{ 1 exch sub }"
    *% Paper Handling ===================
    *% Use these entries to set paper size most of the time, unless there is
    *% specific reason to use PageRegion.
    *OpenUI *PageSize: PickOne
    *OrderDependency: 30 AnySetup *PageSize
    *DefaultPageSize: Letter
    *PageSize Letter: "statusdict /lettertray get exec letterR"
    *PageSize Letter.Transverse: "statusdict /lettertray get exec letter"
    *PageSize Legal: "statusdict /legaltray get exec"
    *PageSize Ledger: "statusdict /ledgertray get exec"
    *PageSize Statement: "statusdict /statementtray get exec"
    *PageSize Tabloid: "statusdict /11x17tray get exec"
    *PageSize A3: "statusdict /a3tray get exec"
    *PageSize A4: "statusdict /a4tray get exec a4R"
    *PageSize A4.Transverse: "statusdict /a4tray get exec a4"
    *PageSize A5: "statusdict /a5tray get exec"
    *PageSize B4: "statusdict /b4tray get exec"
    *PageSize B5: "statusdict /b5tray get exec b5R"
    *PageSize B5.Transverse: "statusdict /b5tray get exec b5"
    *CloseUI: *PageSize
    *% These entries will set up the frame buffer. Usually used with manual feed.
    *OpenUI *PageRegion: PickOne
    *OrderDependency: 40 AnySetup *PageRegion
    *DefaultPageRegion: Letter
    *PageRegion Letter: "letterR"
    *PageRegion Letter.Transverse: "letter"
    *PageRegion Legal: "legal"
    *PageRegion Ledger: "ledger"
    *PageRegion Tabloid: "11x17"
    *PageRegion A3: "a3"
    *PageRegion A4: "a4R"
    *PageRegion A4.Transverse: "a4"
    *PageRegion A5: "a5"
    *PageRegion B4: "b4"
    *PageRegion B5: "b5R"
    *PageRegion B5.Transverse: "b5"
    *PageRegion Statement: "statement"
    *CloseUI: *PageRegion
    *% The following entries provide information about specific paper keywords.
    *DefaultImageableArea: Letter
    *ImageableArea Letter: "20 16 591 775 "
    *ImageableArea Letter.Transverse: "18 19 593 773 "
    *ImageableArea Legal: "18 19 593 990 "
    *ImageableArea Ledger: "18 16 1205 775 "
    *ImageableArea Tabloid: "16 19 775 1206 "
    *ImageableArea A3: "18 21 823 1170 "
    *ImageableArea A4: "18 18 576 823 "
    *ImageableArea A4.Transverse: "18 19 577 823 "
    *ImageableArea A5: "18 19 401 577 "
    *ImageableArea B4: "19 15 709 1017 "
    *ImageableArea B5: "20 19 495 709 "
    *ImageableArea B5.Transverse: "20 19 495 709 "
    *ImageableArea Statement: "22 19 374 594 "
    *?ImageableArea: "
    save
    /cvp {(                ) cvs print ( ) print } bind def
    /upperright {10000 mul floor 10000 div} bind def
    /lowerleft {10000 mul ceiling 10000 div} bind def
    newpath clippath pathbbox
    4 -2 roll exch 2 {lowerleft cvp} repeat
    exch 2 {upperright cvp} repeat flush
    restore
    *End
    *% These provide the physical dimensions of the paper (by keyword)
    *DefaultPaperDimension: Letter
    *PaperDimension Letter: "612 792"
    *PaperDimension Letter.Transverse: "612 792"
    *PaperDimension Legal: "612 1008"
    *PaperDimension Ledger: "1224 792"
    *PaperDimension Tabloid: "792 1224"
    *PaperDimension A3: "842 1191"
    *PaperDimension A4: "595 842"
    *PaperDimension A4.Transverse: "595 842"
    *PaperDimension A5: "420 595"
    *PaperDimension B4: "729 1032"
    *PaperDimension B5: "516 729"
    *PaperDimension B5.Transverse: "516 729"
    *PaperDimension Statement: "396 612"
    *RequiresPageRegion All: True
    *OpenUI *InputSlot: PickOne
    *OrderDependency: 20 AnySetup *InputSlot
    *DefaultInputSlot: Upper
    *InputSlot Upper: "0 statusdict /setpapertray get exec"
    *InputSlot Lower: "1 statusdict /setpapertray get exec"
    *?InputSlot: "
    save
    [ (Upper) (Lower) ] statusdict /papertray get exec
    (get exec) stopped ( pop pop (Unknown)} if = flush
    restore
    *End
    *CloseUI: *InputSlot
    *OpenUI *ManualFeed: Boolean
    *OrderDependency: 20 AnySetup *ManualFeed
    *DefaultManualFeed: False
    *ManualFeed True: "statusdict /manualfeed true put"
    *ManualFeed False: "statusdict /manualfeed false put"
    *?ManualFeed: "
    save
    statusdict /manualfeed get {(True)}{(False)}ifelse = flush
    restore
    *End
    *CloseUI: *ManualFeed
    *DefaultOutputOrder: Reverse
    *% Font Information =====================
    *% This datap462.ppd is provided by fontsolutions.tar
    *DefaultFont: Courier
    *Font ArialMT: Standard "(001.004)" Standard ROM
    *Font Arial-ItalicMT: Standard "(001.004)" Standard ROM
    *Font Arial-BoldMT: Standard "(001.004)" Standard ROM
    *Font Arial-BoldItalicMT: Standard "(001.004)" Standard ROM
    *Font ArialNarrow: Standard "(001.004)" Standard ROM
    *Font ArialNarrow-Italic: Standard "(001.004)" Standard ROM
    *Font ArialNarrow-Bold: Standard "(001.004)" Standard ROM
    *Font ArialNarrow-BoldItalic: Standard "(001.004)" Standard ROM
    *Font CourierNewMT: Standard "(001.004)" Standard ROM
    *Font CourierNew-ItalicMT: Standard "(001.004)" Standard ROM
    *Font CourierNew-BoldMT: Standard "(001.004)" Standard ROM
    *Font CourierNew-BoldItalicMT: Standard "(001.004)" Standard ROM
    *Font Courier: Standard "(001.004)" Standard ROM
    *Font Courier-Bold: Standard "(001.001)" Standard ROM
    *Font Courier-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Courier-Oblique: Standard "(001.001)" Standard ROM
    *Font Helvetica: Standard "(001.001)" Standard ROM
    *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
    *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
    *Font IDAutomationSMICR: Standard "(001.001)" Standard ROM
    *Font Symbol: Special "(001.001)" Special ROM
    *Font Tahoma: Standard "(001.001)" Standard ROM
    *Font Tahoma-Bold: Standard "(001.001)" Standard ROM
    *Font Times-Bold: Standard "(001.001)" Standard ROM
    *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
    *Font Times-Italic: Standard "(001.001)" Standard ROM
    *Font Times-Roman: Standard "(001.001)" Standard ROM
    *Font TimesNewRomanMT: Standard "(001.001)" Standard ROM
    *Font TimesNewRoman-BoldMT: Standard "(001.001)" Standard ROM
    *Font TimesNewRoman-BoldItalicMT: Standard "(001.001)" Standard ROM
    *Font TimesNewRoman-ItalicMT: Standard "(001.001)" Standard ROM
    *?FontQuery: "
    save
    /str 100 string dup 0 (fonts/) putinterval def
    count 1 gt
    exch dup str 6 94 getinterval cvs
    (/) print print (:) print
    FontDirectory exch known
    {(Yes)}{(No)} ifelse =
    {exit} ifelse
    }bind loop
    (*) = flush
    restore
    *End
    *?FontList: "
    FontDirectory { pop == } bind forall flush
    (*) = flush
    *End
    *% Printer Messages (verbatim from printer):
    *Message: "%%[ exitserver: permanent state may be changed ]%%"
    *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
    *Message: "\FontName\ not found, using Courier"
    *% Status (format: %%[ status: <one of these> ]%% )
    *Status: "idle"
    *Status: "busy"
    *Status: "waiting"
    *Status: "printing"
    *Status: "warming up"
    *Status: "PrinterError: BD check"
    *Status: "PrinterError: Paper jam"
    *Status: "PrinterError: Replace toner bag"
    *Status: "PrinterError: Warming up"
    *Status: "PrinterError: Timing error"
    *Status: "PrinterError: Fuser check"
    *Status: "PrinterError: Cover opened"
    *Status: "PrinterError: Toner empty"
    *Status: "PrinterError: Empty & reset output bin(s)"
    *Status: "PrinterError: Sorter or jogger error"
    *Status: "PrinterError: Scanner check"
    *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
    *Source: "serial9"
    *Source: "serial25"
    *Source: "AppleTalk"
    *Source: "Centronics"
    *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
    *PrinterError: "BD check"
    *PrinterError: "Paper jam"
    *PrinterError: "Replace toner bag"
    *PrinterError: "Warming up"
    *PrinterError: "Timing error"
    *PrinterError: "Fuser check"
    *PrinterError: "Cover opened"
    *PrinterError: "Toner empty"
    *PrinterError: "Empty & reset output bin(s)"
    *PrinterError: "Sorter or jogger error"
    *PrinterError: "Scanner check"
    *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
    *% Color Separation Information =====================
    *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
    *InkName: ProcessBlack/Process Black
    *InkName: CustomColor/Custom Color
    *InkName: ProcessCyan/Process Cyan
    *InkName: ProcessMagenta/Process Magenta
    *InkName: ProcessYellow/Process Yellow
    *% For 60 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
    *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
    *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
    *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *% For 53 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
    *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
    *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
    *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
    *% For "Dataproducts LZR 2665" version 46.2
    *% Produced by "GETapd.ps" version 2.0 edit 47
    *% Converted to meet 4.0 specification
    *% Last Edit Date: Sep 15 1992
    *% The byte count of this file should be exactly 011228 or 011572
    *% depending on the filesystem it resides in.
    *% end of PPD file for Dataproducts LZR 2665

    If you want to make platform independent use of fonts, you have to use the family, such as sans serif.
    Arial is owned by monotype (http://monotype.com/). You have to contact them if you wish to redistribute it with your application. They also might have a suitable version that renders nicely under linux.
    Pete

  • PHD Accounts stuck at blue screen when outside our network.

    I have approx. 200 computers in a 1:1 program, the users are in groups by school in WGM and each group has applied preferences. The users work fine when they are at school however when they go home they get stuck on a blue screen for widely varying amounts of time, from 5 minutes to "hours" some of which the students claim never get to the login screen.
    I've searched like mad and seen a lot of blue screen issues but none linked to PHD accounts being out of network range. I've also seen lots of issues with long login delays after having entered valid login credentials but none that closely resemble my issue.
    The Setup:
    Servers-
    ODM - 10.5.4 2x2 GHz dual core intel Xeon 4GB
    ODR1 - 10.5.4 2GHz PowerPC G5 2GB
    ODR2 - 10.5.4 2GHz PowerPC G5 2GB
    ODM & ODR1 are on the same subnet serving the main office, elem. and MS
    ODR2 is on its own for the High School.
    Clients-
    Macbook A1181's 10.5.4 2GHz Intel Core Duo 1GB
    The laptops in question are all bound to ODR2 and both the server and the clients are in the same subnet while in school everything works fine.
    *_+System Log - Airport off to simulate no network connection:+_*
    Sep 8 18:10:51 CCSD-Student-2ae71e com.apple.launchd[93] (0x109c40.Locum[127]): Exited: Terminated
    Sep 8 18:11:06 CCSD-Student-2ae71e loginwindow[23]: DEAD_PROCESS: 0 console
    Sep 8 18:11:07 CCSD-Student-2ae71e /System/Library/CoreServices/ManagedClient.app/Contents/Resources/MCXLoginLogou tScriptTool[136]: logout: "logoutscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 8 18:11:07 CCSD-Student-2ae71e com.apple.loginwindow[23]: logout: "logoutscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 8 18:11:07 CCSD-Student-2ae71e shutdown[138]: halt by ccsd:
    Sep 8 18:11:07 CCSD-Student-2ae71e shutdown[138]: SHUTDOWN_TIME: 1220926267 255352
    Sep 8 18:11:07 CCSD-Student-2ae71e mDNSResponder mDNSResponder-171.4 (Apr 20 2008 11:59:52)[22]: stopping
    Sep 8 18:11:07 CCSD-Student-2ae71e com.apple.loginwindow[23]: Shutdown NOW!
    Sep 8 18:11:07 CCSD-Student-2ae71e com.apple.loginwindow[23]: System shutdown time has arrived^G^G
    Sep 8 18:11:26 localhost kernel[0]: npvhash=4095
    Sep 8 18:11:26 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    Sep 8 18:11:26 localhost com.apple.launchd[1] (org.cups.cupsd): Unknown key: SHAuthorizationRight
    Sep 8 18:11:26 localhost com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight
    Sep 8 18:11:26 localhost kextd[10]: 404 cached, 0 uncached personalities to catalog
    Sep 8 18:11:26 localhost kernel[0]: hi mem tramps at 0xffe00000
    Sep 8 18:11:26 localhost kernel[0]: PAE enabled
    Sep 8 18:11:26 localhost kernel[0]: Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
    Sep 8 18:11:26 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Sep 8 18:11:26 localhost kernel[0]: vmpagebootstrap: 249787 free pages and 12357 wired pages
    Sep 8 18:11:26 localhost kernel[0]: migtable_maxdispl = 79
    Sep 8 18:11:26 localhost kernel[0]: 94 prelinked modules
    Sep 8 18:11:26 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    Sep 8 18:11:26 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Sep 8 18:11:26 localhost kernel[0]: Loading security extension com.apple.security.TMSafetyNet
    Sep 8 18:11:26 localhost kernel[0]: calling mpopolicyinit for TMSafetyNet
    Sep 8 18:11:26 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    Sep 8 18:11:26 localhost kernel[0]: Loading security extension com.apple.nke.applicationfirewall
    Sep 8 18:11:26 localhost kernel[0]: Loading security extension com.apple.security.seatbelt
    Sep 8 18:11:26 localhost kernel[0]: calling mpopolicyinit for mb
    Sep 8 18:11:26 localhost kernel[0]: Seatbelt MACF policy initialized
    Sep 8 18:11:26 localhost kernel[0]: Security policy loaded: Seatbelt Policy (mb)
    Sep 8 18:11:26 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Sep 8 18:11:26 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Sep 8 18:11:26 localhost kernel[0]: MAC Framework successfully initialized
    Sep 8 18:11:26 localhost kernel[0]: using 5242 buffer headers and 4096 cluster IO buffer headers
    Sep 8 18:11:26 localhost kernel[0]: devfsmakenode: not ready for devices!
    Sep 8 18:11:26 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    Sep 8 18:11:26 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    Sep 8 18:11:26 localhost kernel[0]: mbinit: done
    Sep 8 18:11:26 localhost kernel[0]: Security auditing service present
    Sep 8 18:11:26 localhost kernel[0]: BSM auditing present
    Sep 8 18:11:26 localhost kernel[0]: rooting via boot-uuid from /chosen: 1820E5C8-9C4B-378C-9FEF-BE766A087837
    Sep 8 18:11:26 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Sep 8 18:11:26 localhost kernel[0]: AppleYukon2: 532111ab,00000000 sk98osx_dnet - CheckDictionaryEntry failed, expected vs. dictionary
    Sep 8 18:11:26 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 0017f2fffe60f678; max speed s400.
    Sep 8 18:11:26 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2 @2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDri ver/ST96812AS Media/IOGUIDPartitionScheme/Customer@2
    Sep 8 18:11:26 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
    Sep 8 18:11:26 localhost kernel[0]: CSRHIDTransitionDriver::start []
    Sep 8 18:11:26 localhost kernel[0]: CSRHIDTransitionDriver::switchToHCIMode legacy
    Sep 8 18:11:26 localhost kernel[0]: Jettisoning kernel linker.
    Sep 8 18:11:26 localhost kernel[0]: Resetting IOCatalogue.
    Sep 8 18:11:27 localhost kernel[0]: GFX0: family specific matching fails
    Sep 8 18:11:27 localhost kernel[0]: display: family specific matching fails
    Sep 8 18:11:27 localhost kernel[0]: Matching service count = 1
    Sep 8 18:11:27 localhost kernel[0]: Matching service count = 3
    Sep 8 18:11:27: --- last message repeated 4 times ---
    Sep 8 18:11:27 localhost kernel[0]: display: family specific matching fails
    Sep 8 18:11:27 localhost kernel[0]: Previous Shutdown Cause: 3
    Sep 8 18:11:27 localhost kernel[0]: GFX0: family specific matching fails
    Sep 8 18:11:27 localhost kernel[0]: ath_attach: devid 0x1c
    Sep 8 18:11:28 localhost kernel[0]: mac 10.3 phy 6.1 radio 10.2
    Sep 8 18:11:31 localhost rpc.statd[17]: statd.notify - no notifications needed
    Sep 8 18:11:31 localhost bootlog[36]: BOOT_TIME: 1220926283 0
    Sep 8 18:11:31 localhost fseventsd[27]: bumping event counter to: 0xd584 (current 0x0) from log file '000000000000c9e8'
    Sep 8 18:11:31 localhost DirectoryService[32]: Launched version 5.4 (v514.21)
    Sep 8 18:11:31 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[23]: Login Window Application Started
    Sep 8 18:11:32 localhost kernel[0]: yukon: Ethernet address 00:17:f2:2a:e7:1e
    Sep 8 18:11:32 localhost kernel[0]: AirPort_Athr5424ab: Ethernet address 00:17:f2:4f:93:81
    Sep 8 18:11:32 localhost mDNSResponder mDNSResponder-171.4 (Apr 20 2008 11:59:52)[22]: starting
    Sep 8 18:11:33 localhost /usr/sbin/ocspd[55]: starting
    Sep 8 18:11:34 localhost kernel[0]: USBF: 12. 80 AppleUSBHubPort: Port 1 of Hub at 0x7d000000 about to terminate a busy device (IOUSBCompositeDevice) after waiting 10 seconds
    Sep 8 18:11:34 localhost configd[34]: AppleTalk startup
    Sep 8 18:11:34 CCSD-Student-2ae71e configd[34]: setting hostname to "CCSD-Student-2ae71e.local"
    Sep 8 18:11:35 CCSD-Student-2ae71e kernel[0]: USBF: 12.382 CSRHIDTransitionDriver[0x2c44500](IOUSBCompositeDevice) GetFullConfigDescriptor(0) returned NULL
    Sep 8 18:11:35 CCSD-Student-2ae71e kernel[0]: CSRHIDTransitionDriver... done
    Sep 8 18:11:35 CCSD-Student-2ae71e blued[65]: Apple Bluetooth daemon started.
    Sep 8 18:11:37 CCSD-Student-2ae71e kernel[0]: display: Not usable
    Sep 8 18:11:37 CCSD-Student-2ae71e ARDAgent [70]: ******ARDAgent Launched******
    Sep 8 18:11:37 CCSD-Student-2ae71e ARDAgent [70]: call logout from LoginLogoutProxyCallBackFunction
    Sep 8 18:11:37 CCSD-Student-2ae71e com.apple.launchd[1] (com.apple.RemoteDesktop.agent): Throttling respawn: Will start in 10 seconds
    Sep 8 18:11:37 CCSD-Student-2ae71e loginwindow[23]: Login Window Started Security Agent
    Sep 8 18:11:38 CCSD-Student-2ae71e ntpdate[76]: can't find host time.apple.com
    Sep 8 18:11:38 CCSD-Student-2ae71e org.ntp.ntpd[14]: Error : nodename nor servname provided, or not known
    Sep 8 18:11:38 CCSD-Student-2ae71e ntpdate[76]: no servers can be used, exiting
    Sep 8 18:11:41 CCSD-Student-2ae71e configd[34]: AppleTalk startup complete
    Sep 8 18:11:41 CCSD-Student-2ae71e configd[34]: AppleTalk shutdown
    Sep 8 18:11:41 CCSD-Student-2ae71e configd[34]: AppleTalk shutdown complete
    Sep 8 18:11:45 CCSD-Student-2ae71e kextd[10]: writing kernel link data to /var/run/mach.sym
    Sep 8 18:11:47 CCSD-Student-2ae71e ARDAgent [80]: ******ARDAgent Launched******
    Sep 8 18:11:47 CCSD-Student-2ae71e ARDAgent [80]: ******ARDAgent Ready******
    Sep 8 18:13:44 CCSD-Student-2ae71e SecurityAgent[75]: NSExceptionHandler has recorded the following exception:\nNSRangeException -- * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)\nStack trace: 0x3719a 0x934610fb 0x954ebf2b 0x954ebf6a 0x96418f1f 0x963968b8 0x70030 0x7086f 0x59f19 0x6e2ed 0x62011 0x63346 0x6b9aa 0x6c4a7 0x74e57 0x929e24c5 0x74167 0x929ae431 0x9290be27 0x10fc7 0x202a 0x1
    Sep 8 18:13:50 CCSD-Student-2ae71e authorizationhost[74]: MechanismInvoke 0x12d9c0 retainCount 2
    Sep 8 18:13:50 CCSD-Student-2ae71e SecurityAgent[75]: MechanismInvoke 0x101660 retainCount 1
    Sep 8 18:13:51 CCSD-Student-2ae71e SecurityAgent[75]: NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView subclass designed to work with the cell. Ignoring...
    Sep 8 18:13:51 CCSD-Student-2ae71e SecurityAgent[75]: NSExceptionHandler has recorded the following exception:\nNSRangeException -- * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)\nStack trace: 0x3719a 0x934610fb 0x954ebf2b 0x954ebf6a 0x96418f1f 0x963968b8 0x70030 0x7086f 0x59f19 0x6e2ed 0x62011 0x6e284 0x66f16 0x76d76 0xd648 0x12c40 0x129f3 0xd18a 0x963d5e63 0x9544e635 0x95472908 0x95472cf8 0x925fada4 0x925fabbd 0x925faa31 0x92913505 0x92912db8 0x9290bdf3 0x10fc7 0x202a 0x1
    Sep 8 18:13:51 CCSD-Student-2ae71e SecurityAgent[75]: MechanismDestroy 0x101660 retainCount 1
    Sep 8 18:13:51 CCSD-Student-2ae71e authorizationhost[74]: MechanismDestroy 0x12d9c0 retainCount 2
    Sep 8 18:13:51 CCSD-Student-2ae71e loginwindow[23]: Login Window - Returned from Security Agent
    Sep 8 18:13:51 CCSD-Student-2ae71e /System/Library/CoreServices/ManagedClient.app/Contents/Resources/MCXLoginLogou tScriptTool[88]: login: "loginscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 8 18:13:51 CCSD-Student-2ae71e com.apple.loginwindow[23]: login: "loginscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 8 18:13:51 CCSD-Student-2ae71e loginwindow[23]: USER_PROCESS: 23 console
    Sep 8 18:13:51 CCSD-Student-2ae71e com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[71]): Exited: Terminated
    Sep 8 18:13:51 CCSD-Student-2ae71e com.apple.launchd[90] (0x103540.AppleVNCServer[81]): Failed to add kevent for PID 81. Will unload at MIG return
    Sep 8 18:13:51 CCSD-Student-2ae71e ARDAgent [96]: ******ARDAgent Launched******
    Sep 8 18:13:51 CCSD-Student-2ae71e mDNSResponder[22]: Client application registered 2 identical instances of service CCSD-Student-2ae71e.net-assistant.udp.local. port 3283.
    Sep 8 18:13:52 CCSD-Student-2ae71e ARDAgent [96]: ******ARDAgent Ready******
    Sep 8 18:13:55 CCSD-Student-2ae71e /System/Library/CoreServices/coreservicesd[43]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(ccsd's Public Folder) returned -14135
    Sep 8 18:13:55 CCSD-Student-2ae71e /System/Library/CoreServices/coreservicesd[43]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(Jared Grieve's Public Folder) returned -14135
    Sep 8 18:13:57 CCSD-Student-2ae71e Dock[102]: Could not create a directory for <DOCKFolderTile: 0x81bc00> error = Error Domain=NSOSStatusErrorDomain Code=-35 "Operation could not be completed. (OSStatus error -35.)" (no such volume)
    As you can see almost a full 3 minutes just to get past the blue screen and login. This time varies as I mentioned before.
    *_+System log - Airport on and within the schools network.+_*
    Sep 5 18:36:18 CCSD-Student-2ae71e com.apple.launchd[86] (0x109b80.Locum[119]): Exited: Terminated
    Sep 5 18:36:32 CCSD-Student-2ae71e SystemUIServer[103]: Error: airportd MIG failed = 1 ((os/kern) invalid address) (port = 25919)
    Sep 5 18:36:32 CCSD-Student-2ae71e kernel[0]: AirPort: Link Up on en1
    Sep 5 18:36:32 CCSD-Student-2ae71e configd[34]: AppleTalk startup
    Sep 5 18:36:37 CCSD-Student-2ae71e loginwindow[23]: DEAD_PROCESS: 0 console
    Sep 5 18:36:37 CCSD-Student-2ae71e /System/Library/CoreServices/ManagedClient.app/Contents/Resources/MCXLoginLogou tScriptTool[132]: logout: "logoutscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 5 18:36:37 CCSD-Student-2ae71e com.apple.loginwindow[23]: logout: "logoutscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 5 18:36:37 CCSD-Student-2ae71e shutdown[133]: reboot by ccsd:
    Sep 5 18:36:37 CCSD-Student-2ae71e shutdown[133]: SHUTDOWN_TIME: 1220668597 814098
    Sep 5 18:36:37 CCSD-Student-2ae71e com.apple.loginwindow[23]: Shutdown NOW!
    Sep 5 18:36:37 CCSD-Student-2ae71e com.apple.loginwindow[23]: System shutdown time has arrived^G^G
    Sep 5 18:36:37 CCSD-Student-2ae71e mDNSResponder mDNSResponder-171.4 (Apr 20 2008 11:59:52)[22]: stopping
    Sep 5 18:36:51 localhost kernel[0]: npvhash=4095
    Sep 5 18:36:51 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    Sep 5 18:36:51 localhost com.apple.launchd[1] (org.cups.cupsd): Unknown key: SHAuthorizationRight
    Sep 5 18:36:51 localhost com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight
    Sep 5 18:36:51 localhost kextd[10]: 404 cached, 0 uncached personalities to catalog
    Sep 5 18:36:51 localhost kernel[0]: hi mem tramps at 0xffe00000
    Sep 5 18:36:51 localhost kernel[0]: PAE enabled
    Sep 5 18:36:51 localhost kernel[0]: Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
    Sep 5 18:36:51 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Sep 5 18:36:51 localhost kernel[0]: vmpagebootstrap: 249774 free pages and 12370 wired pages
    Sep 5 18:36:51 localhost kernel[0]: migtable_maxdispl = 79
    Sep 5 18:36:51 localhost kernel[0]: 95 prelinked modules
    Sep 5 18:36:51 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    Sep 5 18:36:51 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Sep 5 18:36:51 localhost kernel[0]: Loading security extension com.apple.security.TMSafetyNet
    Sep 5 18:36:51 localhost kernel[0]: calling mpopolicyinit for TMSafetyNet
    Sep 5 18:36:51 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    Sep 5 18:36:51 localhost kernel[0]: Loading security extension com.apple.nke.applicationfirewall
    Sep 5 18:36:51 localhost kernel[0]: Loading security extension com.apple.security.seatbelt
    Sep 5 18:36:51 localhost kernel[0]: calling mpopolicyinit for mb
    Sep 5 18:36:51 localhost kernel[0]: Seatbelt MACF policy initialized
    Sep 5 18:36:51 localhost kernel[0]: Security policy loaded: Seatbelt Policy (mb)
    Sep 5 18:36:51 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Sep 5 18:36:52 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Sep 5 18:36:52 localhost kernel[0]: MAC Framework successfully initialized
    Sep 5 18:36:52 localhost kernel[0]: using 5242 buffer headers and 4096 cluster IO buffer headers
    Sep 5 18:36:52 localhost kernel[0]: devfsmakenode: not ready for devices!
    Sep 5 18:36:52 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    Sep 5 18:36:52 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    Sep 5 18:36:52 localhost kernel[0]: mbinit: done
    Sep 5 18:36:52 localhost kernel[0]: Security auditing service present
    Sep 5 18:36:52 localhost kernel[0]: BSM auditing present
    Sep 5 18:36:52 localhost kernel[0]: rooting via boot-uuid from /chosen: 1820E5C8-9C4B-378C-9FEF-BE766A087837
    Sep 5 18:36:52 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Sep 5 18:36:52 localhost kernel[0]: AppleYukon2: 532111ab,00000000 sk98osx_dnet - CheckDictionaryEntry failed, expected vs. dictionary
    Sep 5 18:36:52 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 0017f2fffe60f678; max speed s400.
    Sep 5 18:36:52 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2 @2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDri ver/ST96812AS Media/IOGUIDPartitionScheme/Customer@2
    Sep 5 18:36:52 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
    Sep 5 18:36:52 localhost kernel[0]: CSRHIDTransitionDriver::start []
    Sep 5 18:36:52 localhost kernel[0]: CSRHIDTransitionDriver::switchToHCIMode legacy
    Sep 5 18:36:52 localhost kernel[0]: Jettisoning kernel linker.
    Sep 5 18:36:52 localhost kernel[0]: Resetting IOCatalogue.
    Sep 5 18:36:52 localhost kernel[0]: GFX0: family specific matching fails
    Sep 5 18:36:52 localhost kernel[0]: display: family specific matching fails
    Sep 5 18:36:52 localhost kernel[0]: Matching service count = 1
    Sep 5 18:36:52 localhost kernel[0]: Matching service count = 3
    Sep 5 18:36:52: --- last message repeated 4 times ---
    Sep 5 18:36:52 localhost kernel[0]: display: family specific matching fails
    Sep 5 18:36:52 localhost kernel[0]: Previous Shutdown Cause: 3
    Sep 5 18:36:52 localhost kernel[0]: ath_attach: devid 0x1c
    Sep 5 18:36:52 localhost kernel[0]: GFX0: family specific matching fails
    Sep 5 18:36:53 localhost kernel[0]: mac 10.3 phy 6.1 radio 10.2
    Sep 5 18:36:56 localhost bootlog[36]: BOOT_TIME: 1220668608 0
    Sep 5 18:36:56 localhost rpc.statd[17]: statd.notify - no notifications needed
    Sep 5 18:36:56 localhost fseventsd[27]: bumping event counter to: 0x6dbf (current 0x0) from log file '000000000000680f'
    Sep 5 18:36:56 localhost DirectoryService[32]: Launched version 5.4 (v514.21)
    Sep 5 18:36:56 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[23]: Login Window Application Started
    Sep 5 18:36:57 localhost kernel[0]: yukon: Ethernet address 00:17:f2:2a:e7:1e
    Sep 5 18:36:57 localhost kernel[0]: AirPort_Athr5424ab: Ethernet address 00:17:f2:4f:93:81
    Sep 5 18:36:57 localhost mDNSResponder mDNSResponder-171.4 (Apr 20 2008 11:59:52)[22]: starting
    Sep 5 18:36:58 localhost /usr/sbin/ocspd[57]: starting
    Sep 5 18:36:59 localhost configd[34]: AppleTalk startup
    Sep 5 18:36:59 CCSD-Student-2ae71e configd[34]: setting hostname to "CCSD-Student-2ae71e.local"
    Sep 5 18:36:59 CCSD-Student-2ae71e kernel[0]: USBF: 11.927 AppleUSBHubPort: Port 1 of Hub at 0x7d000000 about to terminate a busy device (IOUSBCompositeDevice) after waiting 10 seconds
    Sep 5 18:37:00 CCSD-Student-2ae71e kernel[0]: USBF: 12.228 CSRHIDTransitionDriver[0x2c30200](IOUSBCompositeDevice) GetFullConfigDescriptor(0) returned NULL
    Sep 5 18:37:00 CCSD-Student-2ae71e kernel[0]: CSRHIDTransitionDriver... done
    Sep 5 18:37:00 CCSD-Student-2ae71e blued[61]: Apple Bluetooth daemon started.
    Sep 5 18:37:01 CCSD-Student-2ae71e kernel[0]: AirPort: Link Up on en1
    Sep 5 18:37:02 CCSD-Student-2ae71e kernel[0]: display: Not usable
    Sep 5 18:37:02 CCSD-Student-2ae71e ARDAgent [65]: ******ARDAgent Launched******
    Sep 5 18:37:02 CCSD-Student-2ae71e loginwindow[23]: Login Window Started Security Agent
    Sep 5 18:37:02 CCSD-Student-2ae71e ARDAgent [65]: ******ARDAgent Ready******
    Sep 5 18:37:10 CCSD-Student-2ae71e kextd[10]: writing kernel link data to /var/run/mach.sym
    Sep 5 18:39:03 CCSD-Student-2ae71e ARDAgent [65]: Front Process:Couldn't get front process.. error: -600.
    Sep 5 18:39:08 CCSD-Student-2ae71e SecurityAgent[72]: NSExceptionHandler has recorded the following exception:\nNSRangeException -- * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)\nStack trace: 0x3719a 0x934610fb 0x954ebf2b 0x954ebf6a 0x96418f1f 0x963968b8 0x70030 0x7086f 0x59f19 0x6e2ed 0x62011 0x63346 0x6b9aa 0x929e4c23 0x929e4b60 0x92a2cb5f 0x92a2aec9 0x929e188b 0x74167 0x929ae431 0x9290be27 0x10fc7 0x202a 0x1
    Sep 5 18:39:15 CCSD-Student-2ae71e authorizationhost[70]: MechanismInvoke 0x12d9c0 retainCount 2
    Sep 5 18:39:15 CCSD-Student-2ae71e SecurityAgent[72]: MechanismInvoke 0x101660 retainCount 1
    Sep 5 18:39:15 CCSD-Student-2ae71e SecurityAgent[72]: NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView subclass designed to work with the cell. Ignoring...
    Sep 5 18:39:15 CCSD-Student-2ae71e SecurityAgent[72]: NSExceptionHandler has recorded the following exception:\nNSRangeException -- * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)\nStack trace: 0x3719a 0x934610fb 0x954ebf2b 0x954ebf6a 0x96418f1f 0x963968b8 0x70030 0x7086f 0x59f19 0x6e2ed 0x62011 0x6e284 0x66f16 0x76d76 0xd648 0x12c40 0x129f3 0xd18a 0x963d5e63 0x9544e635 0x95472908 0x95472cf8 0x925fada4 0x925fabbd 0x925faa31 0x92913505 0x92912db8 0x9290bdf3 0x10fc7 0x202a 0x1
    Sep 5 18:39:15 CCSD-Student-2ae71e SecurityAgent[72]: MechanismDestroy 0x101660 retainCount 1
    Sep 5 18:39:15 CCSD-Student-2ae71e authorizationhost[70]: MechanismDestroy 0x12d9c0 retainCount 2
    Sep 5 18:39:15 CCSD-Student-2ae71e loginwindow[23]: Login Window - Returned from Security Agent
    Sep 5 18:39:15 CCSD-Student-2ae71e /System/Library/CoreServices/ManagedClient.app/Contents/Resources/MCXLoginLogou tScriptTool[83]: login: "loginscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 5 18:39:15 CCSD-Student-2ae71e com.apple.loginwindow[23]: login: "loginscripts" in "com.apple.mcxloginscripts" is missing or is not a CFArray.
    Sep 5 18:39:15 CCSD-Student-2ae71e loginwindow[23]: USER_PROCESS: 23 console
    Sep 5 18:39:15 CCSD-Student-2ae71e com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[66]): Exited: Terminated
    Sep 5 18:39:15 CCSD-Student-2ae71e ARDAgent [91]: ******ARDAgent Launched******
    Sep 5 18:39:15 CCSD-Student-2ae71e mDNSResponder[22]: Client application registered 2 identical instances of service Sampson-Nicole-MB-77(Temp).net-assistant.udp.local. port 3283.
    Sep 5 18:39:16 CCSD-Student-2ae71e ARDAgent [91]: ******ARDAgent Ready******
    Sep 5 18:39:18 CCSD-Student-2ae71e ARDAgent [91]: Exiting because bind error is not EADDRINUSE.
    Sep 5 18:39:18 CCSD-Student-2ae71e com.apple.launchd[85] (com.apple.RemoteDesktop.agent[91]): Stray process with PGID equal to this dead job: PID 95 PPID 1 AppleVNCServer
    Sep 5 18:39:18 CCSD-Student-2ae71e com.apple.launchd[85] (com.apple.RemoteDesktop.agent): Throttling respawn: Will start in 7 seconds
    Sep 5 18:39:20 CCSD-Student-2ae71e /System/Library/CoreServices/coreservicesd[43]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(ccsd's Public Folder) returned -14135
    Sep 5 18:39:20 CCSD-Student-2ae71e /System/Library/CoreServices/coreservicesd[43]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(Jared Grieve's Public Folder) returned -14135
    Sep 5 18:39:21 CCSD-Student-2ae71e Dock[96]: Could not create a directory for <DOCKFolderTile: 0x81fe00> error = Error Domain=NSOSStatusErrorDomain Code=-35 "Operation could not be completed. (OSStatus error -35.)" (no such volume)
    Sep 5 18:39:26 CCSD-Student-2ae71e ARDAgent [114]: ******ARDAgent Launched******
    Sep 5 18:39:26 CCSD-Student-2ae71e ARDAgent [114]: ******ARDAgent Ready******
    While it appears to lapse 2+ minutes from the log, we are able to boot and login in under 1 min, its fast enough I haven't bothered to time it.
    *+_Directory Service Log:_+*
    2008-09-08 18:11:08 AKDT - T[0xA015AFA0] - Shutting down DirectoryService...
    2008-09-08 18:11:31 AKDT - T[0xA015AFA0] -
    2008-09-08 18:11:31 AKDT - T[0xA015AFA0] - DirectoryService 5.4 (v514.21) starting up...
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <Cache>, Version <1.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <Configure>, Version <3.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <Local>, Version <1.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <LDAPv3>, Version <3.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <Search>, Version <3.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin <BSD>, Version <2.0>, processed successfully.
    2008-09-08 18:11:31 AKDT - T[0xB030B000] - Registered node /Configure
    2008-09-08 18:11:31 AKDT - T[0xB030B000] - Plug-in Configure state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB040F000] - Plug-in LDAPv3 state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB0513000] - Registered Locally Hosted Node /BSD/local
    2008-09-08 18:11:31 AKDT - T[0xB0513000] - Registered node /BSD/local
    2008-09-08 18:11:31 AKDT - T[0xB0513000] - Plug-in BSD state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB038D000] - Registered Locally Hosted Node /Local/Default
    2008-09-08 18:11:31 AKDT - T[0xB038D000] - Registered node /Local/Default
    2008-09-08 18:11:31 AKDT - T[0xB038D000] - Plug-in Local state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB0491000] - Registered node /Search
    2008-09-08 18:11:31 AKDT - T[0xB0491000] - Registered node /Search/Contacts
    2008-09-08 18:11:31 AKDT - T[0xB0491000] - Registered node /Search/Network
    2008-09-08 18:11:31 AKDT - T[0xB0491000] - Plug-in Search state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB040F000] - Local Plugin - index passed integrity check
    2008-09-08 18:11:31 AKDT - T[0xB0289000] - BSD Plugin - index passed integrity check
    2008-09-08 18:11:31 AKDT - T[0xB0289000] - Registered node /Cache
    2008-09-08 18:11:31 AKDT - T[0xB0289000] - Plug-in Cache state is now active.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin "Active Directory", Version "1.6.2", is set to load lazily.
    2008-09-08 18:11:31 AKDT - T[0xB0185000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
    I particularily like the part about AD and Password Server being "set to load lazily"... trust me I didn't set anything on the server to be lazy intentionally. Hopefully this is enough info for someone with some more experience with log files to make sense of it all. TIA
    Jared

    Hi jzahra, I have experienced this behaviour. As your users report booting at home used to result in blue screen, also working wired would do it too. I worked around it by one of these( sorry it was a while ago) 1,logged in on work networksite and then took off-site changed network via airport menu.2,Booted and let sit overnight -as it did finally get to the login screen. I did have a couple of archive and installs and an install between these issues. You could also try turning airport off while on site and log off and login with profile recently cached and airport still off.
    Hope this helps.
    Cheers.

  • Fonts issue on 10g Reports (Linux)

    A while back I posted some questions about installing fonts on Linux RHEL 5.
    Currently, I'm in process of upgrading Client/Server Forms/Reports from 6i on a Windows platforms to 10g forms/reports on a Linux RHEL5 platform. No database is installed on the server since we are using the TNSNames in the Network Admin to connect to the database.
    I have been able to convert all forms and all reports to 10g. I had an issue with the Arial, Arial Narrow, and Courier New fonts not displaying in output when I generated a PDF file via the screen using the WEB.SHOW_DOCUMENT command. The fonts were translating. I was able to use Metalink Note 261879.1 and run the scripts to generate the AFM files and copy the TTF fonts to the appropriate directories. When I run the reports in 10g on Linux, those 3 fonts display just fine.
    However, I have 3 other fonts (Monotype Sorts, Arial Unicode MS, and one of Barcode fonts) that I need to get working. I've worked with Oracle Support and I'll be honest, the steps they are telling me either aren't very clear or just flat out aren't right.
    I've tried on Windows to use the ttf2pt1 program to generate the AFM files and copied those up to guicommon/tk/admin/AFM directory. I've copied the TTF file up to the associated directory. I've modified the uifont.ali directory to include the font, to no success.
    Has anyone tried to move a Windows font up to Linux (Unix) and got it to work successfully? If so, could you provide me some steps? I've really been trying to get this to work and would do anything at this point to get it to work. I've got about 5 reports that use these 3 fonts and if I get them working, I'm done.
    Please provide good detail, if possible. Oracle Support has just confused me more by providing notes to read and little tidbits here and there but haven't given me something that works in a straightforward manner.
    Chris

    My uifont.ali:
    # Corrected uifont.ali - Matt Jernigan, Brown University, 31 MAR 2010
    # Corrected [ Global ] aliasing standard Windows fonts.
    # Corrected [ PDF:Subset ] Arial Unicode MS and less standard fonts.
    # Note: These corrections do not necessarily match Oracle docs.
    # 05 APR 2010 - Decided to subset Arial, Arial Narrow, Courier New,
    # and Times New Roman in addition to Arial Unicode MS due to lack of
    # support of UTF-8 in Oracle's PDF engine at this time.  A charset
    # conversion feature for specific fonts would be nice but nothing was
    # found that was working such as arial.....=helvetica.....WE8ISO8859P1
    # $Header: uifont.ali@@/main/22 \
    # Checked in on Tue Jan  8 15:32:42 PST 2002 by idc \
    # Copyright (c) 1999, 2004, Oracle. All rights reserved. 
    # $
    # $Revision: tk2/admin/uifont.ali#0 $
    # Copyright (c) 1994, 2004, Oracle. All rights reserved. 
    #  All Rights Reserved.
    # DESCRIPTION:
    # Each line is of the form:
    #     <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet> = \
    #                      <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet>
    # The <Face> must be the name (string/identifier) of a font face.  The
    # <Style>, <Weight>, <Width>, and <CharSet> may either be a numeric
    # value or a predefined identifier/string.  For example, both US7ASCII
    # and 1 are valid <CharSet> values, and refer to the same character set.
    # The <Size> dimension must be an explicit size, in points.
    # The following is a list of recognized names and their numeric
    # equivalents:
    #     Styles                Numeric value
    #       Plain                      0
    #       Italic                     1
    #       Oblique                    2
    #       Underline                  4
    #       Outline                    8
    #       Shadow                    16
    #       Inverted                  32
    #       Overstrike                64
    #       Blink                    128
    #     Weights               Numeric value
    #       Ultralight                 1
    #       Extralight                 2
    #       Light                      3
    #       Demilight                  4
    #       Medium                     5
    #       Demibold                   6
    #       Bold                       7
    #       Extrabold                  8
    #       Ultrabold                  9
    #     Widths                Numeric value
    #       Ultradense                 1
    #       Extradense                 2
    #       Dense                      3
    #       Semidense                  4
    #       Normal                     5
    #       Semiexpand                 6
    #       Expand                     7
    #       Extraexpand                8
    #       Ultraexpand                9
    # Styles may be combined; you can use plus ("+") to delimit parts of a
    # style.  For example,
    #        Arial..Italic+Overstrike = Helvetica.12.Italic.Bold
    # are equivalent, and either one will map any Arial that has both Italic
    # and Overstrike styles to a 12-point, bold, italic Helvetica font.
    # All strings are case-insensitive in mapping.  Font faces are likely to
    # be case-sensitive on lookup, depending on the platform and surface, so
    # care should be taken with names used on the right-hand side; but they
    # will be mapped case-insensitively.
    # See your platform documentation for a list of all supported character
    # sets, and available fonts.
    # BUGS:
    #    o Should accept a RHS ratio (e.g., "Helv = Arial.2/3").
    #===============================================================
    [ Global ]  # Put mappings for all surfaces here.
    # Mapping from MS Windows
    #MJJ# - Unix apparently lowercases what it reads from the Report
    # and this case must be corrected.
    # Arial = Helvetica will not work. Likely due to Oracle not supporting
    # Regular as a weight such as Arial...Regular = Helvetica...Medium
    #arial               = Arial
    #"arial narrow"      = "Arial Narrow"
    #"courier new"       = "Courier New"
    #"times new roman"   = "Times New Roman"
    "ms sans serif"         = "MS Sans Serif"
    "microsoft sans serif"  = "Microsoft Sans Serif"
    # Note: I'm not providing AFM files for the Sans Serifs.  I'll let
    # the engine do with them as it sees fit.  Best to avoid use of them.
    # Arial Narrow is not really standard enough to be included here
    # so limit use to clients that are known to have it installed.
    # Consider moving Arial Narrow TTF's to the server and subsetting it.
    #MJJ# - Alternative mappings to the above. The PDF engine appears to
    # take liberty with mapping Courier New to Courier and Times New Roman
    # to Times and, if wanted, these mappings appeared to correct this
    # behavior.  Note: not thoroughly tested.  Changing the AFM files
    # from CourierNewPS to CourierNew and such may produce more compatible
    # results on Mac (just a guess) -- though leaving at Courier would be
    # most compatible.
    #arial..Italic.Bold..                = "Arial-BoldItalicMT"..Italic.Bold..
    #arial...Bold..                      = "Arial-BoldMT"...Bold..
    #arial..Italic...                    = "Arial-ItalicMT"..Italic...
    #arial                               = "ArialMT"
    #"courier new"..Italic.Bold..        = "CourierNewPS-BoldItalicMT"..Italic.Bold..
    #"courier new"...Bold..              = "CourierNewPS-BoldMT"...Bold..
    #"courier new"..Italic...            = "CourierNewPS-ItalicMT"..Italic...
    #"courier new"                       = "CourierNewPSMT"
    #"times new roman"..Italic.Bold..    = "TimesNewRomanPS-BoldItalicMT"..Italic.Bold..
    #"times new roman"...Bold..          = "TimesNewRomanPS-BoldMT"...Bold..
    #"times new roman"..Italic...        = "TimesNewRomanPS-ItalicMT"..Italic...
    #"times new roman"                   = "TimesNewRomanPSMT"
    # Mapping from Macintosh
    #"New Century Schlbk" = "new century schoolbook"
    #"New York"        = times
    #geneva            = helvetica
    #===============================================================
    [ Printer ]  # Put mappings for all printers here.
    #===============================================================
    [ Printer:PostScript1 ]  # Put mappings for PostScript level 1 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC      = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS      = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC  = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS  = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    Roman             = palatino
    Script            = "itc zapf chancery"
    FixedSys          = courier
    System            = helvetica
    # Mapping from Macintosh
    "Avant Garde"     = "itc avant garde gothic"
    # Mapping from Motif display
    fixed             = courier
    clean             = times
    lucidatypewriter  = courier
    lucidabright      = times
    #===============================================================
    [ Printer:PostScript2 ]  # Put mappings for PostScript level 2 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC      = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS      = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC  = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS  = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    Roman             = palatino
    Script            = "itc zapf chancery"
    FixedSys          = courier
    System            = helvetica
    # Mapping from Macintosh
    "Avant Garde"     = "itc avant garde gothic"
    # Mapping from Motif display
    fixed             = courier
    clean             = times
    lucidatypewriter  = courier
    lucidabright      = times
    #===============================================================
    [ Printer:PCL5 ]  # Put mappings for PCL 5 printers here.
    helvetica         = univers
    times             = "cg times"
    clean             = "antique olv"
    fixed             = courier
    lucida            = univers
    lucidabright      = "cg times"
    lucidatypewriter  = courier
    "new century schoolbook" = univers
    terminal          = "line printer"
    #===============================================================
    [ Display ]  # Put mappings for all display surfaces here.
    #===============================================================
    [ Display:Motif ]  # Put mappings for Motif displays here
    # Fix for bug no 778937 DO NOT MOVE!
    Roman.....sjis    = lucida.....jeuc
    Script.....sjis   = lucidabright.....jeuc
    FixedSys.....sjis = fixed.....jeuc
    System.....sjis   = lucida.....jeuc
    .....sjis         = .....jeuc
    # Mapping from MS Windows
    Roman             = lucida
    Script            = lucidabright
    FixedSys          = fixed
    System            = lucida
    # Mapping from Macintosh
    "Avant Garde"     = helvetica
    "Bookman"         = times
    #===============================================================
    [ Display:CM ]     # Put mappings for all CM displays here.
    # These are DEC-specific, and may need localization
    *..Blink          = Blinking
    *..Inverted+Underline.Bold = ReverseBoldUnderline
    *..Inverted+Underline.     = UnderlineReverse
    *..Underline.Bold = UnderlineBold
    *..Inverted.Bold  = ReverseBold
    *...Bold          = Bold
    *..Underline      = Underline
    *..Inverted       = Reverse
    *                 = Plain                # The font of last resort
    #===============================================================
    # Oracle Report PDF sections
    # Three new sections have been added:
    # [ PDF ]         - Used for font aliasing and Multibyte language support
    # [ PDF:Embed ]   - Used for Type 1 font embedding
    # [ PDF:Subset ]  - Used for True Type Font subsetting
    # NOTES ON PRECEDENCE OF PDF SECTIONS:
    # If you have entries for a same font in many PDF sections, then Font
    # Aliasing entry will take precedence over Font Subsetting entry. Entries
    # in Font Subsetting will take precedence over the entries in Font Embedding
    # section.
    # Generic entries for a font must follow more specific entries for the same
    # font.  For instance, if you want to subset helvetica Plain, helvetica Bold,
    # helvetica Italic and helvetica Bold-Italic fonts, your entries must be:
    # [ PDF:Subset ]
    # helvetica..Italic.Bold.. = "Arialbi.ttf"
    # helvetica...Bold..       = "Arialb.ttf"
    # helvetica..Italic...     = "Ariali.ttf"
    # helvetica.....           = "Arial.ttf"
    # If helvetica..... entry appears in the top of the list, all the styles of
    # helvetica font in the layout will be subset as helvetica Plain font.
    [ PDF ]
    # This example shows how to rename helvetica font to Courier font
    # helvetica = Courier
    # You can Alias specific styles of font as below
    # helvetica.12..Bold.. = Courier.14....
    # "Lucida Bright".12..Bold = "New Century Schoolbook"
    # Support for Far Eastern Languages:
    # PDF section can be additionally used to enable Multibyte language support
    # built into Reports.  To use this feature with Adobe (r) Acrobat (c), you
    # need to install the Asian font pack available online at the Adobe web site.
    # .....SJIS = "HeiseiKakuGo-W5-Acro"
    # A Japanese report run with Shift-JIS character set is replaced to
    # HeiseiKakuGo-W5-Acro CID font.
    [ PDF:Embed ]
    # This example shows how to embed Type 1 helvetica font into the PDF file:
    # helvetica = "helvetica.afm helvetica.pfa"
    # You need to specify the .afm file before the .pfa file.
    # The font files must exist in one of the folders specified in REPORTS_PATH.
    [ PDF:Subset ]
    # This example shows how to subset Arial True Type font into the PDF file:
    # helvetica = "Arial.ttf"
    # The True Type font files must exist in any one of the folders specified in
    # REPORTS_PATH.
    # Subsetting TrueType Collection fonts:
    # Typically, a TTC font contains several fonts in one file. For example,
    # the TTC file, msgothic.ttc consists of three fonts in the order -
    # MS Gothic, MS PGothic and MS UI Gothic. To subset MS PGothic, the
    # entry in the PDF:Subset section of uifont.ali would be:
    # "MS PGothic" = "msgothic.ttc,1"
    #MJJ# - Removed old subset mappings.
    "arial unicode ms".....             = "ARIALUNI.TTF"
    arial..Italic.Bold..                = "arialbi.ttf"
    arial...Bold..                      = "arialbd.ttf"
    arial..Italic...                    = "ariali.ttf"
    arial                               = "arial.ttf"
    "arial narrow"..Italic.Bold..       = "arialnbi.ttf"
    "arial narrow"...Bold..             = "arialnb.ttf"
    "arial narrow"..Italic...           = "arialni.ttf"
    "arial narrow"                      = "arialn.ttf"
    "courier new"..Italic.Bold..        = "courbi.ttf"
    "courier new"...Bold..              = "courbd.ttf"
    "courier new"..Italic...            = "couri.ttf"
    "courier new"                       = "cour.ttf"
    "times new roman"..Italic.Bold..    = "timesbi.ttf"
    "times new roman"...Bold..          = "timesbd.ttf"
    "times new roman"..Italic...        = "timesi.ttf"
    "times new roman"                   = "times.ttf"
    tahoma...Bold..                     = "tahomabd.ttf"
    tahoma.....                         = "tahoma.ttf"
    # Tahoma is a narrower adaption of Verdana more appropriate for print.
    # Tahoma also has more charsets such as Arabic, Hebrew and Thai.
    # No italics.  Verdana and Tahoma were designed for screen anyhow.
    #MJJ# Miscellaneous Notes:
    # oracle::devlpar4:/u01/app/oracle/Forms1/fonts
    # ARIALUNI.TTF  arialbd.ttf   courbd.ttf    tahomabd.ttf  verdana.ttf
    # arial.ttf     cour.ttf      tahoma.ttf    times.ttf
    # PFA's might be found here: /usr/lib/X11/fonts/type1
    My screenprinter.ppd:
    *% Corrected screenprinter.ppd - Matt Jernigan, Brown U, 31 MAR 2010
    *% Reverted baseline from hp4mp6_1.ppd back to datap462.ppd (Oracle's
    *% default).  Added Arial, Arial Narrow, Arial Unicode MS, Courier New,
    *% Tahoma, and Times New Roman.
    *% 05 APR 2010 - ArialUnicodeMS wants to be before the other Arials
    *% for some unknown reason, else it is not found for subsetting.
    *PPD-Adobe: "4.0"
    *% Adobe Systems PostScript(R) Printer Description File
    *% Copyright 1987-1992 Adobe Systems Incorporated.
    *% All Rights Reserved.
    *% Permission is granted for redistribution of this file as
    *% long as this copyright notice is intact and the contents
    *% of the file is not altered in any way from its original form.
    *% End of Copyright statement
    *FormatVersion: "4.0"
    *FileVersion: "3.1"
    *PCFileName: "DATAP462.PPD"
    *LanguageVersion: English
    *Product: "(Dataproducts LZR 2665)"
    *PSVersion: "(46.2) 1"
    *ModelName: "Dataproducts LZR-2665"
    *NickName: "Dataproducts LZR-2665 v46.2"
    *% ==== Options and Constraints =====
    *OpenGroup: InstallableOptions/Options Installed
    *OpenUI *Option1/Optional Lower Tray: Boolean
    *DefaultOption1: False
    *Option1 True/Installed: ""
    *Option1 False/Not Installed: ""
    *CloseUI: *Option1
    *CloseGroup: InstallableOptions
    *UIConstraints: *Option1 False *InputSlot Lower
    *% General Information and Defaults ===============
    *ColorDevice: False
    *DefaultColorSpace: Gray
    *FreeVM: "178744"
    *LanguageLevel: "1"
    *VariablePaperSize: False
    *FileSystem: False
    *Throughput: "26"
    *Password: "0"
    *ExitServer: "
      count 0 eq {  % is the password on the stack?
        true
        dup    % potential password
        statusdict /checkpassword get exec not
      } ifelse
      {  %  if no password or not valid
        (WARNING : Cannot perform the exitserver command.) =
        (Password supplied is not valid.) =
        (Please contact the author of this software.) = flush
        quit
      } if
      serverdict /exitserver get exec
    *End
    *Reset: "
      count 0 eq {  % is the password on the stack?
        true
        dup    % potential password
        statusdict /checkpassword get exec not
      } ifelse
      {  %  if no password or not valid
        (WARNING : Cannot reset printer.) =
        (Password supplied is not valid.) =
        (Please contact the author of this software.) = flush
        quit
      } if
      serverdict /exitserver get exec
      systemdict /quit get exec
      (WARNING : Printer Reset Failed.) = flush
    *End
    *DefaultResolution: 300dpi
    *?Resolution: "
    save
      initgraphics
      0 0 moveto currentpoint matrix defaultmatrix transform
      0 72 lineto currentpoint matrix defaultmatrix transform
      3 -1 roll sub dup mul
      3 1 roll exch sub dup mul
      add sqrt round cvi
      (          ) cvs print (dpi) = flush
    restore
    *End
    *% Halftone Information ===============
    *ScreenFreq: "50.0"
    *ScreenAngle: "54.0"
    *DefaultScreenProc: Dot
    *ScreenProc Dot: " {dup mul exch dup mul add sqrt 1 exch sub } "
    *ScreenProc Line: "{ pop }"
    *ScreenProc Ellipse: "
    { dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
    *End
    *DefaultTransfer: Null
    *Transfer Null: "{ }"
    *Transfer Null.Inverse: "{ 1 exch sub }"
    *% Paper Handling ===================
    *% Use these entries to set paper size most of the time, unless there is
    *% specific reason to use PageRegion.
    *OpenUI *PageSize: PickOne
    *OrderDependency: 30 AnySetup *PageSize
    *DefaultPageSize: Letter
    *PageSize Letter: "statusdict /lettertray get exec letterR"
    *PageSize Letter.Transverse: "statusdict /lettertray get exec letter"
    *PageSize Legal: "statusdict /legaltray get exec"
    *PageSize Ledger: "statusdict /ledgertray get exec"
    *PageSize Statement: "statusdict /statementtray get exec"
    *PageSize Tabloid: "statusdict /11x17tray get exec"
    *PageSize A3: "statusdict /a3tray get exec"
    *PageSize A4: "statusdict /a4tray get exec a4R"
    *PageSize A4.Transverse: "statusdict /a4tray get exec a4"
    *PageSize A5: "statusdict /a5tray get exec"
    *PageSize B4: "statusdict /b4tray get exec"
    *PageSize B5: "statusdict /b5tray get exec b5R"
    *PageSize B5.Transverse: "statusdict /b5tray get exec b5"
    *CloseUI: *PageSize
    *% These entries will set up the frame buffer. Usually used with manual feed.
    *OpenUI *PageRegion: PickOne
    *OrderDependency: 40 AnySetup *PageRegion
    *DefaultPageRegion: Letter
    *PageRegion Letter: "letterR"
    *PageRegion Letter.Transverse: "letter"
    *PageRegion Legal: "legal"
    *PageRegion Ledger: "ledger"
    *PageRegion Tabloid: "11x17"
    *PageRegion A3: "a3"
    *PageRegion A4: "a4R"
    *PageRegion A4.Transverse: "a4"
    *PageRegion A5: "a5"
    *PageRegion B4: "b4"
    *PageRegion B5: "b5R"
    *PageRegion B5.Transverse: "b5"
    *PageRegion Statement: "statement"
    *CloseUI: *PageRegion
    *% The following entries provide information about specific paper keywords.
    *DefaultImageableArea: Letter
    *ImageableArea Letter: "20 16 591 775 "
    *ImageableArea Letter.Transverse: "18 19 593 773 "
    *ImageableArea Legal: "18 19 593 990 "
    *ImageableArea Ledger: "18 16 1205 775 "
    *ImageableArea Tabloid: "16 19 775 1206 "
    *ImageableArea A3: "18 21 823 1170 "
    *ImageableArea A4: "18 18 576 823 "
    *ImageableArea A4.Transverse: "18 19 577 823 "
    *ImageableArea A5: "18 19 401 577 "
    *ImageableArea B4: "19 15 709 1017 "
    *ImageableArea B5: "20 19 495 709 "
    *ImageableArea B5.Transverse: "20 19 495 709 "
    *ImageableArea Statement: "22 19 374 594 "
    *?ImageableArea: "
    save
      /cvp {(                ) cvs print ( ) print } bind def
      /upperright {10000 mul floor 10000 div} bind def
      /lowerleft {10000 mul ceiling 10000 div} bind def
      newpath clippath pathbbox
      4 -2 roll exch 2 {lowerleft cvp} repeat
      exch 2 {upperright cvp} repeat flush
    restore
    *End
    *% These provide the physical dimensions of the paper (by keyword)
    *DefaultPaperDimension: Letter
    *PaperDimension Letter: "612 792"
    *PaperDimension Letter.Transverse: "612 792"
    *PaperDimension Legal: "612 1008"
    *PaperDimension Ledger: "1224 792"
    *PaperDimension Tabloid: "792 1224"
    *PaperDimension A3: "842 1191"
    *PaperDimension A4: "595 842"
    *PaperDimension A4.Transverse: "595 842"
    *PaperDimension A5: "420 595"
    *PaperDimension B4: "729 1032"
    *PaperDimension B5: "516 729"
    *PaperDimension B5.Transverse: "516 729"
    *PaperDimension Statement: "396 612"
    *RequiresPageRegion All: True
    *OpenUI *InputSlot: PickOne
    *OrderDependency: 20 AnySetup *InputSlot
    *DefaultInputSlot: Upper
    *InputSlot Upper: "0 statusdict /setpapertray get exec"
    *InputSlot Lower: "1 statusdict /setpapertray get exec"
    *?InputSlot: "
    save
      [ (Upper) (Lower) ] statusdict /papertray get exec
      (get exec) stopped ( pop pop (Unknown)} if = flush
    restore
    *End
    *CloseUI: *InputSlot
    *OpenUI *ManualFeed: Boolean
    *OrderDependency: 20 AnySetup *ManualFeed
    *DefaultManualFeed: False
    *ManualFeed True: "statusdict /manualfeed true put"
    *ManualFeed False: "statusdict /manualfeed false put"
    *?ManualFeed: "
    save
      statusdict /manualfeed get {(True)}{(False)}ifelse = flush
    restore
    *End
    *CloseUI: *ManualFeed
    *DefaultOutputOrder: Reverse
    *% Font Information =====================
    *%DefaultFont: Error
    *DefaultFont: Courier
    *Font ArialUnicodeMS: Special "(Version 1.01)" Special ROM
    *Font ArialMT: Special "(Version 3.06)" Special ROM
    *Font Arial-BoldMT: Special "(Version 3.06)" Special ROM
    *Font Arial-BoldItalicMT: Special "(Version 3.06)" Special ROM
    *Font Arial-ItalicMT: Special "(Version 3.06)" Special ROM
    *Font ArialNarrow: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-Bold: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-BoldItalic: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-Italic: Special "(Version 2.40)" Special ROM
    *Font CourierNewPSMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-BoldMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-BoldItalicMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-ItalicMT: Special "(Version 2.90)" Special ROM
    *Font TimesNewRomanPSMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-BoldMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-BoldItalicMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-ItalicMT: Special "(Version 3.06)" Special ROM
    *Font Tahoma: Special "(Version 3.15)" Special ROM
    *Font Tahoma-Bold: Special "(Version 3.15)" Special ROM
    *Font Courier: Standard "(001.004)" Standard ROM
    *Font Courier-Bold: Standard "(001.001)" Standard ROM
    *Font Courier-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Courier-Oblique: Standard "(001.001)" Standard ROM
    *Font Helvetica: Standard "(001.001)" Standard ROM
    *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
    *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
    *Font Symbol: Special "(001.001)" Special ROM
    *Font Times-Bold: Standard "(001.001)" Standard ROM
    *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
    *Font Times-Italic: Standard "(001.001)" Standard ROM
    *Font Times-Roman: Standard "(001.001)" Standard ROM
    *?FontQuery: "
    save
    /str 100 string dup 0 (fonts/) putinterval def
       count 1 gt
         exch dup str 6 94 getinterval cvs
         (/) print print (:) print
         FontDirectory exch known
         {(Yes)}{(No)} ifelse =
       {exit} ifelse
    }bind loop
    (*) = flush
    restore
    *End
    *?FontList: "
    FontDirectory { pop == } bind forall flush
    (*) = flush
    *End
    *% Printer Messages (verbatim from printer):
    *Message: "%%[ exitserver: permanent state may be changed ]%%"
    *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
    *Message: "\FontName\ not found, using Courier"
    *% Status (format: %%[ status: <one of these> ]%% )
    *Status: "idle"
    *Status: "busy"
    *Status: "waiting"
    *Status: "printing"
    *Status: "warming up"
    *Status: "PrinterError: BD check"
    *Status: "PrinterError: Paper jam"
    *Status: "PrinterError: Replace toner bag"
    *Status: "PrinterError: Warming up"
    *Status: "PrinterError: Timing error"
    *Status: "PrinterError: Fuser check"
    *Status: "PrinterError: Cover opened"
    *Status: "PrinterError: Toner empty"
    *Status: "PrinterError: Empty & reset output bin(s)"
    *Status: "PrinterError: Sorter or jogger error"
    *Status: "PrinterError: Scanner check"
    *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
    *Source: "serial9"
    *Source: "serial25"
    *Source: "AppleTalk"
    *Source: "Centronics"
    *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
    *PrinterError: "BD check"
    *PrinterError: "Paper jam"
    *PrinterError: "Replace toner bag"
    *PrinterError: "Warming up"
    *PrinterError: "Timing error"
    *PrinterError: "Fuser check"
    *PrinterError: "Cover opened"
    *PrinterError: "Toner empty"
    *PrinterError: "Empty & reset output bin(s)"
    *PrinterError: "Sorter or jogger error"
    *PrinterError: "Scanner check"
    *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
    *% Color Separation Information =====================
    *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
    *InkName: ProcessBlack/Process Black
    *InkName: CustomColor/Custom Color
    *InkName: ProcessCyan/Process Cyan
    *InkName: ProcessMagenta/Process Magenta
    *InkName: ProcessYellow/Process Yellow
    *% For 60 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
    *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
    *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
    *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *% For 53 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
    *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
    *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
    *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
    *% For "Dataproducts LZR 2665" version 46.2
    *% Produced by "GETapd.ps" version 2.0 edit 47
    *% Converted to meet 4.0 specification
    *% Last Edit Date: Sep 15 1992
    *% The byte count of this file should be exactly 011228 or 011572
    *% depending on the filesystem it resides in.
    *% end of PPD file for Dataproducts LZR 2665

  • PHP ldap_search against DS 5.2

    We are switching from NIS to LDAP using Sun One Directory server 5.2.
    I have to convert all our web PHP login scripts that are NIS based to LDAP.
    I'm having difficult time just trying to do simple ldap_search, always coming up with "No such object in test.php on line 19. Below is the php code:
    <?php
    $info = array("userPassword","homeDirectory");
    $rdn = "cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu";
    $rdnPass = "password";
    $basedn = "ou=People,cn=engr,cn=colostate,cn=edu";
    $filter = "(uid=joeblow)";
    $ds = ldap_connect("ldap.server.ip.here");
    if (!$ds) {
    print "System Error";
    exit(0);
    $bind = ldap_bind($ds, $rdn, $rdnPass);
    if (!$bind) {
    print "System bind error";
    exit(0);
    $sr = ldap_search($ds, $basedn, $filter, $info);
    if (!$sr) {
    print "Ldap_search failed\n";
    else {
    $info = ldap_get_entries($ds, $sr);
    print $info["count"]." entries returned\n";
    ldap_close($ds);
    ?>
    Here are logs for the DS server:
    [27/Apr/2007:12:46:06 -0600] conn=108 op=-1 msgId=-1 - fd=38 slot=38 LDAP connection from 129.82.xxx.xx to 129.82.xxx.xxx
    [27/Apr/2007:12:46:06 -0600] conn=108 op=0 msgId=1 - BIND dn="cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu" method=128 version=2
    [27/Apr/2007:12:46:06 -0600] conn=108 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu"
    [27/Apr/2007:12:46:06 -0600] conn=108 op=1 msgId=2 - SRCH base="ou=people,cn=engr,cn=colostate,cn=edu" scope=2 filter="(uid=joeblow)" attrs="userPassword homeDirectory"
    [27/Apr/2007:12:46:06 -0600] conn=108 op=1 msgId=2 - RESULT err=32 tag=101 nentries=0 etime=0
    [27/Apr/2007:12:46:06 -0600] conn=108 op=2 msgId=3 - UNBIND
    [27/Apr/2007:12:46:06 -0600] conn=108 op=2 msgId=-1 - closing - U1
    [27/Apr/2007:12:46:06 -0600] conn=108 op=-1 msgId=-1 - closed.
    I've tried compiling PHP against openLDAP and the native ldap libraries on Solaris 10 in /usr/lib. But get same error regardless. Any ideas what I'm doing wrong in the code?
    And yes, uid joeblow does exist in LDAP.
    client1 % ldaplist -l passwd joeblow
    dn: uid=joeblow,ou=people,dc=engr,dc=colostate,dc=edu
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: account
    objectClass: top
    uid: joeblow
    cn: joeblow
    uidNumber: 902
    gidNumber: 66
    gecos: Average User test acct,,,
    homeDirectory: /top/students/UNGRAD/ES/joeblow/home
    loginShell: /bin/csh
    Thanks...

    Well this is what I've found:
    client1 % ldaplist -lv passwd joeblow
    +++ database=passwd
    +++ filter=(&(objectclass=posixaccount)(uid=joeblow))
    +++ template for merging SSD filter=(&(%s)(uid=joeblow))
    dn: uid=joeblow,ou=people,dc=engr,dc=colostate,dc=edu
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: account
    objectClass: top
    uid: joeblow
    cn: joeblow
    uidNumber: 902
    gidNumber: 66
    gecos: Average User test acct,,,
    homeDirectory: /top/students/UNGRAD/ES/joeblow/home
    loginShell: /bin/csh
    userPassword: {crypt}BaGUMuiwsdfdsf
    Log file:
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=-1 msgId=-1 - fd=56 slot=56 LDAPS connection from 129.82.232.129 to 129.82.224.33
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=-1 msgId=-1 - SSL 128-bit RC4
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=0 msgId=1 - BIND dn="cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu" method=128 version=3
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu"
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=1 msgId=2 - SRCH base="ou=people,dc=engr,dc=colostate,dc=edu" scope=1 filter="(&(objectClass=posixaccount)(uid=joeblow))" attrs=ALL
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=2 msgId=3 - UNBIND
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=2 msgId=-1 - closing - U1
    [30/Apr/2007:09:30:15 -0600] conn=12153 op=-1 msgId=-1 - closed.
    So okay, try the ldapsearch command:
    client1 % ldapsearch -h ldap2 -b "ou=People,cn=engr,cn=colostate,cn=edu" -D "cn=proxy,ou=profile,dc=engr,dc=colostate,dc=edu" -w password "(&(objectClass=posixaccount)(uid=joeblow))"
    ldap_search: No such object
    I'm starting to pull my hair out now!!!

  • [i3] urxvt has black borders...

    Hi there
    I'm trying out the i3 window manager and it seems to be quite nice except for one little thing that is driving me mad.
    urxvt always appears with some black borders around it and I don't know how to remove them.
    I really can't understand if the responsible for this behaviour is i3 or urxvt but I noticed that:
    - the empty space at the bottom is black too even if I use 'xsetroot -solid "1A1A1A" in my .xinitrc
    - the same .Xdefaults in wmii works perfectly without black borders at all.
    Is anyone able to help me? Any hint would be much appreciated.
    I'm attaching some files that may be important to solve the issue:
    ~/.xinitrc
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    # exec gnome-session
    # exec startkde
    # exec startxfce4
    # ...or the Window Manager of your choice
    # add terminus and dina fonts to xfontsel
    xset +fp /usr/share/fonts/local
    # set background and wallpaper
    xsetroot -solid "#1A1A1A"
    feh --bg-scale /home/rent0n/.wallpapers/archlinux-zenburn-wide-grey.jpg
    # start window manager
    exec i3
    # exec wmii
    # exec dwm
    ~/.Xdefaults:
    ! urxvt
    urxvt.title: urxvt
    urxvt.background: #1A1A1A
    urxvt.foreground: #999999
    urxvt.cursorColor: #5E468C
    urxvt.borderColor: #1A1A1A
    urxvt.borderless: false
    urxvt.internalBorder: 3
    urxvt.externalBorder: 3
    urxvt.scrollBar: false
    !urxvt.font: -misc-fixed-medium-r-*--12-*-*-*-*-*-iso10646-1
    !urxvt.boldFont: -misc-fixed-medium-r-*--12-*-*-*-*-*-iso10646-1
    urxvt.font: xft:terminus:pixelsize=12
    urxvt.boldFont: xft:terminus:bold:pixelsize=12
    ! colors
    !black
    *color0: #333333
    *color8: #3D3D3D
    !red
    *color1: #8C4665
    *color9: #BF4D80
    !green
    *color2: #287373
    *color10: #53A6A6
    !yellow
    *color3: #7C7C99
    *color11: #9E9ECB
    !blue
    *color4: #395573
    *color12: #477AB3
    !magenta
    *color5: #5E468C
    *color13: #7E62B3
    !cyan
    *color6: #31658C
    *color14: #6096BF
    !white
    *color7: #899CA1
    *color15: #C0C0C0
    ~/.i3/config
    # This configuration uses Mod1 and Mod4. Make sure they are mapped properly using xev(1)
    # and xmodmap(1). Usually, Mod1 is Alt (Alt_L) and Mod4 is Windows (Super_L)
    # ISO 10646 = Unicode
    # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    # font -misc-fixed-medium-r-*--12-*-*-*-*-*-iso10646-1
    font -xos4-terminus-bold-r-*--12-*-*-*-*-*-iso10646-1
    # Use Mouse+Mod4 to drag floating windows to their wanted position
    floating_modifier Mod4
    # Fullscreen (Mod4+f)
    bind Mod4+41 f
    # Stacking (Mod4+r)
    bind Mod4+27 s
    # Tabbed (Mod4+w)
    bind Mod4+25 T
    # Default (Mod4+e)
    bind Mod4+26 d
    # Toggle tiling/floating of the current window (Mod4+Shift+Space)
    bind Mod4+Shift+65 t
    # Go into the tiling layer / floating layer, depending on whether
    # the current window is tiling / floating (Mod4+t)
    bind Mod4+28 focus ft
    # Focus (Mod4+j/k/l/;)
    bind Mod4+43 h
    bind Mod4+44 j
    bind Mod4+45 k
    bind Mod4+46 l
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Left h
    bindsym Mod4+Down j
    bindsym Mod4+Up k
    bindsym Mod4+Right l
    # Focus Container (Mod1+Mod4+j/k/l/;)
    bind Mod1+Mod4+43 wch
    bind Mod1+Mod4+44 wcj
    bind Mod1+Mod4+45 wck
    bind Mod1+Mod4+46 wcl
    # (alternatively, you can use the cursor keys:)
    bindsym Mod1+Mod4+Left wch
    bindsym Mod1+Mod4+Down wcj
    bindsym Mod1+Mod4+Up wck
    bindsym Mod1+Mod4+Right wcl
    # Snap (Mod4+Control+j/k/l/;)
    bind Mod4+Control+43 sh
    bind Mod4+Control+44 sj
    bind Mod4+Control+45 sk
    bind Mod4+Control+46 sl
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Control+Left sh
    bindsym Mod4+Control+Down sj
    bindsym Mod4+Control+Up sk
    bindsym Mod4+Control+Right sl
    # Move (Mod4+Shift+j/k/l/;)
    bind Mod4+Shift+43 mh
    bind Mod4+Shift+44 mj
    bind Mod4+Shift+45 mk
    bind Mod4+Shift+46 ml
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Shift+Left mh
    bindsym Mod4+Shift+Down mj
    bindsym Mod4+Shift+Up mk
    bindsym Mod4+Shift+Right ml
    # Move Container (Mod1+Mod4+Shift+j/k/l/;)
    bind Mod1+Mod4+Shift+43 wcmh
    bind Mod1+Mod4+Shift+44 wcmj
    bind Mod1+Mod4+Shift+45 wcmk
    bind Mod1+Mod4+Shift+46 wcml
    # Workspaces (Mod4+1/2/…)
    bind Mod4+10 1
    bind Mod4+11 2
    bind Mod4+12 3
    bind Mod4+13 4
    bind Mod4+14 5
    bind Mod4+15 6
    bind Mod4+16 7
    bind Mod4+17 8
    bind Mod4+18 9
    bind Mod4+19 10
    # Move to Workspaces
    bind Mod4+Shift+10 m1
    bind Mod4+Shift+11 m2
    bind Mod4+Shift+12 m3
    bind Mod4+Shift+13 m4
    bind Mod4+Shift+14 m5
    bind Mod4+Shift+15 m6
    bind Mod4+Shift+16 m7
    bind Mod4+Shift+17 m8
    bind Mod4+Shift+18 m9
    bind Mod4+Shift+19 m10
    # Mod4+Enter starts a new terminal
    bind Mod4+36 exec /usr/bin/urxvt
    # Mod4+Shift+q kills the current client
    bind Mod4+Shift+24 kill
    # Mod4+v starts dmenu and launches the selected application
    # for now, we don't have a launcher of our own.
    bind Mod4+55 exec /usr/bin/dmenu_run -i -fn -xos4-terminus-bold-r-*--12-*-*-*-*-*-iso10646-1 -nb \#1A1A1A -nf \#999999 -sb \#1A1A1A -sf \#31658C
    # Mod4+Shift+e exits i3
    bind Mod4+Shift+26 exit
    # Mod4+Shift+r restarts i3 inplace
    bind Mod4+Shift+27 restart
    # The IPC interface allows programs like an external workspace bar
    # (i3-wsbar) or i3-msg (can be used to "remote-control" i3) to work.
    ipc-socket ~/.i3/ipc.sock
    # 1-pixel Border
    new_window bp
    # Colors
    # class border background text
    client.focused #999999 #999999 #1A1A1A
    client.focused_inactive #1A1A1A #1A1A1A #999999
    client.unfocused #1A1A1A #1A1A1A #999999
    client.urgent #31658C #31658C #999999
    bar.focused #999999 #1A1A1A #999999
    bar.unfocused #1A1A1A #1A1A1A #999999
    bar.urgent #31658C #1A1A1A #999999
    # Workspaces
    workspace 1 main
    workspace 2 www
    workspace 3 mail
    workspace 4 misc
    Thank you very much.

    rent0n wrote:I'm forced to move to wmii then, even if it hasn't all the nice features of i3 and configuring it it's quite a mess, at least it seems to manage urxvt perfectly...
    You will most probably have those borders in wmii, too. I have them.
    It really is an urxvt issue. There is something in the manpages about it, I think (not sure).
    I doesn't bother me too much so I just left them there.

  • How do I execute "Select count(*) from table " in OCI

    Hi,
    I am new to OCI and so this question may seem stupid. I would like to know how to execute the query "select count(*) from <table>" using OCI V8 functionality? Also after how do I get the result into a integer datatype? I have gone through most of the demo programs but is is of little help to me.
    Thanks in advance...
    Regards,
    Shubhayan.

    Hi,
    Here is sample code to give you some idea how to do it. If you want some more info let me know.
    Pankaj
    ub4 count;
    // Prepare the statement.
    char szQry = "SELECT count() FROM T1";
    if(OCI_ERROR == OCIStmtPrepare(pStmthp, pErrhp, (unsigned char*)szQry, strlen(szQry), OCI_NTV_SYNTAX , OCI_DEFAULT) )
         cout << "Error in OCIStmtPrepare" << endl;
         exit(1);
    // Bind the output parameter.
    OCIDefine *pDefnpp;
    if(OCI_ERROR == OCIDefineByPos ( pStmthp, &pDefnpp, pErrhp, 1,
    &count, sizeof(ub4), SQLT_INT,
    (dvoid *) 0, (ub2 *) 0, (ub2 *) 0,
                        OCI_DEFAULT) )
         cout << "Error in OCIDefineByPos" << endl;
         exit(1);
    if(OCI_ERROR == OCIStmtExecute(pSvchp, pStmthp, pErrhp, 1, 0, NULL, NULL, OCI_DEFAULT) )
         cout << "Error in OCIStmtExecute" << endl;
         exit(1);

  • Windows code for Ctrl+Q in Oracle Terminal

    Hello!
    We use Forms6i and Windows 95 OS and
    in our forms people usually use CapsLock
    to type info in upper case and some times
    they can't use Exit button (Ctrl+q) because of this. That is why we would like to create
    another one Key Binding Definition in Oracle Terminal with Action "Exit" and Binding
    "Contol+Q". Did anybody try to define repeated Actions? Is it possible? And,
    actually, the main quesion is - where can we
    find windows codes for different combinations of keys?
    Any help will be greatly appreciated!
    Thank you in advance,
    Andrew.

    Andrew,
    You don't need any window codes to do this.
    Just do the following:
    a) run Oracle Terminal (you'll have to do a Custom Install if you don't have it installed.
    b) open %ORACLE_HOME%\forms60\fmrusw.res
    c) Choose Functions->Edit Keys.
    d) Doubleclick the "Runform" circle.
    e) Click in the "Exit" line.
    f) Click the "Duplicate Row" button.
    g) Change Control+q to Control+Q.
    h) Ok, OK, Functions->Generate.
    i) File->Save, File->Exit.
    And if you were running Forms6i on the Web, it would be much simpler (the res file for Web is an ascii file).
    Hope this helps,
    Pedro

  • The i3 thread

    I plagiarized the thread name from the thread below "the wmii thread" -- well because i3 was inspired by wmii, so I thought getting inspiration from the wmii thread would be apt.
    I recently started using i3, because the tiler I was using until now, couldn't handle multiple monitors.
    In any case, I have a few questions :
    1) How can I run conky in i3? When I do a exec conky in the config file, i get nothing, maybe my conky is being hidden by the internal bar, which I tried disabling, but I still don't see anything.
    Running exec conky | dzen2 does show me the conky, but doesn't use the colors or fonts that I have in my .conkyrc. It could also be because I am not too familiar with dzen
    2) Musca allowed padding the workspaces
    pad 0 0 0 16
    which could be then used to display conky at the bottom of the workspace. Is there something similar in i3?
    3) is there a way to split windows horizontally by default as opposed to splitting them vertically?
    4) Can someone give me a basic rundown of i3-wsbar, i3status and i3-msg ??
    I am sure I will have more questions later

    I love i3. After having been with openbox and fvwm for many years, i finally switched to tiling WMs (xmonad specifically) and kicked myself for not having switched earlier. After most of a year being satisfied with xmonad, but annoyed at the half a gigabyte of ghc etc i went wm-hopping, and ended up with i3, and i don't think i'm going to change that anymore for the forseeable future.
    The only gripes i had in the beginning was that i couldn't get to have trayer in the same 'line' as the internal workspace bar. But since then, i simply resolved to not needing a tray anymore. (The only application i'd use it for really would be parcellite, to show the list of pastes, but parcellite works also without tray and if i want to look in the list i just go to my next free terminal and manually less the paste_history_file and re-highlight what i need. Sure there might be a better solution, but for now it works)
    i3/config
    ## Default header:
    ## This configuration uses Mod1 and Mod3. Make sure they are mapped properly using xev(1)
    ## and xmodmap(1). Usually, Mod1 is Alt (Alt_L) and Mod3 is Windows (Super_L)
    # by Ogion, modded
    # Mod1 replaced by Mod4, Mod3 replaced by Mod1
    # changed the movement keys from jkl; to hjkl
    #exec /home/ogion/bin/i3statbar.sh
    exec /home/ogion/bin/conkystatbar.sh
    exec /usr/bin/parcellite -nd
    exec /usr/bin/unclutter
    # ISO 10646 = Unicode
    font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    #### Exec-binds
    # Mod4+Enter starts a new terminal
    #bind Mod4+36 exec /usr/bin/xterm -C -fg white -bg black +sb
    bind Mod4+36 exec /usr/bin/urxvtc
    # mpd-control binds
    # mod4+b/n/m for mpc prev next toggle
    bind Mod4+56 exec /usr/bin/mpc prev
    bind Mod4+57 exec /usr/bin/mpc next
    bind Mod4+58 exec /usr/bin/mpc toggle
    # most used dmenu
    bind Mod4+55 exec /home/ogion/bin/mostused_dmenu.sh
    # internal i3 commands
    bind Mod4+54 exec /home/ogion/bin/dmenu_i3.sh
    # Using i3lock to lock the screen
    bind Mod4+Shift+29 exec /usr/bin/i3lock
    # Mod4+v starts dmenu
    bind Mod4+33 exec /home/ogion/bin/ogidmenu.sh
    # Scrot
    bind Mod4+Shift+33 exec /home/ogion/bin/scrot_ogi.sh
    ## Colors
    ## class border background text
    #client.focused #9966CC #9966CC #000000
    client.focused #DA6F00 #DA6F00 #000000
    client.focused_inactive #333333 #333333 #999999
    client.unfocused #333333 #333333 #999999
    client.urgent #FF0000 #8C5665 #999999
    #bar.focused #9966CC #000000 #999999
    bar.focused #DA6F00 #000000 #999999
    bar.unfocused #333333 #000000 #999999
    bar.urgent #FF0000 #000000 #999999
    #### Window manager control binds
    new_container tabbed
    new_window bb
    workspace 5 output VGA1
    #workspace 2 www
    workspace_bar yes
    # assigns
    assign Navigator → 2
    assign sylpheed → 6
    assign gcolor2 → ~
    # next workspace/prev workspace
    # with Mod4+u/i
    bind Mod4+30 pw
    bind Mod4+31 nw
    # Use Mouse+Mod4 to drag floating windows to their wanted position
    floating_modifier Mod4
    # Fullscreen (Mod4+f)
    bind Mod4+41 f
    # Stacking (Mod4+h)
    bind Mod4+39 s
    # Tabbed (Mod4+w)
    bind Mod4+25 T
    # Default (Mod4+e)
    bind Mod4+26 d
    # Toggle tiling/floating of the current window (Mod4+Shift+Space)
    bind Mod4+Shift+65 t
    # Go into the tiling layer / floating layer, depending on whether
    # the current window is tiling / floating (Mod4+t)
    bind Mod4+28 focus ft
    ## Focus (Mod4+j/k/l/;)
    #bind Mod4+44 h
    #bind Mod4+45 j
    #bind Mod4+46 k
    #bind Mod4+47 l
    # Focus (Mod4+h/j/k/l)
    bind Mod4+43 h
    bind Mod4+44 j
    bind Mod4+45 k
    bind Mod4+46 l
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Left h
    bindsym Mod4+Down j
    bindsym Mod4+Up k
    bindsym Mod4+Right l
    # Focus Container (Mod1+h/j/k/l)
    bind Mod1+43 wch
    bind Mod1+44 wcj
    bind Mod1+45 wck
    bind Mod1+46 wcl
    # (alternatively, you can use the cursor keys:)
    bindsym Mod1+Left wch
    bindsym Mod1+Down wcj
    bindsym Mod1+Up wck
    bindsym Mod1+Right wcl
    # Snap (Mod4+Control+h/j/k/l)
    bind Mod4+Control+43 sh
    bind Mod4+Control+44 sj
    bind Mod4+Control+45 sk
    bind Mod4+Control+46 sl
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Control+Left sh
    bindsym Mod4+Control+Down sj
    bindsym Mod4+Control+Up sk
    bindsym Mod4+Control+Right sl
    # Move (Mod4+Shift+h/j/k/l)
    bind Mod4+Shift+43 mh
    bind Mod4+Shift+44 mj
    bind Mod4+Shift+45 mk
    bind Mod4+Shift+46 ml
    # (alternatively, you can use the cursor keys:)
    bindsym Mod4+Shift+Left mh
    bindsym Mod4+Shift+Down mj
    bindsym Mod4+Shift+Up mk
    bindsym Mod4+Shift+Right ml
    # Move Container (Mod1+Shift+h/j/k/l)
    bind Mod1+Shift+43 wcmh
    bind Mod1+Shift+44 wcmj
    bind Mod1+Shift+45 wcmk
    bind Mod1+Shift+46 wcml
    # Workspaces (Mod4+1/2/…)
    bind Mod4+10 1
    bind Mod4+11 2
    bind Mod4+12 3
    bind Mod4+13 4
    bind Mod4+14 5
    bind Mod4+15 6
    bind Mod4+16 7
    bind Mod4+17 8
    bind Mod4+18 9
    bind Mod4+19 10
    # Move to Workspaces
    bind Mod4+Shift+10 m1
    bind Mod4+Shift+11 m2
    bind Mod4+Shift+12 m3
    bind Mod4+Shift+13 m4
    bind Mod4+Shift+14 m5
    bind Mod4+Shift+15 m6
    bind Mod4+Shift+16 m7
    bind Mod4+Shift+17 m8
    bind Mod4+Shift+18 m9
    bind Mod4+Shift+19 m10
    # Mod4+Shift+q kills the current client
    bind Mod2+Shift+24 kill
    # Mod4+Shift+e exits i3
    bind Mod4+Shift+26 exit
    # Mod4+Shift+r restarts i3 inplace
    bind Mod4+Shift+27 restart
    # The IPC interface allows programs like an external workspace bar
    # (i3-wsbar) or i3-msg (can be used to "remote-control" i3) to work.
    ipc-socket ~/.i3/ipc.sock
    Ogion

  • ARD agent keeps relaunching

    As discussed here: http://discussions.apple.com/thread.jspa?messageID=7866406
    ARDAgent keeps crashing with errors similar to these (I don't have access to that specific machine log at the moment, but this sample is similar to what i saw in the console of the affected machine)
    ~~~~~~~~~
    THIS IS NOT MY LOG -
    it is copied from link above - intended to be illustrative of the issue I am having - will post my log when possible - it is quite similar to this one but I can not give specific differences as the machine is not avaialble at this time
    ~~~~~~~~~
    "28/07/08 3:14:33 PM ARDAgent 2613 ******ARDAgent Ready******
    28/07/08 3:14:33 PM com.apple.RemoteDesktop.agent2613 LOG: database system was shut down at 2008-07-28 15:14:25 WST
    28/07/08 3:14:33 PM com.apple.RemoteDesktop.agent2613 LOG: checkpoint record is at 0/7C38D4
    28/07/08 3:14:33 PM com.apple.RemoteDesktop.agent2613 LOG: redo record is at 0/7C38D4; undo record is at 0/0; shutdown TRUE
    28/07/08 3:14:33 PM com.apple.RemoteDesktop.agent2613 LOG: next transaction id: 480; next oid: 16886
    28/07/08 3:14:33 PM com.apple.RemoteDesktop.agent2613 LOG: database system is ready
    28/07/08 3:14:36 PM ARDAgent 2613 Exiting because bind error is not EADDRINUSE.
    28/07/08 3:14:36 PM com.apple.launchd178 (com.apple.RemoteDesktop.agent2613) Stray process with PGID equal to this dead job: PID 2619 PPID 2617 rmdb
    28/07/08 3:14:36 PM com.apple.launchd178 (com.apple.RemoteDesktop.agent2613) Stray process with PGID equal to this dead job: PID 2617 PPID 2615 rmdb
    28/07/08 3:14:36 PM com.apple.launchd178 (com.apple.RemoteDesktop.agent2613) Stray process with PGID equal to this dead job: PID 2615 PPID 1 rmdb
    28/07/08 3:14:36 PM com.apple.launchd178 (com.apple.RemoteDesktop.agent2613) Stray process with PGID equal to this dead job: PID 2614 PPID 1 AppleVNCServer
    28/07/08 3:14:36 PM com.apple.launchd178 (com.apple.RemoteDesktop.agent) Throttling respawn: Will start in 7 seconds
    28/07/08 3:14:43 PM ARDAgent 2623 ******ARDAgent Launched******
    28/07/08 3:14:43 PM mDNSResponder31 Client application registered 2 identical instances of service sctxsvr01.net-assistant.udp.local. port 3283.
    28/07/08 3:14:43 PM ARDAgent 2623 TCP_ReadThread: bind failed with errno 48 and error: Address already in use
    28/07/08 3:14:43 PM ARDAgent 2623 ******ARDAgent Ready******
    ...And this keeps just going on round and round ....."
    The ARDAgent process launches shortly after login. Spirals to about 90% processor. Fails. Re-spawns. Repeat. Watched via TOP on an SSH link and saw it does not matter if there is an active ARD/VNC session. As suggested in the link above, running ARD specific tasks will tend to fail (unless they are QUICK) but the VNC session will run - very choppy but better than no GUI access.
    This malfunction slows the machine to a crawl eventually, making it hard to use for basic use of the MS Office Suite, Meeting Maker and Safari. (The machine has 40gB+ free space and 2GB ram. 1.7Ghz Core2Duo).
    The Window in my ARD session management gets broken - so regardless of choosing screen 1 or 2, i'll see both but at maybe 70% the "Both" size if I'd just left the setting to show both screens. Once the pulldown is toggled the remoe screen display is mangled as noted for the rest of the session.
    Deleted the malfunctioning account temp files in var/folders and renamed the library folder. Upon login I got a delayed login (presumably while the dock and other processes put their temp files back) and a fresh library folder. But no fix on the problem.
    the second account on the machine is not affected by these issues. ARDagent works normally if logged out of the "bad" account and into the "good" one.
    This user was Migration Assistant moved from 10.5.6 MacBook air to 10.5.6 MacBook. Only the user, not ADMIN account was migrated. Problems did not manifest immediately. Hard to say how long it took as this user does not promptly report problems. I last logged in about 30 days ago and all was fine.
    The issue correlates with TimeMachine failing to backup any longer several weeks ago. If you get enough activity on the machine when this process is misbehaving it basically freezes and requires a force reboot (not sure if shell access was still available when that occured as was away from the office and supporting via telephone). Not sure if time machine is now fixed but after moving the users data into the new account spotlight indexing completed normally and all looks stable in top/Activity Monitor.
    No new software appears to have been added to the machine between it working and not OUTSIDE OF standard Auto Updates to pre-existing software - Any Apple updates (besides 10.5.7 which is not installed) between March 1 and May 17 were run. As well as MS Office 2004 and 2008 updates. Camino updates. Firefox updates. The User Login items for the malfunctioning account only show Microsoft Office items.
    Cocktail was used to clear all system caches. Remove "malicious" files. And rebuild permissions. And to scan for 'corrupt plist files' to no avail.
    In any case - seems like there is some simple solution - sure seems like a bad user specific plist file or cache somewhere to remove. Abandoning the user account and recreating it is a painful fix...esp. when the machine is 3 time zones away!
    Any insight for a less dramatic and time consuming fix is apprecated. Will post my console report when possible.

    AFAIK, ARD's buried inside /System/Library/CoreServices/RemoteManagement/ and you could try removing it. Doesn't autolaunch here, but then I'm not on a network.

  • [SOLVED] Looking for a terminal command or key binding to exit Openbox

    I've searched the forums and googled, but I haven't been able to find the answer.  I'm sure I've missed it somewhere...
    I start my openbox session with 'startx' from the command line. I would like a terminal command or a key-binding to be able to exit openbox and return to the command line. I just don't like using the menu with my notebooks touchpad.  I just can't seem to figure out what command is used. The menu.xml file lists the command as "Exit", but typing that in a terminal just exits the terminal.
    Any help appreciated.
    Last edited by badfrog88 (2010-09-05 19:08:43)

    gorky wrote:ctrl-alt-backspace won't do the job?
    IIRC, it's disabled by default in xorg-server 1.7 and newer.
    @ badfrog88
    Ctrl + C will kill (almost) any running app you point it to.
    Last edited by karol (2010-09-05 19:17:29)

  • Exit from dataforwardAction without refresh control for Binding Container

    Sir's months ago i posted ADF Struts life clycle
    and i though that i had corrected my problem. but last Friday analyzing my bc4j log file i realize that my bindingContainer is still executing my views objects queries;
    What i want, is just exit from adf life cycle if some session variable was not there, forwarding to an login page, or some other page.

    I do not have this issue when using my iMac and in Target Display Mode, so I suspect you are just seeing your screen saver/password since your iMac has been idle while you have been using the Mac mini.
    You can either eliminate the enter password from screen saver via the System Preferences -> Security, or change the period of time when the screen saver kicks in via System Preferences -> Desktop & Screen Saver.
    Sharing the keyboard is a bit tricky.  I'm wondering if maybe you could do something with Teleport.
    <http://www.macupdate.com/info.php/id/14042/teleport>
    You might want to consider maybe just accessing your Mac mini via Screen Sharing, and then you control it totally from your iMac.  Just take the Screen Sharing full screen, and it will be almost as if you are using Target Display mode, only you will be using the iMac's keyboard and mouse/trackpad.

Maybe you are looking for