* "No match" message - whats it mean??
@ 1996-06-07 4:00 Juan Laguna
1996-06-07 4:00 ` John Hascall
1996-06-10 4:00 ` Juan Laguna
0 siblings, 2 replies; 6+ messages in thread
From: Juan Laguna @ 1996-06-07 4:00 UTC (permalink / raw)
Greetings all.
My Alpha 3000/300 pops up the message "No Match." just before the Hello
messsage appears when i log in.
This message also appears every time I issue a unix command inside an
AML (ARC/INFO GIS (Geographic Information System) macro language).
I don't know why this occurs. Any ideas.
I'm not a complete UNIX newbie, but I'm no guru, either. Yet.
Juan Laguna
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: "No match" message - whats it mean??
1996-06-07 4:00 "No match" message - whats it mean?? Juan Laguna
@ 1996-06-07 4:00 ` John Hascall
1996-06-10 4:00 ` Juan Laguna
1 sibling, 0 replies; 6+ messages in thread
From: John Hascall @ 1996-06-07 4:00 UTC (permalink / raw)
Juan Laguna <lagunaj2@epo.gov.on.ca> wrote:
}My Alpha 3000/300 pops up the message "No Match." just before the Hello
}messsage appears when i log in.
}
}This message also appears every time I issue a unix command inside an
}AML (ARC/INFO GIS (Geographic Information System) macro language).
}I don't know why this occurs. Any ideas.
}I'm not a complete UNIX newbie, but I'm no guru, either. Yet.
You most likely have something in your .cshrc file which
has a file wildcard in it which is not matching any files.
Try this:
csh -v ~/.cshrc
to find it.
John
--
John Hascall, Software Engr. Shut up, be happy. The conveniences you
ISU Computation Center demanded are now mandatory. -Jello Biafra
john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: "No match" message - whats it mean??
1996-06-07 4:00 "No match" message - whats it mean?? Juan Laguna
1996-06-07 4:00 ` John Hascall
@ 1996-06-10 4:00 ` Juan Laguna
1996-06-10 4:00 ` John Hascall
1 sibling, 1 reply; 6+ messages in thread
From: Juan Laguna @ 1996-06-10 4:00 UTC (permalink / raw)
Juan Laguna wrote:
>
> Greetings all.
>
> My Alpha 3000/300 pops up the message "No Match." just before the Hello
> messsage appears when i log in.
I've got some good answers to this question already. Thanks to Paul and Marc for
the emails (us Canucks really stick together, eh?)
Anyways, I looked in the .cshrc for the wildcard characters. The one that i
found has been there for a long time and hasn't caused problems before. There is
a "umask" command present that i don't remember putting in myself. I'm gonna
post a copy of my (admittedly simplistic) .cshrc here, which may help the
diagnosis.
# *****************************************************************
# * Copyright (c) Digital Equipment Corporation, 1991, 1994 *
# *****************************************************************
#
# HISTORY
#
# @(#)$RCSfile: .cshrc,v $ $Revision: 4.1.3.3 $ (DEC) $Date: 1992/05/11 09:13:09
$
#
if ($?prompt) then
set prompt = "csh> "
set notify
set history = 20
endif
#
umask 002
#
# .......... Invoke ARC/INFO 6.1.2 or 7.0.2 ..........
#
setenv ARCHOME70 /software/esri/arcexe70
setenv ARCHOME61 /software/esri/arcexe61
setenv AVHOME /software/esri/arcview2
setenv ARCHOME `printenv ARCHOME70`
setenv ATHOME /software/esri/arcexe70/arctools
#setenv DISPLAY `hostname`:0.0
#
#
setenv MAIL /usr/spool/mail/$USER
#
source $HOME/.70start
#
alias arc70 'setenv ARCHOME `printenv ARCHOME70`; setenv LD_LIBRARY_PATH
$ARCHOME/lib; setenv ATHOME $ARCHOME/arctools; setenv ADOCHOME
$ARCHOME/arcdoc_70; setenv FVHOME $ARCHOME/fm_axposf; $ARCHOME/programs/arc'
#
alias arc61 'setenv ARCHOME `printenv ARCHOME61`; setenv LD_LIBRARY_PATH
$ARCHOME/lib; setenv ATHOME $ARCHOME/arctools; $ARCHOME/programs/arc'
#
alias arcview \$AVHOME/bin/arcview
#
#
stty erase ^?
I understand what the problem is, but I can't seem to identify the error in the
file. The problem seemed to crop up after the other guy in my shop copied the
Xdefaults from his Alpha 1000 4/233 to my machine to get SPANS GIS to work (or at
least somewhat work). Would this have an impact?
Again, thanks in advance.
Juan Laguna
Landscape Ecology Database Officer
Forest Landscape Ecology Program
(lagunaj2@epo.gov.on.ca)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: "No match" message - whats it mean??
1996-06-10 4:00 ` Juan Laguna
@ 1996-06-10 4:00 ` John Hascall
1996-06-11 4:00 ` Juan Laguna
0 siblings, 1 reply; 6+ messages in thread
From: John Hascall @ 1996-06-10 4:00 UTC (permalink / raw)
Juan Laguna <lagunaj2@epo.gov.on.ca> wrote:
}Juan Laguna wrote:
}> My Alpha 3000/300 pops up the message "No Match." just before the Hello
}> messsage appears when i log in.
}stty erase ^?
stty erase '^?'
John
--
John Hascall, Software Engr. Shut up, be happy. The conveniences you
ISU Computation Center demanded are now mandatory. -Jello Biafra
john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: "No match" message - whats it mean??
1996-06-10 4:00 ` John Hascall
@ 1996-06-11 4:00 ` Juan Laguna
1996-06-12 4:00 ` Paul David Fardy
0 siblings, 1 reply; 6+ messages in thread
From: Juan Laguna @ 1996-06-11 4:00 UTC (permalink / raw)
John Hascall wrote:
>
> Juan Laguna <lagunaj2@epo.gov.on.ca> wrote:
> }Juan Laguna wrote:
> }> My Alpha 3000/300 pops up the message "No Match." just before the Hello
> }> messsage appears when i log in.
>
> }stty erase ^?
>
> stty erase '^?'
>
> John
> --
> John Hascall, Software Engr. Shut up, be happy. The conveniences you
> ISU Computation Center demanded are now mandatory. -Jello Biafra
> john@iastate.edu
> http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud
Thanks a 10^6, John!!! It seems to work OK. I tested it from AML as well.
BTW, when i log in, the last two messages in the dxconsole are...
stty: tcgetattr: Not a typewriter
Starting Application Process 11245 "DECterm"
Whats the "stty ..." line mean?
Juan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: "No match" message - whats it mean??
1996-06-11 4:00 ` Juan Laguna
@ 1996-06-12 4:00 ` Paul David Fardy
0 siblings, 0 replies; 6+ messages in thread
From: Paul David Fardy @ 1996-06-12 4:00 UTC (permalink / raw)
Juan Laguna <lagunaj2@epo.gov.on.ca> wrote:
}Juan Laguna wrote:
}> My Alpha 3000/300 pops up the message "No Match." just before the Hello
}> messsage appears when i log in.
}stty erase ^?
John Hascall wrote:
> stty erase '^?'
Juan Laguna <lagunaj2@epo.gov.on.ca> writes:
>Thanks a 10^6, John!!! It seems to work OK. I tested it from AML as well.
>BTW, when i log in, the last two messages in the dxconsole are...
> stty: tcgetattr: Not a typewriter
> Starting Application Process 11245 "DECterm"
>Whats the "stty ..." line mean?
Actually the stty command shouldn't be in your .cshrc; move it to your
.login file. The command means "set tty erase character to delete".
Terminals used to be teletypewriters hardwired to the system;
teletypewriter is abbreviated as tty. The command operates on its
standard input file handle which will be your terminal if you type the
command at the prompt and will usually be your terminal if run from
your .login. You only need to set the erase character once, when you
first connect to the system, so the .login file is the right place
to put the command.
Since, the csh runs the .cshrc file with (almost) every shell script
and shell command, the stty command will be executed when you run shell
escapes from editors or run scripts as background jobs. Typically the
input for the command is a pipe stream or a plain file. You can't set
terminal options on non-terminal files; you get the error "not a
typewriter".
The default is backspace (noted as Ctrl-H and, for stty, ^h) and your
command redefines it to delete (noted as Ctrl-?, and, for stty, ^?).
I suspect that the command was actually entered as
stty erase [Ctrl-V][Delete]
The delete would be seen as ^?, but it would actually be only one
character. However, if someone used X windows to cut and paste the
command between systems, the cut would read two characters and you'd
actually get a question mark in the destination file. Using the
quoting and four characters as John showed is cleaner because it
behaves better when you print, cat, or cut-n-paste the file.
Along with the rule "Don't put stty in your .cshrc.", you might add
Don't put "mesg" or "biff" in your .cshrc.
-- these programs also change terminal files.
Don't generate output from your .cshrc.
-- this confuses programs (like vi) that use your shell to run
commands and then read back the output; your output jumbles
the data the program expects to get back.
Don't create a prompt, change it only if it exists.
-- under many implementations of C shell, setting prompt
produces output. The solution is to use the if shown
in your .cshrc ("if it exists, change it").
if ($?prompt) set prompt="myprompt. "
Don't use the C shell; use the Korn shell, instead. :-)
Paul Fardy
--
Paul David Fardy | pdf@morgan.ucs.mun.ca
Computing and Communications | pdf@InfoNET.st-johns.nf.ca
Memorial University of Newfoundland |
St. John's, NF A1C 5S7 |
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-06-12 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-07 4:00 "No match" message - whats it mean?? Juan Laguna
1996-06-07 4:00 ` John Hascall
1996-06-10 4:00 ` Juan Laguna
1996-06-10 4:00 ` John Hascall
1996-06-11 4:00 ` Juan Laguna
1996-06-12 4:00 ` Paul David Fardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox