Re: FreeBSD 7.0 on Sun Sparc U30 - csh PS1, X stuff, ports qref, noob stuff.



s. keeling <keeling@xxxxxxxxxxx>:
jpd <read_the_sig@xxxxxxxxxxxxxxxxxxxxxx>:
Begin <slrnftp36g.2oh.keeling@xxxxxxxxxxxxxxxxxxxx>
On Sun, 16 Mar 2008 03:59:04 +0100 (CET),
s. keeling <keeling@xxxxxxxxxxx> wrote:
I'm a csh idiot. How do I tell csh to make my prompt:

(0) phreaque [root] /root_

where "($?) `/bin/hostname -s` [$user] `pwd`" would be the working

If you'll accept having tcsh do the substitutions instead of running
the actual commands each time it generates a prompt, the manpage detailing
set prompt gives a pretty good overview. You'll want %/, %m, %n and %?.

Sigh. I was looking for PS1 when I should have been looking for prompt.
Much better. Much appreciated and serendipitously, those work in zsh too.

Does Firefox work in Sparc 64? Running it (incl. CLI) just dumps
core. Text browsers work fine.

I've cd'd to /usr/ports/... and make && make install with some
success. xscreensaver dumps core but xlockmore works fine. Yay, I
can run flame! wmaker is a much more usable wm for me, thanks for
providing it. Where's fluxbox and gkrellm and irssi? :-)

Fun system. From a Debianista to *BSDers, what're equivalents:

- dpkg -l | grep blah

- aptitude search gkrell

- aptitude update && aptitude upgrade && aptitude dist-upgrade

- aptitude remove blah

- reportbug

I know I can cd /usr/ports and run find, but are there better ways,
especially when blah doesn't appear to be there? Freshmeat ...

Appreciate the help.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
.



Relevant Pages

  • Re: Hash of array access tricks. Sorry, long.
    ... keeling wrote: ... The reason it told you to define $prompt is ... also have a voucher for a token that can get me on the subway. ...
    (comp.lang.perl.misc)
  • Re: Why doesnt pon execute in xterm window
    ... keeling wrote: ... >>new prompt but it doesn't do anything. ... su] it doesn't work in the xterm window.. ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • System.Windows.Forms namespace
    ... Why my C# program (COM dll which I can call from C++ application) ... cannot see namespace ... prompt is Web, so I cannot use in my program something like ... MessageBox.Show("blah, blah, blah"); ...
    (microsoft.public.dotnet.languages.csharp)