Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242949

Re: changed file while editing

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: changed file while editing
Date 2021-12-11 07:40 +0100
Message-ID <Dt4d3-8n2-1@gated-at.bofh.it> (permalink)
References <DsWIy-3L1-13@gated-at.bofh.it> <DsWIy-3L1-11@gated-at.bofh.it> <Dt0VP-6mp-1@gated-at.bofh.it> <Dt4d3-8n2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/10/21 7:44 PM, mick crane wrote:
> On 2021-12-11 03:07, David Wright wrote:
>> On Fri 10 Dec 2021 at 22:37:22 (+0000), mick crane wrote:
>>> hello
>>> please excuse basic lack of understanding.
>>> I try to write some program in Perl I would find useful.
>>> Use of editing is very basic and usually I get by with vi/vim
>>> recently I try to get used to Nano.
>>> In another virtual terminal if copy one file to another or something,
>>> the command line words just now got randomly inserted into the file
>>> I'm editing in other virtual terminal.
>>> Which is distressing.
>>> I'm hoping it's just fat fingers and I managed to make some macro I
>>> didn't know about.
>>> What bothers me is that it seems random where the words go and wonder
>>> if opening 2 files in Nano share the same buffer or something and it
>>> gets mixed up. Is not a problem I saw before.
>>> Any explanation for that ?
>>
>> Well, I know nothing about XFCE terminals, but the obvious thing to
>> check first is that your TERM settings are correct, otherwise the
>> terminals, and nano, might not agree with you on where the cursor
>> is, and where any inserted characters are heading for.
>>
>> ^L is always useful for restoring some sort of sanity, but only for
>> as long as it remains the last keystroke you typed.
>>
>> If that's not the cause, then I think a more precise narrative is
>> necessary for understanding what it is that you're actually doing.
>>
>> Advanced notice of next suggestion: are you typing vim commands
>> into nano? (Easily done.)
> 
> I do find myself going to type Esc i and Esc d a bit.
> When I closed all the terminals down there was something about a 
> background process is still running.
> I think I must have started some process was alive in the other terminal 
> somehow.
> Was very disconcerting.
> There was something about the terminal shortcuts overriding other 
> shortcuts in MC as well and I think I've disabled all the terminal 
> shortcuts via the graphical xfce xterm settings menu


I adjust the Xfce Terminal settings by opening a Terminal, 
right-clicking on the Terminal window, and clicking Preferences on the 
pop-up menu:

General
   Command
     Run command as login shell -> check
     Run a custom command instead of my shell -> uncheck
   Scrolling
     Scroll on output -> uncheck
     Scroll on keystroke -> check
     Scrollbar is -> On the right side
     Unlimited scrollback -> check
Appearance
   Font
     -> Monospace Regular 9
     Use system font -> uncheck
     Allow bold text -> uncheck
   Opening New Windows
     Display menubar in new windows -> uncheck
     Display toolbar in new windows -> uncheck
     Display borders around new windows -> check
Compatibility
   Backspace key generates -> Auto-detect
   Delete key generates -> Auto-detect
   Ambiguous-width characters -> Narrow
Advanced
   Encoding
     Default character encoding -> Default (ANSI_X3.4-1968)
   Shortcuts
     Disable all menu access keys -> check
     Disable menu shortcut key -> check
     Disable help window shortcut key -> check
   Misc
     Use middle mouse click to close tabs -> uncheck
     Auto-hide mount pointer -> check
     Rewrap terminal contents on resize -> check
     Automatically copy select to clipboard -> uncheck


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

changed file while editing mick crane <mick.crane@gmail.com> - 2021-12-10 23:40 +0100
  Re: changed file while editing David Christensen <dpchrist@holgerdanske.com> - 2021-12-11 02:20 +0100
    Re: changed file while editing mick crane <mick.crane@gmail.com> - 2021-12-11 02:40 +0100
  Re: changed file while editing David Wright <deblis@lionunicorn.co.uk> - 2021-12-11 04:10 +0100
    Re: changed file while editing David Christensen <dpchrist@holgerdanske.com> - 2021-12-11 07:40 +0100
      Re: changed file while editing David Christensen <dpchrist@holgerdanske.com> - 2021-12-11 20:00 +0100
        Re: changed file while editing Greg Wooledge <greg@wooledge.org> - 2021-12-16 21:40 +0100
        Re: changed file while editing David Christensen <dpchrist@holgerdanske.com> - 2021-12-17 04:40 +0100
      Re: changed file while editing David Wright <deblis@lionunicorn.co.uk> - 2021-12-11 20:50 +0100
        Re: changed file while editing "Roy J. Tellason, Sr." <roy@rtellason.com> - 2021-12-12 00:10 +0100
          Re: changed file while editing Greg Wooledge <greg@wooledge.org> - 2021-12-12 00:30 +0100
            Re: changed file while editing The Wanderer <wanderer@fastmail.fm> - 2021-12-12 00:30 +0100
              Re: changed file while editing David Christensen <dpchrist@holgerdanske.com> - 2021-12-12 01:40 +0100
              WM focus, was Re: changed file while editing David Wright <deblis@lionunicorn.co.uk> - 2021-12-12 03:00 +0100
                Re: WM focus, was Re: changed file while editing <tomas@tuxteam.de> - 2021-12-12 09:30 +0100
            Re: changed file while editing "Roy J. Tellason, Sr." <roy@rtellason.com> - 2021-12-12 18:40 +0100
        Re: changed file while editing Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-12 10:00 +0100

csiph-web