From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael@kjorling.se (Michael =?utf-8?B?S2rDtnJsaW5n?=) Date: Mon, 15 May 2017 12:58:40 +0000 Subject: [TUHS] C declarations. In-Reply-To: References: <20170511223232.GM4341@mcvoy.com> <015b01d2caa7$c658c020$530a4060$@ronnatalie.com> <20170513012415.GZ4341@mcvoy.com> <025701d2cb92$ec8182a0$c58487e0$@ronnatalie.com> <20170513122050.GF9980@yeono.kjorling.se> <0CF82AC1-E835-4C06-813F-D9EFD2C12290@tfeb.org> <20170513124247.GG9980@yeono.kjorling.se> <57639684-050B-4995-859F-876CAFE4BE9C@serissa.com> <20170514042411.93CCB124AEA4@mail.bitblocks.com> Message-ID: <20170515125840.GA14426@yeono.kjorling.se> On 15 May 2017 14:35 +1000, from dave at horsfall.org (Dave Horsfall): > (Sigh; "cdecl" really needs to print a "> " prompt or something.) It does print "cdecl> " as a prompt on my system. $ cdecl Type `help' or `?' for help cdecl> explain int*()* f syntax error cdecl> declare f as ptr to function returning ptr to int int *(*f)() cdecl> ^D $ However, running it with -q turns this off: $ cdecl -q declare f as ptr to function returning ptr to int int *(*f)() ^D $ 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. 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? -- Michael Kjörling • https://michael.kjorling.se • michael at kjorling.se “People who think they know everything really annoy those of us who know we don’t.” (Bjarne Stroustrup)