Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: motoslide
  • Content: Threads
  • Order by date
  1. motoslide

    Need help understanding jar file construction to utilize custom class

    Newbie alert: I have a vendor-supplied integration utility written in Java. They supplied a couple of jar files and a sample class which uses those custom methods. I now need to create my own jar file of a modified version of their example, and use that in a "java aware" application. How do I...
  2. motoslide

    Running a command after a pipe causes Broken Pipe error

    I'm sure this is a simple one, but I'm having a problem where I'm trying to run a command inside a script which is only executed after a pipe. For example, here's the script (minimized to isolate the problem): who -m | tr -s " " | cut -f5 -d" "|sed 's/(//g'|sed 's/)//g' > $HOME/MYIP If I run...
  3. motoslide

    p4014n missing information on last page

    A Client has an HP P4014n which has been working well, but recently developed a symptom where the last page of a long job (maybe 120 pages) will be missing portions of that page. The symptoms would indicate that it's doing a printer reset before finishing the information in buffer, but that's...
  4. motoslide

    Getting lost in popup Dialog in Applet

    I have a little Applet that needs to alert the user when they enter an invalid value (non-integer, or integer out of range). The pop-up occurs, but there is no way to get out of it short of killing the application (AppletViewer or IE). Here is the method that generates the popup(s). They are...
  5. motoslide

    Frustrated Newbie. Cannot read file in Applet

    This must be something very fundamental, and I appreciate any guidance. I've written an Applet using "BlueJ" that runs fine in it's AppletViewer, but cannot be run in a browser. My applet reads a text file, which is located in the same directory. I've researched this to tears and can't get my...
  6. motoslide

    SCO6 Major Number conflict

    Through a process of backup and restore, I ended up with a conflict of Major Numbers for a couple of different drivers (agp and tun). Neither of these drivers are of importance to our system (to the best of my knowledge). But, because of the conflict, I'm unable to properly relink a kernel...
  7. motoslide

    Switch away from using CUPS?

    I'm used to using other UNIX systems for printing, and have no experience with CUPS. My current needs don't require drivers on the UNIX side, as our application will be sending all the codes required. I need the ability to send jobs to a Windows-shared printer. I've done so on systems which...
  8. motoslide

    Need to find longest line, and set as a variable to next command

    I have a script used to produce PDF output from a text file. It needs to be self-contained so it can be used as a filter from an application. Current script: sed '1,2 s/\^L//'|/usr/spool/lp/bin/text2post|ps2pdf -dDEVICEWIDTHPOINTS=792 - | lp -dPC I need the "792" above to be a configurable...
  9. motoslide

    sed is eating my null.

    I've got a script (I didn't create) that is being used as an Output filter to convert NL to CRNL. It works fine, but I don't understand it enough to fix an issue. I have another script that will send a single-byte file to a printer just to wake it up. That single byte is a hex "00" (null). The...
  10. motoslide

    Adding devices on SCO 6 after installation

    This is starting to really bug me. Is there a safe (perhaps even "Simple") way to add devices to SCO-6 after installation? Two examples. I have a system which only had COM1 enabled when the O/S was installed. I've since enabled COM2 (a BIOS setting) with the standard resources (IRQ=3, IO=2f8)...
  11. motoslide

    Looking for Disaster Recovery/Prevention ideas.

    I thought I posted this yesterday, but it got lost somewhere. Please forgive the double-post if both show up tomorrow: We have a client with an older character-based accounting package running on UNIX which includes Point Of Sale at about a dozen sites. They need a solution which minimizes any...
  12. motoslide

    Convert CR/LF pair into LF (Binary files)

    I have a set of files where were FTP'd without using BINARY. The results might be trash, but I'd like to try recovery by locating all 0d0a pairs and replace those with just 0a. I've tried this command: tr '\015\012' '\012' <infile >outfile That replaces 0d0a with 0a0a. I tried: tr -d...
  13. motoslide

    Chapter 11, now what?

    I just thought I'd start a conversation, which I hope will present a few different viewpoints. This forum has been very helpful for me, and I can see that most of the "regulars" have years of experience. Now that SCO has filed for Chapter 11 bankruptcy (which doesn't mean they are gone (yet))...
  14. motoslide

    Troubleshooting firewall issues - CentOS 4.4

    I'm not a total newbie, but feel like one today. I've set up a test box running CentOS 4.4 On that server is an application which communicates on TCP ports 2000 - 2007. I am unable to establish a connection from a PC on the same LAN. The server can run the application using it's local loopback...
  15. motoslide

    Need to use lp interface file for lpd printer.

    I know I've seen this here before, but could not find the thread. I have a printer which only supports lpr/lpd printing, so I have it defined as such with an /etc/printcap entry. The problem is that we need the same logging ability which is found on standard "lp" printers...
  16. motoslide

    2GB limit in OpenServer 6.

    Has anybody been able to create, backup, restore, (etc) files larger than 2GB? I'm aware of the special binaries in /u95/bin, but have been unable to create a file which exceeds 2GB. The filesystem is type vxfs. A few of our installations are starting to bump up against that limit. Ideas...
  17. motoslide

    Convert PCL5 to PCLXL (PCL6).

    We use unix-based application which produces forms from accounting data (Logo, various fonts, boxes, shading, etc.) We've found that the output isn't interpreted correctly on a "PCL6-only" printer. Most PCL6 capable printers also understand PCL5, so there is no problem. For the few which no...
  18. motoslide

    Convert PCL5 to PCLXL (PCL6).

    We use an application which produces forms from accounting data (Logo, various fonts, boxes, shading, etc.) We've found that the output isn't interpreted correctly on a "PCL6-only" printer. Most PCL6 capable printers also understand PCL5, so there is no problem. For the few which no longer...
  19. motoslide

    stty command causes script to exit

    We have an application which doesn't play well if the stty values for ROWS or COLUMNS are set. This is easy to resolve by clearing those stty flags before launching the application. However, I've got one Client system where a change to those values causes the script to exit. We are running SCO...
  20. motoslide

    Convert STRINGS to Proper Case.

    Is there a utility (similar to tr) that can be used to convert strings within a text file to Proper Case? Before: ACME HARDWARE|1234 YOUR STREET|ANYTOWN|BOB SMITH|(555) 555-1212 After: Acme Hardware|1234 Your Street|Anytown|Bob Smith|(555) 555-1212 I'm sure there will be plenty of issues...

Part and Inventory Search

Back
Top