Can anyone, please, think of an explanation, as to "why" Reverse Search is not working for me, in SuSE 9.0 ? thanks best wishes ____________ sent on Linux ____________
On Saturday 27 December 2003 1:32 am, pinto wrote:
Can anyone, please, think of an explanation, as to "why" Reverse Search is not working for me, in SuSE 9.0 ?
Could be a firewall. Fred -- "...Linux, MS-DOS, and Windows XP (also known as the Good, the Bad, and the Ugly)."
On Saturday 27 December 2003 06:30, Fred Miller wrote:
"why"
Reverse Search is not working for me, in SuSE 9.0 ? Could be a firewall.
Gee, thanks, Fred . . . how so . . . what might the firewall be doing ? { have stand-alone PC } -- best wishes ____________ sent on Linux ____________
-----Original Message-----
From: pinto
On Saturday 27 December 2003 06:30, Fred Miller wrote:
"why"
Reverse Search is not working for me, in SuSE 9.0 ? Could be a firewall.
Gee, thanks, Fred
. . . how so . . . what might the firewall be doing ? { have stand-alone PC } --
I too wondered how a firewall would interfere with doing a reverse search in a bash shell. Ken
On Saturday 27 December 2003 10:29 am, Ken Schneider wrote:
-----Original Message----- From: pinto
To: Date: Sat, 27 Dec 2003 13:49:31 +0000 Subject: Re: [SLE] Reverse Search ( Cntrl R ) On Saturday 27 December 2003 06:30, Fred Miller wrote:
"why"
Reverse Search is not working for me, in SuSE 9.0 ?
Could be a firewall.
_______________
Gee, thanks, Fred
. . . how so . . . what might the firewall be doing ? { have stand-alone PC } --
I too wondered how a firewall would interfere with doing a reverse search in a bash shell.
Ken ===============
I think many of us are wondering about this. I think maybe Fred should send the rest of us some of that stuff he was smoking. :o) Or maybe, it's just spending too much time searching up dirt on M$ that got him confused. Either way, Fred, take a vacation, relax, get a new perspective, it's obviously getting to you! Lee -- --- KMail v1.5.4 --- SuSE Linux Pro v9.0 --- Registered Linux User #225206 On any other day, that might seem strange...
[Heavily trimmed] On Sat 27 December 2003 23:42, BandiPat wrote:
On Saturday 27 December 2003 10:29 am, Ken Schneider wrote:
-----Original Message----- From: pinto
Reverse Search is not working for me, in SuSE 9.0 ?
Could be a firewall.
Gee, thanks, Fred
. . . how so . . . what might the firewall be doing ? { have stand-alone PC } --
I too wondered how a firewall would interfere with doing a reverse search in a bash shell.
Ken
===============
I think many of us are wondering about this. I think maybe Fred should send the rest of us some of that stuff he was smoking. :o)
I suspect that Fred saw the word "search" and assumed it was something todo with searching on the web... maybe searching backwards. (i.e. enter the result and then find the query... 8) ) -- GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
The Sunday 2003-12-28 at 10:46 +0100, jalal wrote:
I suspect that Fred saw the word "search" and assumed it was something todo with searching on the web... maybe searching backwards. (i.e. enter the result and then find the query... 8) )
No, reverse dns lookup or search. Mr Pinto should have specified "bash command line history reverse search", so it is not Mr. Fred fault to guess wrongly. But many of us saw the question posted earlier on another thread. -- Cheers, Carlos Robinson
Are you sure you're using bash? What happens when you type CTRL-R? -- Snowblink: http://www.snowblink.co.uk/
* pinto
On Saturday 27 December 2003 08:02, Jonathan Lim wrote:
What happens when you type CTRL-R?
~ the screen shows : (reverse-i-search)' ':
And what shows if following the <ctrl><r> you type the beginning of the command you are searching for ?? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
On Saturday 27 December 2003 14:07, Patrick Shanahan wrote:
And what shows if following the <ctrl><r> you type the beginning of the command you are searching for ??
it shows some command, containing the 'first' letter typed, but. it does NOT allow one to type the first 2 or 3 letters :( -- best wishes ____________ sent on Linux ____________
* pinto
it shows some command, containing the 'first' letter typed, but. it does NOT allow one to type the first 2 or 3 letters :(
Sure it will, but will not accomplish anything unless the command exists in history. Try typing: history<enter> then <ctrl><r> then his report back to the list the results... -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
On Saturday 27 December 2003 20:49, Patrick Shanahan wrote:
Sure it will, but will not accomplish anything unless the command exists in history.
Try typing: history<enter> then <ctrl><r> then his
Giant stride :) ~ thank you Patrick . . . History showed 96 commands, BUT, nowhere did it show :- < shutdown -r now > SusE vers 8.0 ____________ history shows 533 commands, including < shutdown -r now > SuSE vers 9.0 _____________ history shows 96 commands, but nowhere < shutdown -r now > So, it seems that SuSE 9.0 history does not register shutdown commands best wishes Richard ____________ sent on Linux ____________
* pinto
Giant stride :) ~ thank you Patrick
. . . History showed 96 commands, BUT, nowhere did it show :-
< shutdown -r now >
SusE vers 8.0 ____________
history shows 533 commands, including < shutdown -r now >
SuSE vers 9.0 _____________
history shows 96 commands, but nowhere < shutdown -r now >
So, it seems that SuSE 9.0 history does not register shutdown commands
It might if you tried root's history. Shutdown is not available to user. /sbin/shutdown -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org
On Saturday 27 December 2003 22:27, Patrick Shanahan wrote:
history shows 96 commands, but nowhere < shutdown -r now >
So, it seems that SuSE 9.0 history does not register shutdown commands
It might if you tried root's history.
Yes ~ that was root's history Root's history in SuSE 9.0 does NOT show any shutdown commands -- best wishes ____________ sent on Linux ____________
The Saturday 2003-12-27 at 22:32 -0000, pinto wrote:
Root's history in SuSE 9.0 does NOT show any shutdown commands
So... lets be specific. Does ^R not show _any_ command previously entered by typing its first three letters, or simply it doesn't show _one_ precise command, namely the last one typed, ie, shutdown? The question is very different, and may not have anything with bash history, but maybe being killed before having a chance to save it. -- Cheers, Carlos Robinson
On Monday 29 December 2003 02:29, Carlos E. R. wrote:
it doesn't show _one_ precise command, namely the last one typed, ie, shutdown?
SuSE 9.0 _________ Reverse Search ( Cntrl R ) does not show < shutdown > best wishes ____________ sent on Linux ____________
Why not check .bash history? -----Original Message----- From: pinto [mailto:pinto45@aig.forthnet.gr] Sent: Monday, December 29, 2003 9:13 AM To: SuSE List Subject: Re: [SLE] Reverse Search ( Cntrl R ) On Monday 29 December 2003 02:29, Carlos E. R. wrote:
it doesn't show _one_ precise command, namely the last one typed, ie, shutdown?
SuSE 9.0 _________ Reverse Search ( Cntrl R ) does not show < shutdown > best wishes ____________ sent on Linux ____________ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 29 December 2003 12:32, fareed@iplex.co.zw wrote:
Why not check .bash history?
As "root", in SuSE 9.0 , history does not 'absorb' < shutdown > It has not been pushed out ~ there are only about 100 items in root's 'history' ~ maybe in SuSE 9.0 "shutdown" is not an historical event :-O -- best wishes ____________ sent on Linux ____________
On Mon, Dec 29, 2003 at 01:14:20PM +0000 or thereabouts, pinto wrote:
On Monday 29 December 2003 12:32, fareed@iplex.co.zw wrote:
Why not check .bash history?
As "root", in SuSE 9.0 , history does not 'absorb' < shutdown >
It has not been pushed out ~ there are only about 100 items in root's 'history'
~ maybe in SuSE 9.0 "shutdown" is not an historical event :-O
Interesting, and strange... If you use that command often, why not just make it an alias? A couple of keystrokes would save you all that typing, and I dare say would be less keystrokes than using ^R ..... <g> -- Gary
On Mon, 2003-12-29 at 08:23, Gary wrote:
On Mon, Dec 29, 2003 at 01:14:20PM +0000 or thereabouts, pinto wrote:
On Monday 29 December 2003 12:32, fareed@iplex.co.zw wrote:
Why not check .bash history?
As "root", in SuSE 9.0 , history does not 'absorb' < shutdown >
It has not been pushed out ~ there are only about 100 items in root's 'history'
~ maybe in SuSE 9.0 "shutdown" is not an historical event :-O
Interesting, and strange... If you use that command often, why not just make it an alias? A couple of keystrokes would save you all that typing, and I dare say would be less keystrokes than using ^R ..... <g>
Or simply issue init 0 to shutdown init 6 to reboot Also, when using shutdown -h now you do not allow root to log out which is required to save commands to the history file for any user. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
On Monday 29 December 2003 13:52, Kenneth Schneider wrote:
init 0 to shutdown
init 6 to reboot
__________________________ thanks.
Also, when using shutdown -h now you do not allow root to log out which is required to save commands to the history file for any user.
Mysteriously, in SuSE 8.0 root shutdown commands become 'historical' , for bash history :) best wishes ____________ sent on Linux ____________
On Monday 29 December 2003 13:52, Kenneth Schneider wrote:
init 0 to shutdown
init 6 to reboot
__________________________
thanks.
Also, when using shutdown -h now you do not allow root to log out which is required to save commands to the history file for any user.
Mysteriously, in SuSE 8.0 root shutdown commands become 'historical' , for bash history :)
best wishes
____________
sent on Linux
____________ -- Ken Schneider unix user since 1989
<flame suit on> Yet another person that cannot figure out that the person responding to a question gets 2 replys when they do a reply to all -instead- of a reply just to the list. Please only reply to the list unless asked to reply personally. Do not "Reply to All", like pinto did, unless you have to and then edit the To: line so that only the list shows. VVVVV On Mon, 2003-12-29 at 09:37, pinto wrote: linux user since 1994 SuSE user since 1998 (5.2)
On Monday 29 December 2003 13:23, Gary wrote:
If you use that command often, why not just make it an alias?
Dear Gary, thanks ~ how would one do this ? . . . by writing a tiny script ? thanks best wishes ____________ sent on Linux ____________
On Mon, Dec 29, 2003 at 02:32:09PM +0000 or thereabouts, pinto wrote:
On Monday 29 December 2003 13:23, Gary wrote:
If you use that command often, why not just make it an alias?
Dear Gary,
thanks ~ how would one do this ? . . . by writing a tiny script ?
By adding an alias to your .bashrc file... (root) ... so in my v8.2 #root> locate .bashrc /etc/bash.bashrc go in there, edit the .bashrc file, and add an alias at the bottom for example.. to use sd as an alias for shutdown -h now alias sd='shutdown -h now' then anytime while in a root shell, you type sd, (or whatever you want to use), it will execute your full command. <g> You can add any amount of aliases to your home .bashrc file too. Saves a lot of time for frequently typed entries.. OR.. You can make a .alias file in your home dir, and probably the root dir, listing all your personal aliases. -- Gary
On Mon, Dec 29, 2003 at 05:06:57PM +0000 or thereabouts, pinto wrote:
On Monday 29 December 2003 15:30, Gary wrote:
alias sd='shutdown -h now'
~ Gee, thanks, Gary . . . that's neat :)
You are most welcome, just pass the ouzo hee, hee... the alias possibilities are endless, based on your imagination.. -- Gary
The Monday 2003-12-29 at 13:14 -0000, pinto wrote:
Why not check .bash history?
As "root", in SuSE 9.0 , history does not 'absorb' < shutdown >
It has not been pushed out ~ there are only about 100 items in root's 'history'
Mine (8.2) has a thousand items. Increase that number, if you like.
~ maybe in SuSE 9.0 "shutdown" is not an historical event :-O
Maybe not. Bash dies before history is written. -- Cheers, Carlos Robinson
On Mon, 2003-12-29 at 02:13, pinto wrote:
On Monday 29 December 2003 02:29, Carlos E. R. wrote:
it doesn't show _one_ precise command, namely the last one typed, ie, shutdown?
SuSE 9.0 _________
Reverse Search ( Cntrl R ) does not show < shutdown >
Either because the logged in user never issued the command or to many commands have been issed since that it has been pushed out of the buffer and is no longer available with <ctrl-R>. shutdown should -not- be available to an ordinary user anyway. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
The Monday 2003-12-29 at 07:13 -0000, pinto wrote:
On Monday 29 December 2003 02:29, Carlos E. R. wrote:
it doesn't show _one_ precise command, namely the last one typed, ie, shutdown?
SuSE 9.0 _________
Reverse Search ( Cntrl R ) does not show < shutdown >
Browse the file '/root/.bash_history'. Most probably, "shutdown" is not there, therefore, there is nothing wrong with "^R" in bash. My guess is that the terminal or console is killed forcibly before bash can save its own history. Or, you have typed so many commands on the next session that it shot out of the file. Or you have another open terminal that does save its own history overwriting the one that had "shutdown" on it. Browsing the file just after booting up might clarify what happened, if you remember what you typed before the last command. If that is a problem for you, create a '/root/bin/haltscript' file containing the precise shutdown command you need. -- Cheers, Carlos Robinson
On Saturday 27 December 2003 1:53 pm, pinto wrote:
(reverse-i-search)' ':
Perfect. What were you expecting? -- Snowblink: http://www.snowblink.co.uk/
pinto
Can anyone, please, think of an explanation, as to "why" Reverse Search is not working for me, in SuSE 9.0 ?
Describe how others can reproduce the problem, i.e. which terminal emulator you use, which locales, keyboard mapping, ... As you have probably noticed, other people don't have the problem. -- A.M.
On 27 Dec 2003 15:20:30 +0100, Alexandr Malusek
Can anyone, please, think of an explanation, as to "why" Reverse Search is not working for me, in SuSE 9.0 ?
Describe how others can reproduce the problem, i.e. which terminal emulator you use, which locales, keyboard mapping, ...
As you have probably noticed, other people don't have the problem.
... i suspect it's O.E. :) (based on a most recent reply) -- << http://michaeljtobler.homelinux.com/ >> When you try to make an impression, the chances are that is the impression you will make.
On Saturday 27 December 2003 14:20, Alexandr Malusek wrote:
Describe how others can reproduce the problem, i.e. which terminal emulator you use, which locales, keyboard mapping, ...
this happens logged on as root, at run-level 3, at console. Locale :- LANG=POSIX LC_CTYPE=en_US LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= ..................... Keyboard mapping US_English with greek as 2nd language thank you kindly. ____________ sent on Linux ____________
participants (15)
-
Alexandr Malusek
-
BandiPat
-
Carlos E. R.
-
fareed@iplex.co.zw
-
Fred Miller
-
Gary
-
Gary
-
Gary
-
jalal
-
Jonathan Lim
-
Ken Schneider
-
Kenneth Schneider
-
mjt
-
Patrick Shanahan
-
pinto