|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Shell problem unless running under Xorg
When using Zsh, repeating a command, editing a word or two results in inexact echoing of the cursor, so the result is a misspelled word or something with extra letters, a - apart from the parameter, extra parameters that may make no sense and break the command, etc.
A workaround is to Ctnl-Q it, do an ls, then what is about to be typed is echoed accurately before running it to see if it is what is intended. Another workaround is to do the commands in a terminal before exiting Xorg, which is easy enough, but not always convenient. A web search did not give any clue as to any similar problem for anyone else... Suggestions appreciated...
__________________
FreeBSD 13-STABLE |
|
|||
$TERM is xterm
................... To describe again: Code:
# cp -iv filea.txt fileb.txt /mnt know: Code:
cp -iv fileac.txt cp -iv fileactxt cp -iv filcatxt ... correspond to its actual editing position within the command line. Workaround: One can Code:
cntl-Q df once the df is shown, the newer command is also shown before it is run. Slower, works, but should be corrected...
__________________
FreeBSD 13-STABLE |
|
|||
Tested zsh with the cons25, no solution. Tested dvtm / screen / tmux (screen helped the most but was altogether a slower solution); then I decided to test putting the relevant zsh aliases (commands and directories) into .bashrc.
That more or less fixed it. If I'm to be doing a copy as in the revised post, I can simply type "bash" and the cursor problem is fixed. Some days there is a longer series of files to copy in zsh, all at once but not individually, and a set of three commands in that instance, from saved history in zsh, is easier to not have mistakes, as they are not edited [except one whole word sometimes ], but simply rerun again. Also learned how drop-in replaceable the .bashrc and .zshrc alias syntax is in the use case here. So 95 percent solved, anyway, as per the original post.
__________________
FreeBSD 13-STABLE |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Netbeans running application problem. | bsdnewbie999 | Programming | 7 | 2nd November 2015 10:44 PM |
Xorg problem | riotnrrd | FreeBSD General | 0 | 21st February 2012 04:29 PM |
Running a command as a different user w/o starting the login shell | Carpetsmoker | General software and network | 4 | 1st July 2011 10:33 PM |
Problem getting php running | badguy | OpenBSD General | 7 | 22nd July 2009 03:34 PM |
Shell colour problem | paul-lkw | FreeBSD General | 2 | 30th January 2009 09:55 AM |