HP3000-L Archives

August 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Elmer <[log in to unmask]>
Reply To:
Steve Elmer <[log in to unmask]>
Date:
Wed, 23 Aug 1995 17:28:14 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (125 lines)
Whew!  No _wonder_ you're unhappy!  Your list is even longer than the one in
my porting document.
 
David Groves ([log in to unmask]) wrote:
: 1)  stream should allow HFS-style file names.
Jeff answered that.
: 2)  Both listf and listfile should allow either '*' or '@' as wild-card
:     characters, at least if being used from inside POSIX.
Jeff answered that.
: 3)  Using output redirection from a compound command can cause bizarre
:     behavior, i.e., lines passed to a subsequent command sometimes have
:     'temporary' file names appended to them (such as '> U12223223.xx.xx').
Shell SR.
: 4)  If a soft link exists (/x/b/c.d@ -> .src/c.d), then the wrong error
:     message is provided if an attempt is made to lay another link on top
:     of the existing one; instead of 'a link already exists' or the like,
:     the message "ln: File or directory 'blah/blah' is not found" occurs.
Shell SR.
In the CI:
: newlink foo,bar
: newlink foo,z
          ^
Duplicate name in directory. (CIERR 906)
: 5)  The command file invocation line "#!file_path" should be implemented.
:     I can kludge it for, say, perl, by setting up a file by the desired
:     name (say, my_test) as /bin/my_test with execute permissions; its
:     contents are a single line:
:         /bin/perl /bin/my_test.pl $*
:     where the real perl statements are all in /bin/my_test.pl and
:     where $* transfers all the command-line values to the perl file.
:     As you can see, this does require two files every time.
Implemented and in user test.  David (or anyone else), I'm still looking for
another test site...
: 6)  cat does not preserve copied line lengths under all conditions.  If
:     a file's line lengths are 'excessive,' cat has been known to truncate
:     lines without warning or notice.
Shell SR.
: 7)  The port of GNU make 3.70 does not recognize control-y, so using the -d
:     feature completely locks the terminal until something interruptible
:     gets called.
The ^Y thing was a workaround we put in the shell to simulate ^C from Unix.
It was built into each of the utilities by MKS.  It's a good point that
ported utilities should also do this, I didn't think of it at the time.
: 8)  When make encounters a target that should have an active link to
:     another source location (but that link is missing), it should say
:     something to the effect that 'the file blah/blah.c is missing' instead
:     of saying "make[2]: No rule to make target 'blah/blah.c'." I know this
:     is a ported version, but it should still be correct.
If this is MKS make, then Shell SR.
I was very disappointed with the GNU make error handling in general.  I found
them to be less informative than the MKS make errors in every instance.  I
always use the MKS make first.
: 9)  find does not recognize control-y, and cannot be interrupted.
Have you done "export HPSHELLINT=1"?  If so, find should recognize ^Y.
: 10) ftp, when run inside the POSIX shell, should (in my opinion) default
:     to HFS-style names, that is, it should not be necessary to use
:     ./src/wm/file.c as opposed to just src/wm/file.c.
: 11) The ftp command "stream" should be documented somewhere; the only way
:     to learn of its existence is to enter "remotehelp site" from an ftp
:     session logged in from another platform, and that tells nothing of
:     the expected command syntax (which is 'quote site stream mpe.file.name').
: 12) ftp needs a redo capability.
: 13) ftp needs to be able to handle very long lines (> 2049 characters) in
:     bytestream mode.
10-13 Agreed.  Has anyone filed an SR?
: 14) The command-line limit for c89 compiler switches is seriously short.
:     It should allow several hundred characters (maybe 1023).  This has
:     been noted previously by Steve Elmer, but it's still not fixed.
I seem to recall having this conversation with the engineer in charge.  I don't
remember what the resolution was, perhaps we'll be seeing this by 5.5?
: 15) When c89 is invoked with the -E switch, the output should appear in
:     a form that allows piping it back to an invoking process, e.g., when
:     invoked through a fork (or implicit fork in a file open).  I kludged
:     together a mechanism for accomplishing the same purpose (for building
:     a dependency file using the preprocessor output from c89), but it's
:     clumsy.
My problem with -E is that it always goes to the terminal and ignores I/O
redirection.  This was caused by the fact that the CI is involved in the
compiler call.  This symptom _may_ go away in 5.5.
: 16) When c89 is given the -P switch, it should allow HFS-style names.
Well, if you use the leading ./ or / it does.  Perhaps you're saying it
should use them by default?  If so, c89.ccg SR.
: 17) The c89 compiler should allow very long lines (> 2049 characters)
:     without an intervening carriage-return character;  the syntactical
:     line can be longer than that, but the physical line cannot exceed
:     about 130 characters, as it is now, before causing trouble.
As the porting paper describes, this is really an underlying problem with
the compiler.  Again, the engineer may already be working on this...
: 18) If a long double is used as an argument to va_arg, there is
:     the potential for stack corruption of the c89 compiler run (it occurs
:     in the lookup_quad routine in c89, NOT the resulting program's
execution!)
:     unless some long double is both declared and initialized before the
:     first appearance of va_arg.  This has been addressed in KPR #5003276196.
: 19) When vi opens its screen, it should use terminal commands to 'go to
:     next page' rather than 'home and clear':  the visual effect would be
:     the same for the user, but previously displayed lines would not be
:     wiped out.  Once it has opened a screen, vi handles the display OK.
I like that idea.  What happens if you're already at the last page?  Is there
already an SR for this topic?
: 20) vi needs to be able to handle very long lines (> 2049 characters).  It
:     currently just shows a series of '@' characters at the left margin (no
:     text) and does not respond to Crl-G or other commands very well while
:     trying to cope with the long line.
I've never seen a vi that does this well, ...
: 21) perl should become a supported (i.e., 'provided') utility, and
:     sufficient resources should be allocated to keep up with the current
:     version.  For instance, the ported version, provided by Steve Elmer,
:     is 4.036, but the currently available version is 5.001m.
: 22) perl needs to recognize control-y.
: 23) Someone needs to port Emacs to the 3000.  In my next life, I'll have the
:     time, but not today.  Qedit works wonderfully under POSIX, but it's
:     not free, and not even cheap.
21-23 Anyone else ready to jump in and start porting things?  I don't have
enough time to do all this either.  I know MKS can do this, but it wouldn't
be free...
 
: Feel free to correct my wayward path on any of these items, or to enlighten
: me as to what I should/could have done instead.  Let me hear from you.
: --
: David Groves                       [log in to unmask]          |
: UniSQL, Inc.                       [log in to unmask] |
: 8911 N. Capital of Texas Hwy #2300 |512-343-7297x181        |
: Austin, TX 78759                   [log in to unmask]   |

ATOM RSS1 RSS2