Re: single quote "'" in bash xterm or lxterminal

2024-01-01 Thread David Wright
On Sun 31 Dec 2023 at 00:43:40 (-0600), Mike McClain wrote: > I > suspect logging into a system where you have no home for your primary > user might get interesting. That problem is simple to resolve. I have encrypted /home partitions on all my systems, but the root filesystem has a

Re: single quote "'" in bash xterm or lxterminal

2023-12-30 Thread Mike McClain
Mr. Wooledge, Long before I realized I could put /home/mike on a separate partition I started putting my stuff on a separate partition and just called it /mc. A couple of tomes I had different OS versions on the same hard drive so it made sense to keep the portions of my stuff that weren't OS

Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Max Nikulin
On 30/12/2023 09:14, Mike McClain wrote: Since some of these use a spinoff of xterm [ -n $DISPLAY ] is a little more generic than [ $TERM == xterm ], RaspberryPI has chosen lxterminal as their default which would would fail that test but still runs bash. I would expect that the reason of

Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Greg Wooledge
On Fri, Dec 29, 2023 at 08:14:37PM -0600, Mike McClain wrote: > As it turns out every line in /mc/bin/xterm_bindings that > was not a comment was problematic.From man readline or info readline > I saw this: bind '"\C-x\C-r": re-read-init-file' and that is the syntax > I used in xterm_bindings,

Re: single quote "'" in bash xterm or lxterminal

2023-12-29 Thread Mike McClain
In response to Greg Wooledge's message of Wed, 27 Dec. As it turns out every line in /mc/bin/xterm_bindings that was not a comment was problematic.From man readline or info readline I saw this: bind '"\C-x\C-r": re-read-init-file' and that is the syntax I used in xterm_bindings, as

Re: single quote "'" in bash xterm or lxterminal

2023-12-27 Thread Greg Wooledge
On Thu, Dec 28, 2023 at 09:15:52AM +0700, Max Nikulin wrote: > On 26/12/2023 23:57, Mike McClain wrote: > > Only when xterm_bindings has no executable lines in it does it not > > kill '"' in an X terminal window. > > The line that pulled it in was ; > > [ -n "$DISPLAY" ] && [ -f

Re: single quote "'" in bash xterm or lxterminal

2023-12-27 Thread Max Nikulin
On 26/12/2023 23:57, Mike McClain wrote: Only when xterm_bindings has no executable lines in it does it not kill '"' in an X terminal window. The line that pulled it in was ; [ -n "$DISPLAY" ] && [ -f /mc/bin/xterm_bindings ] && bind -f /mc/bin/xterm_bindings; I do not see anything that may

Re: single quote "'" in bash xterm or lxterminal

2023-12-26 Thread Mike McClain
You guys were rigt all along, I just couldn't see it. Greg's suggestion to try dash showed me the error of my ways. I moved .inputrc to no.inputrc, commented out the line in bash.environment that pulled in xterm_bindings, killed and restarted X and sure enough I had '"' in an lxterminal window. I

Re: single quote "'" in bash xterm or lxterminal

2023-12-26 Thread Max Nikulin
On 25/12/2023 12:31, Mike McClain wrote: In lxterminal control v displays "'" though lxterminal doesn't. Do xterm and lxterminal behave in a similar way? Is there something related to xterm *VT100*translations in the output of xrdb -query - I am unsure if there are terminal settings

Re: single quote "'" in bash xterm or lxterminal

2023-12-25 Thread Greg Wooledge
On Mon, Dec 25, 2023 at 12:35:37PM -0600, Mike McClain wrote: > root@RPI4b3:~> tty; echo $SHELL; echo "' " | hd For the record, $SHELL does not tell you what shell you're currently in. It tells you which login shell your account uses, or which shell you'd *like* to use when you launch a new xterm

Re: single quote "'" in bash xterm or lxterminal

2023-12-25 Thread Mike McClain
root@RPI4b3:~> tty; echo $SHELL; echo "' " | hd /dev/tty1 /bin/bash 27 20 0a |' .| 0003 mike@RPI4b3:~> tty; echo $SHELL; echo "' " | hd /dev/tty6 /bin/bash 27 20 0a |' .| 0003

Re: single quote "'" in bash xterm or lxterminal

2023-12-25 Thread Greg Wooledge
On Sun, Dec 24, 2023 at 11:31:09PM -0600, Mike McClain wrote: > I've examined /etc/inputrc, .inputrc, /etc/bash.bashrc, ~/.bashrc, > /etc/profile, /etc/profile.d/*, ~/.profile, ~/.bash_profile, OK, you've examined them... and... what did you *see* in them? When did this problem start to happen,

Re: single quote "'" in bash xterm or lxterminal

2023-12-24 Thread Mike McClain
This is reported by "xev" in response to the "'" key: KeyPress event, serial 48, synthetic NO, window 0x1e1, root 0x3af, subw 0x0, time 1860575, (170,-87), root:(1005,201), state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES, XLookupString gives 1 bytes: (27) "'"

Re: single quote "'" in bash xterm or lxterminal

2023-12-23 Thread tomas
On Sat, Dec 23, 2023 at 09:06:47PM -0500, Greg Wooledge wrote: > On Sun, Dec 24, 2023 at 09:01:09AM +0700, Max Nikulin wrote: > > On 24/12/2023 07:32, Mike McClain wrote: > > > when I > > > type a single quote "'" in bash xterm or lxterminal nothing shows. >

Re: single quote "'" in bash xterm or lxterminal

2023-12-23 Thread Greg Wooledge
On Sun, Dec 24, 2023 at 09:01:09AM +0700, Max Nikulin wrote: > On 24/12/2023 07:32, Mike McClain wrote: > > when I > > type a single quote "'" in bash xterm or lxterminal nothing shows. > > May it happen that you have dead keys in your keyboard configuration to ty

Re: single quote "'" in bash xterm or lxterminal

2023-12-23 Thread Max Nikulin
On 24/12/2023 07:32, Mike McClain wrote: when I type a single quote "'" in bash xterm or lxterminal nothing shows. May it happen that you have dead keys in your keyboard configuration to type characters with accents? I have never used this feature, so my guess may be wrong. Wh

Re: single quote "'" in bash xterm or lxterminal

2023-12-23 Thread Greg Wooledge
On Sat, Dec 23, 2023 at 06:32:35PM -0600, Mike McClain wrote: > I seldom use the command line while on the desk top since I keep 10 > VTs open for day to day tasks so only recently noticed that when I > type a single quote "'" in bash xterm or lxterminal nothing shows.

single quote "'" in bash xterm or lxterminal

2023-12-23 Thread Mike McClain
I seldom use the command line while on the desk top since I keep 10 VTs open for day to day tasks so only recently noticed that when I type a single quote "'" in bash xterm or lxterminal nothing shows. If I open a file for editing with jed, my favorite editor, I can type a si