Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225778
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | David Wright <deblis@lionunicorn.co.uk> |
| Newsgroups | linux.debian.user |
| Subject | Re: Bash question hard to formulate |
| Date | Mon, 03 Aug 2020 18:10:02 +0200 |
| Message-ID | <AzLce-599-15@gated-at.bofh.it> (permalink) |
| References | <AzoyZ-7Nd-5@gated-at.bofh.it> <AzAA9-6P1-1@gated-at.bofh.it> <AzDRs-yN-63@gated-at.bofh.it> <AzLce-599-17@gated-at.bofh.it> |
| X-Original-To | debian-user@lists.debian.org |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Mon Aug 3 16:07:20 2020 |
| Old-Return-Path | <deblis@lionunicorn.co.uk> |
| X-Amavis-Spam-Status | No, score=-6.798 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL6=0.2, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| X-Asg-Debug-ID | 1596470827-0554134a2922ede90001-KlT975 |
| X-Barracuda-Envelope-From | deblis@lionunicorn.co.uk |
| X-Barracuda-Effective-Source-IP | cloud204.unlimitedwebhosting.co.uk[149.255.60.149] |
| X-Barracuda-Apparent-Source-IP | 149.255.60.149 |
| Authentication-Results | cloud204.unlimitedwebhosting.co.uk; spf=pass (sender IP is 70.179.160.248) smtp.mailfrom=deblis@lionunicorn.co.uk smtp.helo=axis.corp |
| Received-Spf | pass (cloud204.unlimitedwebhosting.co.uk: connection is authenticated) |
| X-Asg-Orig-Subj | Re: Bash question hard to formulate |
| Reply-To | debian-user@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Ppp-Message-ID | <20200803160706.819166.24884@cloud204.unlimitedwebhosting.co.uk> |
| X-Ppp-Vhost | lionunicorn.co.uk |
| X-Barracuda-Connect | cloud204.unlimitedwebhosting.co.uk[149.255.60.149] |
| X-Barracuda-Start-Time | 1596470827 |
| X-Barracuda-Encrypted | ECDHE-RSA-AES128-GCM-SHA256 |
| X-Barracuda-URL | https://149.255.60.66:443/cgi-mod/mark.cgi |
| X-Barracuda-Scan-Msg-Size | 1486 |
| X-Barracuda-Brts-Status | 1 |
| X-Barracuda-Spam-Score | 0.00 |
| X-Barracuda-Spam-Status | No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= |
| X-Barracuda-Spam-Report | Code version 3.2, rules version 3.2.3.83668 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/766115 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/20200803160632.GA8720@axis.corp |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 3 Aug 2020 11:06:33 -0500 |
| X-Original-Message-ID | <20200803160632.GA8720@axis.corp> |
| X-Original-References | <e551a700-cb2b-6b5f-fc31-37fb1ed44849@little-beak.com> <4ghkvg-399.ln1@anthive.com> <20200803081244.GC7052@tuxteam.de> <d7a5ce63-4d74-75eb-b07d-b6c551981f79@little-beak.com> |
| Xref | csiph.com linux.debian.user:225778 |
Show key headers only | View raw
On Mon 03 Aug 2020 at 11:30:42 (+0200), Esteban L wrote: > I am not typing return. I am typing in a sentence...As I receive new > output to the terminal window, and I continue typing, my text stream > just goes down a line. Which is fine, UNLESS I otherwise want to correct > something, and backspacing doesn't word wrap back to the previously > typed line. If characters are typed by a process while you're typing a command line, then naively trying to backspace over a newline will not work because bash has a different idea of where the cursor is from reality. If you just ignore said characters, the command line you typed will be unaffected, and will execute correctly when you press Return. > the main thing I want is, if I backspace into a sentence (as I am > receiving output to the terminal window and that i have not CR'ed), that > the incomplete sentence will re-show up on the active line, when I reach > the beginning of the that line. That's not going to work. When you "backspace into a sentence", you're rubbing out characters that *you* typed, even though the characters that are actually disappearing from the display are the ones that were displayed last, ie those output by the other process. If you want the characters that *you* typed to be re-shown, clean, on the command line, then pressing Ctrl-L is the correct way to do it. *Then* apply your corrections, using Backspace or the arrow keys as appropriate. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Bash question hard to formulate songbird <songbird@anthive.com> - 2020-08-03 06:50 +0200
Re: Bash question hard to formulate <tomas@tuxteam.de> - 2020-08-03 10:20 +0200
Re: Bash question hard to formulate songbird <songbird@anthive.com> - 2020-08-03 14:20 +0200
Re: Bash question hard to formulate David Wright <deblis@lionunicorn.co.uk> - 2020-08-03 18:10 +0200
csiph-web