Created on 2008-03-05.04:27:00 by wilcoxjg, last changed 2009-08-27.13:56:27 by admin.
File name |
Uploaded |
Type |
Edit |
Remove |
unnamed
|
wilcoxjg,
2008-03-05.04:26:59
|
text/html |
|
|
unnamed
|
wilcoxjg,
2008-03-07.09:25:32
|
text/html |
|
|
msg3752 (view) |
Author: arch_o_median |
Date: 2008-03-05.04:26:59 |
|
Because darcs does not handle backspace in the expected way when I find it
almost impossible to add reasonable patch names. This is extremely
irritating.
Attachments
|
msg3763 (view) |
Author: zooko |
Date: 2008-03-05.12:50:13 |
|
On Mar 4, 2008, at 9:27 PM, Josh Wilcox wrote:
>
> New submission from Josh Wilcox <wilcoxjg@gmail.com>:
>
> Because darcs does not handle backspace in the expected way when I
> find it
> almost impossible to add reasonable patch names. This is extremely
> irritating.
There is a way to reconfigure your terminal which can fix this. You
can check whether your terminal is configured to send the right (??)
signal when you hit backspace by doing:
cat > /dev/null
And then hitting [ENTER], and then typing something and then hitting
backspace. I'll bet that "cat" does the same thing that "darcs" does
here -- shows you "^H" or some other weird character instead of
backspacing.
So in one sense this is your problem -- you ought to reconfigure your
terminal, but in another sense maybe it is darcs's problem -- darcs
ought to handle terminals configured in the way yours is. After all,
bash is handling it correctly, since you can type "echo blah" and
then backspace over the blah, and probably vim and most other apps
that you use are handling it as well, leaving "cat" and "darcs" as
the odd men out who insist on your reconfiguring your terminal to
suit them.
Here's my litmus test: are darcs's competitors, hg for example, more
flexible? If your terminal is still in the state where "cat" and
"darcs" emit "^H" instead of backspace, does hg also do?
Regards,
Zooko
|
msg3802 (view) |
Author: arch_o_median |
Date: 2008-03-07.09:25:32 |
|
I've been meaning to play with hg or git... if I ever get around to it
I'll report back on their interface.
--J
On Wed, Mar 5, 2008 at 4:50 AM, Zooko <bugs@darcs.net> wrote:
>
>
> On Mar 4, 2008, at 9:27 PM, Josh Wilcox wrote:
> >
> > New submission from Josh Wilcox <wilcoxjg@gmail.com>:
> >
> > Because darcs does not handle backspace in the expected way when I
> > find it
> > almost impossible to add reasonable patch names. This is extremely
> > irritating.
>
> There is a way to reconfigure your terminal which can fix this. You
> can check whether your terminal is configured to send the right (??)
> signal when you hit backspace by doing:
>
> cat > /dev/null
>
> And then hitting [ENTER], and then typing something and then hitting
> backspace. I'll bet that "cat" does the same thing that "darcs" does
> here -- shows you "^H" or some other weird character instead of
> backspacing.
>
> So in one sense this is your problem -- you ought to reconfigure your
> terminal, but in another sense maybe it is darcs's problem -- darcs
> ought to handle terminals configured in the way yours is. After all,
> bash is handling it correctly, since you can type "echo blah" and
> then backspace over the blah, and probably vim and most other apps
> that you use are handling it as well, leaving "cat" and "darcs" as
> the odd men out who insist on your reconfiguring your terminal to
> suit them.
>
> Here's my litmus test: are darcs's competitors, hg for example, more
> flexible? If your terminal is still in the state where "cat" and
> "darcs" emit "^H" instead of backspace, does hg also do?
>
> Regards,
>
> Zooko
>
> ----------
> nosy: +darcs-devel, zooko
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue727>
> __________________________________
>
Attachments
|
msg3810 (view) |
Author: zooko |
Date: 2008-03-07.12:49:52 |
|
So the way to reconfigure your terminal is:
stty erase C-v[BACKSPACE]
Where "C-v" means hold down the control key and hit the "v" key and
"[BACKSPACE]" means hit the backspace key.
|
|
Date |
User |
Action |
Args |
2008-03-05 04:27:00 | wilcoxjg | create | |
2008-03-05 10:03:14 | kowey | set | priority: bug status: unread -> duplicate superseder:
+ wish: better backspace handling nosy:
droundy, tommy, beschmi, kowey, wilcoxjg |
2008-03-05 12:50:17 | zooko | set | nosy:
+ darcs-devel, zooko messages:
+ msg3763 |
2008-03-07 09:25:33 | wilcoxjg | set | files:
+ unnamed nosy:
+ wilcoxjg messages:
+ msg3802 |
2008-03-07 12:49:53 | zooko | set | nosy:
droundy, tommy, beschmi, kowey, darcs-devel, zooko, wilcoxjg, wilcoxjg messages:
+ msg3810 |
2008-03-08 14:12:29 | markstos | set | status: duplicate -> wont-fix nosy:
- wilcoxjg |
2009-08-06 17:55:39 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, dagit, mornfall, simon, thorkilnaur, - droundy, wilcoxjg |
2009-08-06 20:59:40 | admin | set | nosy:
- beschmi |
2009-08-10 22:17:02 | admin | set | nosy:
+ wilcoxjg, - markstos, jast, dagit, Serware, mornfall |
2009-08-25 18:07:04 | admin | set | nosy:
- simon |
2009-08-27 13:56:27 | admin | set | nosy:
tommy, kowey, darcs-devel, zooko, thorkilnaur, wilcoxjg, dmitry.kurochkin |
|