Congratulations Katie!
I wanted to add my thanks to everyone for their comments. As someone who
doesn't post much but reads everything, I really appreciated the
information, especially Jeff's step-by-step bash script description. Those
of us mock-newbies* without specific questions also benefit fr
It's working Yay! My first shell script. :-)
Thanks everybody!
Katie
PS - Hey Ken, the mailer didn't mangle your message, I did. I was doing a
lot of cut and paste and I'm not as slick with the mouse as I like to
think I am. :-)
--- Ken Bloom <[EMAIL PROTECTED]> wrote:
> It had backslash
> ---ORIGINAL MESSAGE---
> Date: Thu, 30 Jan 2003 21:21:27 -0800 (PST)
> From: Katie <[EMAIL PROTECTED]>
> Subject: Re: [vox-tech] newbie annoyed with tin
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
>
> OK, here's what I've got
> ---ORIGINAL MESSAGE---
> Date: Thu, 30 Jan 2003 20:09:05 -0800
> From: Bill Kendrick <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [vox-tech] newbie annoyed with tin
> Reply-To: [EMAIL PROTECTED]
>
> On Thu, Jan 30, 2003 at 08:04:25PM -0800, Ka
On Thu, Jan 30, 2003 at 09:21:27PM -0800, Katie wrote:
> OK, here's what I've got:
>
> #!/bin/bash
>
> qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?"\
> "http://email.ucdavis.edu/news/news-succeed.html"\
^^
On Thu, 30 Jan 2003, Katie wrote:
> OK, here's what I've got:
>
> #!/bin/bash
>
> qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?"\
> "http://email.ucdavis.edu/news/news-succeed.html"\
> -force_secure -accept_all_cookies -auth="login:password" > /dev/null
>
> When I enter the fi
OK, here's what I've got:
#!/bin/bash
qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?"\
"http://email.ucdavis.edu/news/news-succeed.html"\
-force_secure -accept_all_cookies -auth="login:password" > /dev/null
When I enter the file name at the command line I get this message:
/hom
On Thu, Jan 30, 2003 at 08:09:05PM -0800, Bill Kendrick wrote:
> On Thu, Jan 30, 2003 at 08:04:25PM -0800, Katie wrote:
> >
> > #!bin/bash
In addition to Bill's remarks below, this line needs to be
#!/bin/bash
That is, an absolute path (starts with slash) rather than a relative
one.
> > echo qy
On Thu, Jan 30, 2003 at 08:04:25PM -0800, Katie wrote:
>
> #!bin/bash
> echo qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?";;
> "http://email.ucdavis.edu/news/news-succeed.html";;
> -force_secure -accept_all_cookies -auth="login:password" > /dev/null
>
> That's what's in my firs
Katie wrote:
> > Can someone show me step by step how to make this into a shell
> > script?
Bill Kendrick wrote:
> Well, show us what you've got.
#!bin/bash
echo qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?";;
"http://email.ucdavis.edu/news/news-succeed.html";;
-force_secure -
On Thu, Jan 30, 2003 at 11:05:31AM -0800, Katie wrote:
> I entered and saved the info in vi, changed the permissions using chmod
> a+x , tried to run it and nothing happened. I'm pretty sure
> it's in the search path.
When in doubt, go into the directory where the shell script is, and try:
./
I've never written a complex shell script before. I googled around and
found some sights that gave me a clue what to do. I followed what they
said and it didn't work.
I entered and saved the info in vi, changed the permissions using chmod
a+x , tried to run it and nothing happened. I'm pretty
> ---ORIGINAL MESSAGE---
> Date: Tue, 28 Jan 2003 20:29:32 -0800 (PST)
> From: Katie <[EMAIL PROTECTED]>
> Subject: Re: [vox-tech] newbie annoyed with tin
> To: voxt <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
>
> Katie wrote:
> > > I don't
Well, I did everything suggested, but when I put in tin -r it connects to
news.ucdavis.edu, but then gives me:
servers active-file contains no newsgroups
Exiting
and it takes me back to the command line. Does this have to do with what
I did?
There was already stuff in the .bashrc file, but I ad
on Tue, Jan 28, 2003 at 06:50:44PM -0800, Katie ([EMAIL PROTECTED]) wrote:
> >Katie wrote:
> > > Is there any way to set this up so I don't have to do the
> > > $ export NNTPSERVER=news.ucdavis.edu everytime I go to use tin?
>
> > From: Bill Kendrick <[EMAIL PROTECTED]>
> > Add "news.ucdavis.edu"
On Tue, Jan 28, 2003 at 06:50:44PM -0800, Katie wrote:
> Maybe I should replace "newbie" with "completely pathetic and clueless"?
Nah. After all, you are trying to learn instead of giving up.
> I don't have an /etc/news/server file. I tried to create one, but it
> didn't work. Most likely I d
Maybe I should replace "newbie" with "completely pathetic and clueless"?
I don't have an /etc/news/server file. I tried to create one, but it
didn't work. Most likely I did it wrong. How would I create
/etc/news/server?
I don't know how to set anything in my login script. :-(
My user name is
on Sat, Jan 25, 2003 at 04:13:37AM -0800, Rod Roark ([EMAIL PROTECTED]) wrote:
> On Saturday 25 January 2003 02:30 am, Katie wrote:
> > Oh wise and powerful rulers of linux, I grovel before
> > you seeking your wisdom.
>
> Cool. ;-)
>
> ...
> > I tried the tin -r, got a "cannot connect to server
katie,
try this:
$ export NNTPSERVER=news.ucdavis.edu
$ tin -r
see if that helps. this will only "work" as long as you're coming in
on ucd's modem pool. if you're using DSL, you'll have to use a
different news server.
just to let you know, some people like a newsreader named slrn. i have
a
Quoting Katie ([EMAIL PROTECTED]):
> 1. [...katie]$tin
> 2. this message flashed at the bottom of the screen
> really quickly:
>
> copyright...
> can't open /var/lib/news/active
> try tin -r to read news via NNTP
>
> 3. [...katie]$
By default (absent anything on the command line or user environ
On Saturday 25 January 2003 02:30 am, Katie wrote:
> Oh wise and powerful rulers of linux, I grovel before
> you seeking your wisdom.
Cool. ;-)
...
> I tried the tin -r, got a "cannot connect to server"
> message
I've not used tin in a couple of years -- somehow you'll
need to tell it what
On Sat, Jan 25, 2003 at 02:30:10AM -0800, Katie wrote:
>
> I tried the tin -r, got a "cannot connect to server"
> message. So I tried creating /var/lib/news/active.
> That didn't work either. 2am is a bad time to be
> dealing with this, maybe I just made a sloppy mistake.
> What do I do? :-(
Oh wise and powerful rulers of linux, I grovel before
you seeking your wisdom.
I wanted tin, so I downloaded it from the net. When I
tried to install it with KPackage I was told it needed
libncurses. So I downloaded and installed libncurses.
Then I installed tin. It seemed to be successful. I
23 matches
Mail list logo