🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #8873

Re: Gdb on SCO

#8873
From: Lorne Wilkinson
Date: Tue, 14 Jul 1992 17:36
31 lines
1675 bytes
sef@kithrup.com (Sean Eric Fagan) writes:
: In article <1992Jul07.124349.3281@sco.COM> lorne@sco.COM (Lorne Wilkinson) writes:
: >A really *neat* way to get meta-char expansion.
: >As you mentioned, one work around is to make the shell rw
: >for all. Another way would be to build the expansion into
: >gdb itself.
: 
: *gasp* *gasp*
: 
: Do *not* make a shell writable by everyone!

Excuse me.

: All you have to do is make the shell readable; alternatively, copy a shell
: (say, /bin/sh) to somewhere else (say, /usr/local/lib/gdb-sh), and make that
: world-readable.

Assuming the above location for a shell, and gdb in /usr/local/bin/gdb,
how about this as a front end to resolve the bug:

#!/bin/sh
LOCAL=/usr/local
GDBFLAGS="-q"
SHELL=${LOCAL}/lib/gdb-sh; export SHELL
exec ${LOCAL}/bin/gdb ${GDBFLAGS} "$@"

-- 
Lorne Wilkinson                               ...uunet!sco!lorne lorne@sco.com
SCO Canada, Inc.                                                (416) 922-1937
'The degree of technical competance is inversely
proportional to the level of management.' - Murphy
Technical Details
Message-ID: <1992Jul14.173623.7556@sco.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sco.COM!lorne
References: <1992Jul10.020018.9359@kithrup.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,5ffa50028d95a552
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1992-07-14 16:23:12 PST
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sco.COM!lorne
From: lorne@sco.COM (Lorne Wilkinson)
Subject: Re: Gdb on SCO
Message-ID: <1992Jul14.173623.7556@sco.COM>
Sender: gnulists@ai.mit.edu
Organization: SCO Canada, Inc.
References: <1992Jul10.020018.9359@kithrup.COM>
Distribution: gnu
Date: Tue, 14 Jul 1992 17:36:23 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 32