[TUHS] cdecl (Re: C declarations.

Bakul Shah bakul at bitblocks.com
Tue May 16 05:00:13 AEST 2017


pkg upgrade cdecl

2.5 didn't show a prompt but 3.1.3 does (though the prompt is in /green/. Sigh...)

> On May 15, 2017, at 9:58 AM, Dave Horsfall <dave at horsfall.org> wrote:
> 
>> On Mon, 15 May 2017, Michael Kjörling wrote:
>> 
>> It does print "cdecl> " as a prompt on my system.
> [...]
>> The man page for mine says 2.5, Jan 1996, and the Debian package
>> version says 2.5-11. 1996 in 2017 is old even for Debian.
> 
> I've got 2.5 as well (on FreeBSD 10.3), and "set prompt" has no effect.  
> I even rebuilt it in case there was a later version.
> 
>> Are you sure that you don't have a stray alias somewhere, or something 
>> that might be causing it to misdetect as not running in a terminal?
> 
> aneurin% cdecl
> Type `help' or `?' for help
> set prompt
> set options
> [...]
> Current set values are:
>     noprompt
>       interactive
> 
> WTF?
> 
> I'll fire up GDB and have a poke around (once I'm properly awake; I only 
> got up for a glass of water, and couldn't help but check my email).
> 
> 
> -- 
> Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."



More information about the TUHS mailing list