Sponsored Content
Full Discussion: Pine
Top Forums UNIX for Advanced & Expert Users Pine Post 29173 by s_aamir on Tuesday 1st of October 2002 09:33:03 AM
Old 10-01-2002
Thanks for Information. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Xterm with Pine

Hello, Does anyone know why I'm not able to get colors in Pine when using Xterm, but I can get them using Dtterm? Any answers to this would be much appreciated. Radimus. (1 Reply)
Discussion started by: radimus
1 Replies

2. UNIX for Dummies Questions & Answers

Avoid spam in pine?

Hi there, for email we are using "pine" on SSH. is there any way to block junk mail on pine? i've been lookin for sumthin that allows me to block senders but all my efforts in vain. can sum1 help me on that? Thanks (1 Reply)
Discussion started by: a25khan
1 Replies

3. UNIX for Dummies Questions & Answers

Pine inbox

i have shell account at grex.org but i cannot get mauil with pine because the inbox cannot be found? any suggestion? (7 Replies)
Discussion started by: cogeek
7 Replies

4. UNIX for Dummies Questions & Answers

Trouble configuring Pine

I am having trouble confiuring pine. I have downloaded it on 2 computers 1 with freebsd and the other fedora and I am getting the same result in both. Both say "folder does not exist","no folder to open". I went into set up and configured personal name,user-domain,smtp-server,inbox-path. I know I... (1 Reply)
Discussion started by: m8trix
1 Replies

5. UNIX for Advanced & Expert Users

pine does'nt attach files

Hello All, I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)
Discussion started by: maybemedic
2 Replies

6. UNIX for Dummies Questions & Answers

pine

how to configure pine in my linux os (1 Reply)
Discussion started by: rajan_ka1
1 Replies

7. Solaris

problem installing pine

when i try to build pine unix tells me it can't find make # ./build xxx make args are CC=cc soc Including LDAP functionality ln: cannot create c-client: File exists ln: cannot create mtest: File exists ln: cannot create mailutil: File exists ln: cannot create imapd: File exists ln:... (0 Replies)
Discussion started by: vutty81
0 Replies

8. Shell Programming and Scripting

how to find pine messages

still touching on the basics here: first of all where are my received messages stored in pine? /var/spool/mymail is not it. i guess i cant start my script without knowing this. because i need to move those files into a seperate folder and so on and so forth. I can prolly do a... (0 Replies)
Discussion started by: oxoxo
0 Replies

9. Shell Programming and Scripting

Moving msgs in pine

hey im writing a script like this: #!/bin/bash #Name: moveMail #Purpose: To move some files in the pine inbox to a folder on the desktop #Step one: Find all messages with that have the subject "Hello" in them. #---------------------------------------------------------------------... (1 Reply)
Discussion started by: oxoxo
1 Replies

10. UNIX for Dummies Questions & Answers

Problem with Pine

I'm learning a little about pine after downloading it. I can't seem to get it to work, though. It can't open the inbox -- it sits there (as the little slash mark rotates) but after a while it stops and can't make the connection, with a message saying that "connection to gmail.pop....(something)... (0 Replies)
Discussion started by: Straitsfan
0 Replies
WRITETMP(8)						      System Manager's Manual						       WRITETMP(8)

NAME
writetmp - write special wtmp entries to a wtmp file. SYNOPSIS
writetmp [-w wtmp|-] [-X[3|4]] [-u user] [-l line] [-h host] [-i id] [-p pid] [-t type] [-c comment] [--help] [--version] [entry-type] DESCRIPTION
Writetmp is a utility to write special entries to a wtmp file. Useful as either a replacement for the functionality of the "halt -w" or "reboot -w" commands which are normally run at shutdown time or to write special wtmp entries to an alternate wtmp file to which such entries would normally not be written. Under normal conditions radius radtwmp or tacacs accounting logs do not contain shutdown and boottime entries because the access control software is not setup to take into account these events. In the case of a quick shutdown or server crash, the wtmp file(s) will lose coherency. To avoid or minimize the amount of accounting error, it is necessary to write shutdown and boottime entries to such logs. Also changes in time which are made manually with date or via the network with a program such as rdate are not reflected in the accounting logs, which, if the time difference is severe can improperly account time for logins active during the time change. If an entry-type is specified on the command line, the -u, -l, -h, -i, -p, -t and -c options are ignored as writetmp will fill in the user- name, line, id, and host entries as required for that particular wtmp entry-type. Writetmp understands the following entry types: shutdown used just prior to a normal system shutdown. Also accepts halt or reboot as aliases for shutdown. boottime used at system initialization time, to indicate the system is booting. oldtime Indicates the time is about to change. newtime Indicates the time has changed. The difference in time is determined from the timestamp on the last oldtime entry. runlevel Indicates a change in runlevel (useless in an accounting sense). OPTIONS
Writetmp understands the following command line switches: --help Outputs a verbose usage listing. --version Displays the version of writetmp. -w wtmp Select a different output file instead of the default (/var/log/wtmp). -X[3] Write to a wtmp file maintained by versions 3.3 or 3.4 Tacacs terminal server access control software. -X4 Write to a wtmp file maintained by version 4.0 of Tacacs terminal server access control software. -u user Specify the username for the username field. -l line Specify the tty name for the line field. -h host Specify the hostname. -i id Specify the init id name. Not applicable to tacacs wtmp files. -p pid Specify the pid number. Not appliccable to tacacs wtmp files. -t type Specify the type of wtmp entry for the ut_type field, not to be confused with entry-type. May be coded as a number or one of: unknown, runlevel, boottime, newtime, oldtime, init, login, user or dead. -c comment Specify the comment for the tacacs 4 wtmp comment field (16 characters max). EXAMPLES
Write a shutdown message to an alternate wtmp log: writetmp -w /var/adm/xtmp shutdown A shell script to update the time in an alternate wtmp file when netdate is run: #!/bin/sh writetmp -w /var/adm/xtmp oldtime netdate clock.llnl.gov writetmp -w /var/adm/xtmp newtime Find out how often and for how long people run a specific program, such as pine: #!/bin/sh # /var/adm/cmdtmp must be globally writable. cmdtmp=/var/adm/cmdtmp writetmp -w $cmdtmp -u pine -l cmd$$ -h $USER -t user /path/to/real-pine $* writetmp -w $cmdtmp -l cmd$$ -t dead FILES
/var/log/wtmp login database. AUTHOR
Steve Baker (ice@mama.indstate.edu) BUGS
Does not lock the wtmp file and does not guarantee a successful write. Could in theory corrupt a log file. Rdate and netdate can take seconds to complete, so writing oldtime/newtime records around them may not be entirely accurate. SEE ALSO
date(1), last(1), sac(8), netdate(8L), reboot(8) UNIX Manual WRITETMP(8)
All times are GMT -4. The time now is 06:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy