Author |
Message |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: Thu 12 May 2011, 15:43 Post subject:
|
|
edited out
Aitch
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Sat 21 May 2011, 15:26 Post subject:
Re: OT |
|
L18L wrote: | @jpeps
Code: | ~ printf "\x54\x68\x61\x6E\x6B \x79\x6F\x75\n" | :) |
How do you guys get the characters to hexadecimal?
I just wrote a little utility to do it. I hope you like it.
It is new - as in a few minutes old.
Report bugs.
Use like this
echo char a cters | char2hex
or
cat filename.txt | char2hex
Code: | #include <stdio.h>
main() {
int ch;
while((ch=getchar()) != EOF) {
if ( ch == 10 ) {
printf ("0a ");
continue;
}
printf ("%0x ", ch);
}
}
|
To make your own binary
gcc char2hex.c -o char2hex
~
_________________ New! Puppy Linux Links Page
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3450 Location: www.eussenheim.de/
|
Posted: Sat 21 May 2011, 17:12 Post subject:
Re: OT Subject description: character sets |
|
Bruce B wrote: | L18L wrote: | @jpeps
Code: | ~ printf "\x54\x68\x61\x6E\x6B \x79\x6F\x75\n" |  |
How do you guys get the characters to hexadecimal?
|
I was looking up in:
XML in a Nutshell
by Elliotte Rusty Harold and W. Scott Means
ISBN 0-59600058-8
Chapter 23
Character Sets
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Sat 21 May 2011, 17:20 Post subject:
|
|
All this is very fun and most likely very handy to be able to do but every time me get overly excited that finally I will be able to run Chromium as Spot then it is about some cute char one can make
No criticism guys.
Could we maybe within reasonable time get back on running puppy as spot. ?
No hurry, what about Monday next week or so
In another thread I learned that Chromium refuse to work if it is root.
So we need to get a reliable way to tell it we are not root running it.
Now I have a version that Terryphi made and all kudos to him and others for doing such hacking but it would also be good if we could get it to run without hacking it. They upload upgrades when they find bugs and to wait for some Dev to hack it again is not a good solution.
Is it related to ask. What is the difference between Spot and Fido?
Latest woof seems to include Fido? Could that help out with running an unaltered Chromium or is Spot the most likely way to satisfy the No Evil Peeeeple at Google?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Sat 21 May 2011, 18:15 Post subject:
|
|
nooby wrote: | No criticism guys |
So we can talk about what we want? Thank you.
There might not be much difference between users.
cat /etc/passwd
Then the compare the differences between the two users.
~
_________________ New! Puppy Linux Links Page
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Sat 21 May 2011, 18:24 Post subject:
|
|
nooby wrote: | So we need to get a reliable way to tell it we are not root running it. |
Try it first like this
su spot
/path/foo/bar/to/chromium
Report back when you are happy with us
~
_________________ New! Puppy Linux Links Page
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Sun 22 May 2011, 04:17 Post subject:
|
|
Report back when you are happy with us
I am very happy with you guys!
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3450 Location: www.eussenheim.de/
|
Posted: Mon 23 May 2011, 08:11 Post subject:
Run puppy as spot |
|
nooby wrote: | Could we maybe within reasonable time get back on running puppy as spot. ?
No hurry, what about Monday next week or so
...
Is it related to ask. What is the difference between Spot and Fido?
...
Latest woof seems to include Fido?...
|
This is Monday now.
I think that Run puppy as spot is deprecated or so now.
Difference between spot and fido
spot is the older one, used for hiawatha webserver
fido is the new one, can be used to run puppy as fido. Highly experimental. Barry has given the tools and we can play with it.
Yes, the official way to run non-root is fido
Latest wary will give you the choice to run it as root or as fido. This choice has to be made once and there is no way of return.
Cheers
fido
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Mon 23 May 2011, 10:04 Post subject:
|
|
Quote: | Yes, the official way to run non-root is fido
Latest wary will give you the choice to run it as root or as fido. This choice has to be made once and there is no way of return.
Cheers
fido |
Fido do what fido says he will do. Run as non root
So will Chromium then accept Puppy as trusty linux distro if I present myself as Fido
I have fido on Wary and Snow and Ice? and maybe one more not sure.
Then I have Spot on Browsersafe by Micko and Spot from a thread earlier.
So I have tried to use it but on my level it was not easy at all.
But what you say here " there is no way of return." that is a truth only for that install of that browser. AFAIK you can always do ctrl+alt-bckspace and then do su root something and then install a browser that accept to be run from root. So one don't have to reboot only go out to promt.
No big deal. The problem is to get all the permissions right what it is allowed to do and not allowed to.
We have none at the moment that work on it do we?
http://bkhome.org/blog/?viewDetailed=02299
_________________ I use Google Search on Puppy Forum
not an ideal solution though
Last edited by nooby on Mon 23 May 2011, 10:53; edited 1 time in total
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15556 Location: Paradox Realm
|
Posted: Mon 23 May 2011, 10:26 Post subject:
|
|
Wary RC is the latest Fido enabled release and Barry is not recommending the use of Fido - yet
(however it is there for examination, experimentation and development)
http://bkhome.org/blog/?viewDetailed=02299
_________________ Puppy on Raspberry Pi Release Candidate
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
Last edited by Lobster on Mon 23 May 2011, 16:59; edited 1 time in total
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Mon 23 May 2011, 10:57 Post subject:
|
|
Can we all agree on this then?
But what you say here " there is no way of return." that is a truth only for that install of that browser.
AFAIK you can always do ctrl+alt-backspace and then do su root something and then install a browser for root to use.
So one don't have to reboot only go out to prompt and tell one want to be root and old trusty puppy looks normal again?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Mon 23 May 2011, 16:52 Post subject:
|
|
nooby wrote: | Can we all agree on this then?
But what you say here " there is no way of return." that is a truth only for that install of that browser.
AFAIK you can always do ctrl+alt-backspace and then do su root something and then install a browser for root to use.
So one don't have to reboot only go out to prompt and tell one want to be root and old trusty puppy looks normal again? |
If you're in spot, you can probably just type "exit" and be back in root. Check using "whoami"
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Tue 24 May 2011, 07:47 Post subject:
|
|
jpeps that worked very well
What is more problematic is that one are not allowed to just start firefox. Most likely one need to install FF and give Spot or Fido the permission to use it first.
I guess that is how it worked on the Ms Windows Vista too? Only that that was some two years ago and I fail to remember such details.
And here is the Catch 22. Fido and Spot is not officially supported yet. Built in only so Devs can have a go and test it out and fix all the bugs so us that are inpatient have none to ask how to. Too early
My worst fear is that Spot is too restricted compared to any other user on Ubuntu so that people migrating will feel had for not getting a real thing only a Fido or Spot that behave in a way them not accustom to?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Tue 24 May 2011, 09:41 Post subject:
|
|
nooby wrote: | jpeps that worked very well
What is more problematic is that one are not allowed to just start firefox. Most likely one need to install FF and give Spot or Fido the permission to use it first.
I guess that is how it worked on the Ms Windows Vista too? Only that that was some two years ago and I fail to remember such details.
And here is the Catch 22. Fido and Spot is not officially supported yet. Built in only so Devs can have a go and test it out and fix all the bugs so us that are inpatient have none to ask how to. Too early
My worst fear is that Spot is too restricted compared to any other user on Ubuntu so that people migrating will feel had for not getting a real thing only a Fido or Spot that behave in a way them not accustom to? |
FF and Chromium should work in Spot or Root. The .mozilla folder needs to be in $HOME, but it starts. (then again, I installed FF from a download onto my HD)
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Tue 24 May 2011, 09:53 Post subject:
|
|
Nooby, it is very simple.
I changed my JWM task bar browser instructions to read like this
exec:su -c /opt/firefox/firefox spot
After which, it is seamless, you wouldn't know if you are running the
browser as root or spot. Except your download and save files will be in
a directory owned by spot. Or if you make an outside directory, spot
needs permissions.
~
_________________ New! Puppy Linux Links Page
|
Back to top
|
|
 |
|