🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by trost%bassoon.reed Wed, 27 Sep 1989 18:17
yacc/bison incompatibility?
#641
Author: trost%bassoon.reed
Date: Wed, 27 Sep 1989 18:17
50 lines
2023 bytes
Details that Brian asked about:

Subshell in emacs was usually /bin/csh.

gcc got the appropriate flags (like -traditional) --- it did, after
all, compile.  The include files have not been "fixed".

I have made no changes to the sources; they are made from literally
the same source files.  I have made no patches, no nothin'.  Just
compile and go --- your configuration management is very clean.

I finally understand the bit about not reading the .bashrc.  Trouble
is, bash being run under an xterm isn't really a login shell.  How is
loginness being determined?  (I know --- UTSL).

*And*, it looks like I dropped a critical part of the bug report.
After reading the .bashrc, if I put the entire for loop on one line,
it works --- if I break it up, it doesn't.  This is almost definetely
a grammar problem.

Our bison is version 1.03.

Oh, and why does "rsh reed xterm -display bassoon:0" cause my .profile
to be executed?  This is confusing; I thought non-interactive
processes weren't supposed to get anything?  (I switched shells last
night, so my environ has changed slightly).

----------------

STOP THE PRESSES!

A little experimentation points out the problem.  Setting the shell
variable PROMPT_COMMAND causes the error I described when the shell is
compiled with yacc.  Record follows:

% bash -norc
bash$ PROMPT_COMMAND='dirs'
/reed/u/ss/trost
bash$ for i in a b; do
/reed/u/ss/trost
bash>echo $i
/reed/u/ss/trost
bash>done
`done' is not a valid identifier
/reed/u/ss/trost
bash$ for i in a b; do echo $i; done
a
b
/reed/u/ss/trost
bash$
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads