Geany
Before the end of main (before the return), try adding:
Code: Select all
int whatever;
cin >> whatever;
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
At some point geany failed to generate the executable bit on the wrapper script it creates, but thats ok. You can do the equivalent of running a non-executable script (sh <script>) by modifying the preferences:
edit
preferences
tools
terminal
/usr/bin/rxvt -e sh -c
OK
edit
preferences
tools
terminal
/usr/bin/rxvt -e sh -c
OK
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
That does exactly what I posted but would be incompatible with some versions of Puppy since /usr/X11R7/bin/xterm may not exist (wary, quirky, lucid) and bash may not exist (pupngo & others may use busybox ash or hush) rxvt is more common in Puppy and sh should always exist and usually points to bash as the default shell if it exists anyways.seaside wrote:/usr/X11R7/bin/xterm -e bash -c
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
technosaurus,technosaurus wrote:incompatible with some versions of Puppy since /usr/X11R7/bin/xterm may not exist (wary, quirky, lucid) and bash may not exist (pupngo & others may use busybox ash or hush) rxvt is more common in Puppy and sh should always exist and usually points to bash as the default shell if it exists anyways.seaside wrote:/usr/X11R7/bin/xterm -e bash -c
Good point and perhaps this would be more "generic"
(I think most Puppys have xterm in the path)xterm -e sh -c
I prefer to use xterm because rxvt doesn't appear to hold the terminal window open for error inspection.
Regards,
s
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
rxvt should stay open (it did for me at least) - but this fix should probably be added to the geany config file in the woof templates, since it keeps popping back up.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].