Bug#596809: closed by Julien Cristau (Re: Bug#596809: xterm: command with error, cannot be repeated with up arrow)

2010-09-17 Thread Cyril Brulebois
yellow protoss  (14/09/2010):
> well, If I type this command :
>dialog --title "Choose file"  --inputbox "Please input file name:"  8 40
> $F 2>/tmp/ans
> 
> After it ran, there is no way to edit it again after "up" arrow pressing.

Works here.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#596809: closed by Julien Cristau (Re: Bug#596809: xterm: command with error, cannot be repeated with up arrow)

2010-09-14 Thread yellow protoss
On Tue, Sep 14, 2010 at 12:48 PM, Debian Bug Tracking System <
ow...@bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the xterm package:
>
> #596809: xterm: command with error, cannot be repeated with up arrow
>
> It has been closed by Julien Cristau .
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Julien Cristau <
> jcris...@debian.org> by
> replying to this email.
>
>
> --
> 596809: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596809
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
> -- Forwarded message --
> From: Julien Cristau 
> To: Timo Juhani Lindfors ,
> 596809-d...@bugs.debian.org
> Date: Tue, 14 Sep 2010 12:45:42 +0200
> Subject: Re: Bug#596809: xterm: command with error, cannot be repeated with
> up arrow
> On Tue, Sep 14, 2010 at 13:05:50 +0300, Timo Juhani Lindfors wrote:
>
> > yellowprotoss  writes:
> > > I do this
> > > # exec irpsion5 -s reboots.log
> > > No IRDA device found
> >
> > "exec" replaces the current shell with the new command. Its history is
> > lost. If you don't use "exec" you should be able to still access its
> > history.
> >
> So, yeah, sounds like the expected behaviour, closing.
>


well, If I type this command :
   dialog --title "Choose file"  --inputbox "Please input file name:"  8 40
$F 2>/tmp/ans

After it ran, there is no way to edit it again after "up" arrow pressing.

I consider it not normal, but -well, you are the chief :) You decide how you
wish it works. xterm is very useful and the greatest tool ever for X11.

All the best;
Kind regards


>
> Cheers,
> Julien
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIcBAEBCAAGBQJMj1JWAAoJEDEBgAUJBeQMTKwQAMPyW3O2O0dklNuc2tp6AVGj
> VdKwsq4SyhC7nRjfzYWMaQyzoYXZ3n8ynOd+aDJ5gbmDXdPhbxr12LXi/SMkfO7t
> 1nIy217+itFZxus8jA/k4mtpT4fzTRnhFuu1hSmGemYdOUTQS6iW2mjo8AsxP7cQ
> 3q2dsmzxmmL3p7rUh4ut5TUojKyB+3HsCxH8Ps+Ffi5M/H3HUQNszU4iMapqmaE1
> UvI91UxjO0j5ehfbaoKrB+5nb5LJuQi8aKQXBpOgdJD0KgavXkn/wUGsf/qoJPao
> +R8qy5gKBbN3lQmnKeMkF5nx4j7sleld1Tye5bGmDDQU/8/QcCHmn7BTVloYUC3h
> GW/vPx95NXgRKK/NdJyc4LVr0MSFTJ+UdOIIIro+HHLI0Jr/iuv1WgQhl+/0YbJb
> Zv9Hps01945o5BLL5zQ8S6iwNeuUczxJpfnBSFM/VlkCFkMcWrK/p5MKzBWss4Hm
> 9eX7G4u8vMA3mLYkM2UQEj6+61WpHYB8qjMhlW4cmNBjIvKKuZ70UAUOOWoWSHpx
> IrUCZ6c17sH6A9aOCkH6nNuCiS9VyLjT/Uxe6YEsctc5q5VBJY+9aBOMv/8R1g4Q
> cIg+OPBDRK86ytld+bBDfq8/IW9dFoAIsx2jVdjIOueXV0Rye7l5vhR9xf9RPcpQ
> S076G7reeZ5teqPK1wYq
> =0Ntp
> -END PGP SIGNATURE-
>
>
> -- Forwarded message --
> From: yellowprotoss 
> To: Debian Bug Tracking System 
> Date: Tue, 14 Sep 2010 11:50:15 +0200
> Subject: xterm: command with error, cannot be repeated with up arrow
> Package: xterm
> Version: 261-1
> Severity: important
>
> Hello,
>
> I do this
> # exec irpsion5 -s reboots.log
> No IRDA device found
>
> it gives an error.
>
> I wanna repeat it, so I press "Up" on keyboard to get this failed command
> again into prompt, and It is the previous one, not the :
> exec irpsion5 -s reboots.log
>
> it is reproducible with all failed comamnds. and this was a given example.
>
> In stable, it works nicely those failed command and pressing up arrow on
> keyboard can show the bash history failed or not :(
>
>
>
> best regards
>
>
>
>
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages xterm depends on:
> ii  libc6 2.11.2-2   Embedded GNU C Library: Shared
> lib
> ii  libfontconfig12.8.0-2.1  generic font configuration
> library
> ii  libice6   2:1.0.6-1  X11 Inter-Client Exchange
> library
> ii  libncurses5   5.7+20100313-2 shared libraries for terminal
> hand
> ii  libutempter0  1.1.5-3A privileged helper for
> utmp/wtmp
> ii  libx11-6  2:1.3.3-3  X11 client-side library
> ii  libxaw7   2:1.0.7-1  X11 Athena Widget library
> ii  libxft2   2.1.14-2   FreeType-based font drawing
> librar
> ii  libxmu6   2:1.0.5-1  X11 miscellaneous utility
> library
> ii  libxt61:1.0.7-1  X11 toolkit intrinsics library
> ii  xbitmaps  1.1.0-1Base X bitmaps
>
> Versions of packages xterm recommends:
> ii  x11-utils 7.5+4  X11 utilities
>
> Versions of packages xterm suggests:
> pn  xfonts-cyrillic(no description available)
>
> -- no debconf information
>
>
>
>


Bug#596809: xterm: command with error, cannot be repeated with up arrow

2010-09-14 Thread Timo Juhani Lindfors
yellowprotoss  writes:
> I do this 
> # exec irpsion5 -s reboots.log 
> No IRDA device found

"exec" replaces the current shell with the new command. Its history is
lost. If you don't use "exec" you should be able to still access its
history.

> In stable, it works nicely those failed command and pressing up
> arrow on keyboard can show the bash history failed or not :(

I don't see this in stable. Here's a transcript:

li...@sauna:~$ sh  ## I start a new subshell
sh-3.2$ exec false ## I 'exec' a command that always fails
li...@sauna:~$ sh  ## I have hit up, it surely does not show false in 
history.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84zkvk7i81@sauna.l.org



Bug#596809: xterm: command with error, cannot be repeated with up arrow

2010-09-14 Thread Thomas Dickey

On Tue, 14 Sep 2010, yellowprotoss wrote:


Package: xterm
Version: 261-1
Severity: important

Hello,

I do this
# exec irpsion5 -s reboots.log
No IRDA device found

it gives an error.

I wanna repeat it, so I press "Up" on keyboard to get this failed command again 
into prompt, and It is the previous one, not the :
exec irpsion5 -s reboots.log

it is reproducible with all failed comamnds. and this was a given example.

In stable, it works nicely those failed command and pressing up arrow on 
keyboard can show the bash history failed or not :(


Cursor keys in xterm haven't changed... You might get more information by
pressing the keys in a "cat -v", to see exactly what's sent.

The version of xterm can also be shown by "xterm -v".

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100914055942.d6...@mail101.his.com



Bug#596809: xterm: command with error, cannot be repeated with up arrow

2010-09-14 Thread yellowprotoss
Package: xterm
Version: 261-1
Severity: important

Hello,

I do this 
# exec irpsion5 -s reboots.log 
No IRDA device found

it gives an error. 

I wanna repeat it, so I press "Up" on keyboard to get this failed command again 
into prompt, and It is the previous one, not the :
exec irpsion5 -s reboots.log

it is reproducible with all failed comamnds. and this was a given example.

In stable, it works nicely those failed command and pressing up arrow on 
keyboard can show the bash history failed or not :(



best regards





-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xterm depends on:
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libfontconfig12.8.0-2.1  generic font configuration library
ii  libice6   2:1.0.6-1  X11 Inter-Client Exchange library
ii  libncurses5   5.7+20100313-2 shared libraries for terminal hand
ii  libutempter0  1.1.5-3A privileged helper for utmp/wtmp 
ii  libx11-6  2:1.3.3-3  X11 client-side library
ii  libxaw7   2:1.0.7-1  X11 Athena Widget library
ii  libxft2   2.1.14-2   FreeType-based font drawing librar
ii  libxmu6   2:1.0.5-1  X11 miscellaneous utility library
ii  libxt61:1.0.7-1  X11 toolkit intrinsics library
ii  xbitmaps  1.1.0-1Base X bitmaps

Versions of packages xterm recommends:
ii  x11-utils 7.5+4  X11 utilities

Versions of packages xterm suggests:
pn  xfonts-cyrillic(no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100914095015.6087.75740.report...@debian05.rp614v4