Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-11-2003, 02:35 AM   #1
bartelsrausch
Prospect
 
Join Date: Aug 2002
Location: Zürich
Posts: 37
Terminal Error message "pattern: No such file or directory."

Hi,

It started with some printing problems: I can't print from any application ("no printer selected"). But there are printers in the print center.
So I hope "Print Center Repair" might fix it.

But when I run it, or start the terminal:
I get the error message:
Last login: Tue Feb 11 08:22:44 on ttyp1
Welcome to Darwin!
pattern: No such file or directory.

can anyone help me to fix that so I can hopefully fix the Printing Problem?
thanks
bartelsrausch is offline   Reply With Quote
Old 02-11-2003, 07:09 AM   #2
ericw13
Major Leaguer
 
Join Date: Oct 2002
Posts: 268
If you get 'pattern: No such file or directory' when you open a terminal window (w/o typing anything in it), then you have a problem with one of the terminal startup files.

This error message just means that the system got a command (pattern) that it doesn't understand. Either you have no program named pattern, or the program is in a directory that is not in your PATH.

If you know you have a program named pattern, type 'echo $PATH' (no quotes) in the terminal and see if pattern is in one of the directories listed. If not, you should add that directory to your PATH. There's LOTS of threads on this board about that...

If you don't have such a program, try to figure out what file is being run that gives this problem:
Code:
grep pattern ~/.*
and see what comes up. If you get a hit, edit the offending file to remove the line in question.

One stupid question about your printing issue, though. You say there are printers in the print center. Do any of them show up as the default printer in the application from which you are trying to print?

Eric
ericw13 is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.