Re: bash: no job control in this shell

2007-07-10 Thread JimK
Chet Ramey wrote: > > JimK wrote: >>> I have written a java applet to interact with bash in the background to >>> let >>> the applet user interact just like they were using bash itself. >>> >>> But when the initial output from bash comes to my applet, it says "bash: >>> no >>> job control in t

printf '\x' exit status is 0

2007-07-10 Thread Poor Yorick
(on my debian system, bashbug reports for bash 2.05) printf status is 0 but /usr/bin/printf is 1. Is this the expected behavior? [EMAIL PROTECTED]:~$ bash3 [EMAIL PROTECTED]:~$ bash3 --version GNU bash, version 3.00.16(1)-release (i386-pc-linux-gnu) Copyright (C) 2004 Free Software Foundation, I

Re: bash: no job control in this shell

2007-07-10 Thread Chet Ramey
JimK wrote: >> I was reading up more on pseudo-terminals >> (https://www.linux.org/docs/ldp/howto/Text-Terminal-HOWTO-7.html) and it >> mentioned checking which tty is attached to which process, so in my applet >> I did a ps -eaf | grep bash and the bash my applet code starts up has >> pts/11 (the

Re: printf '\x' exit status is 0

2007-07-10 Thread Bob Proulx
Poor Yorick wrote: > (on my debian system, bashbug reports for bash 2.05) Is that a Sarge system? Note that Etch is now the Debian Stable release. However that won't change the results from the problem that you are have reported. > printf status is 0 but /usr/bin/printf is 1. Is this the expec

Re: bash strangeness with utf-8

2007-07-10 Thread Benno Schulenberg
Joe Peterson wrote: > Benno Schulenberg wrote: > > On what terminal are you doing this? To what encoding is the > > terminal set? > > Mainly xterm (version 225, at least in one case). And I have the > utf8 option on. Does this set the encoding to the proper value, > or do I need more? No idea,

Re: bash strangeness with utf-8

2007-07-10 Thread Joe Peterson
Benno Schulenberg wrote: > No idea, I use Konsole. Better read man xterm. The strangeness happens in Konsole too (as well as the virtual terminals), so I kind of doubt it's the term's issue... > Okay. So what says a typescript in a blank shell with only LANG > defined? Does the ^[[1034h still

Re: printf '\x' exit status is 0

2007-07-10 Thread Chet Ramey
Poor Yorick wrote: > (on my debian system, bashbug reports for bash 2.05) > > printf status is 0 but /usr/bin/printf is 1. Is this the expected behavior? > > [EMAIL PROTECTED]:~$ bash3 > [EMAIL PROTECTED]:~$ bash3 --version > GNU bash, version 3.00.16(1)-release (i386-pc-linux-gnu) > Copyright (