f



configuring xclock

Recently upgraded to Solaris 9, and trying to figure out how to
replace my OWclock, which I had set up to give me nice little box with
Zulu time, digital format, showing seconds.

Trying to figure out how to configure the x resources or the command
line to get xclock to show me what I need... specifically, a display
format other than the standard 'date' or 'date +%C' output.  I need
output that looks (ideally) like
'date "+ %y/%j%n%T"'

Thanks in advance for your kind assistance.
0
lewis
2/10/2004 9:13:04 PM
comp.unix.solaris 26002 articles. 1 followers. Post Follow

5 Replies
902 Views

Similar Articles

[PageSpeed] 21

Lewis wrote:
> Recently upgraded to Solaris 9, and trying to figure out how to
> replace my OWclock, which I had set up to give me nice little box with
> Zulu time, digital format, showing seconds.
> 
> Trying to figure out how to configure the x resources or the command
> line to get xclock to show me what I need... specifically, a display
> format other than the standard 'date' or 'date +%C' output.  I need
> output that looks (ideally) like
> 'date "+ %y/%j%n%T"'
> 
> Thanks in advance for your kind assistance.

You can't.  The man page clearly states your only options are "-analog"
and "-digital".  No resources are listed for further formatting.
You'll need another clock app to get the kind of control over the
format you want.  Don't know of one off the top of my head.

                                 Chris Mattern

0
Chris
2/10/2004 9:55:26 PM
Lewis wrote:
> Recently upgraded to Solaris 9, and trying to figure out how to
> replace my OWclock, which I had set up to give me nice little box with
> Zulu time, digital format, showing seconds.

If you have another machine running an older Solaris, copy
the openwindow's clock program to your machine, it should work fine.
It should also be in the Solaris 8 CDs (or older)

0
Oscar
2/10/2004 11:02:06 PM
lewis@city-net.com (Lewis) writes in comp.unix.solaris:
|Recently upgraded to Solaris 9, and trying to figure out how to
|replace my OWclock, which I had set up to give me nice little box with
|Zulu time, digital format, showing seconds.
|
|Trying to figure out how to configure the x resources or the command
|line to get xclock to show me what I need... specifically, a display
|format other than the standard 'date' or 'date +%C' output.  I need
|output that looks (ideally) like
|'date "+ %y/%j%n%T"'

It's undocumented, but if you're in any locale other than C it will
honor the CFTIME environment variable, so you can do something like
	env LC_ALL="en_US" CFTIME="%y/%j %T" xclock

(%n will just insert a space, not a line break - you can't get it
to go to multiple lines in the Solaris version.)

-- 
________________________________________________________________________
Alan Coopersmith                              alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.
0
Alan
2/11/2004 12:23:49 AM
Alan Coopersmith <alanc@alum.calberkeley.org> writes in comp.unix.solaris:
|It's undocumented, but if you're in any locale other than C it will
|honor the CFTIME environment variable, so you can do something like
|	env LC_ALL="en_US" CFTIME="%y/%j %T" xclock

There should be a -d or -digital on the end of that of course.

-- 
________________________________________________________________________
Alan Coopersmith                              alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.
0
Alan
2/11/2004 2:20:30 AM
Alan Coopersmith <alanc@alum.calberkeley.org> wrote in message news:<c0c3he$1nkf$1@agate.berkeley.edu>...
> Alan Coopersmith <alanc@alum.calberkeley.org> writes in comp.unix.solaris:
> |It's undocumented, but if you're in any locale other than C it will
> |honor the CFTIME environment variable, so you can do something like
> |	env LC_ALL="en_US" CFTIME="%y/%j %T" xclock
> 
> There should be a -d or -digital on the end of that of course.

Thanks, Alan, that answer works for me.  I put together a shell script,

#!/bin/sh
env TZ=Zulu LC_ALL="en_US" CFTIME="%y/%j %T" xclock -d -update 1 &

which gives me just what I need.  Thanks again!
0
lewis
2/11/2004 7:01:51 PM
Reply:

Similar Artilces:

Question: C2 Security Configuration for general Unix and Solaris/Trusted Solaris (Auditing)
While reviewing the DoD 5200.28-STD "DEPARTMENT OF DEFENSE TRUSTED COMPUTER SYSTEM EVALUATION CRITERIA" document and looking over "Security Requirements for Automatic Data Processing (ADP) Systems," for Federal systems requiring C2 compliance I realized that I do not understand the distinction between Solaris and Trusted Solaris. On the issue of Accountability(auditing) 1. Can Unix machines using only the syslogd facility meet 'C2' or higher? 2. Does Trusted Solaris offer any system resource advantage (CPU and Disk utilization) over Solaris usi...

Configuring Unix to meet or exceed C2 requirements and why use Trusted Solaris?
While reviewing the DoD 5200.28-STD "DEPARTMENT OF DEFENSE TRUSTED COMPUTER SYSTEM EVALUATION CRITERIA" document and looking over "Security Requirements for Automatic Data Processing (ADP) Systems," for Federal systems requiring C2 compliance I realized that I do not understand the distinction between Solaris and Trusted Solaris. 1. Can Unix machines using only the syslogd facility meet 'C2' or higher? 2. Does Trusted Solaris offer any system resource advantage (CPU and Disk utilization) over Solaris using BSM when the need for a...

How to configure Solaris 10, to run remotely x window applications such as xclock, xcal in my local win 2000 computer?
Hi, I have two computers. One is a server computer with solaris 10 installed on it, and other one is a window 2000 with Exceed and PUTTY Tools installed. I can login remotely to my Solaris 10 server using PUTTY in my Window 2000, but I am not able to run the xclock command! I first ran the following command below, in my Window 2000: bash-3.00$ export DISPLAY="mylocalcomputername:0.0" And then I ran the xclock command, but it doesn't work: bash-3.00$ xclock The error I am getting is: bash-300$ xclock: command not found! Any ideas? Thanks in advance. Ed On Fri,...

VPN configuration for Solaris 8 and Solaris 10
Hi all, Would anybody happen to have a working configuration handy? I need to set up a Solaris 8 and 10 machine (two machines) to offer a duplicate of the console(s) via the VPN. Both are double-headed (two monitors). Thanks. Boris. Boris Epstein <borepstein@gmail.com> wrote: > Would anybody happen to have a working configuration handy? I need to > set up a Solaris 8 and 10 machine (two machines) to offer a duplicate > of the console(s) via the VPN. Both are double-headed (two monitors). I'm afraid what you're asking for isn't clear. You seem to be asking for t...

Boot Solaris Configuration Assistant in old Solaris x86 10 3/05
For reasons I'll not go into I'm forced to reinstall the old OS Solaris x86 10 3/05. It's been ages since I used this and after install I remember the x86 Configuration Assistant boot options screen which says something like: Running Configuration Assistant bootpath /pci@ (etc,etc) .....(etc) ....(etc) Type b [file name] etc or i <ENTER> or <ENTER> Select (b) boot or (i)interpreter And, if you don't type the correct thing, this boot menu loops on and off the screen for ever. Now, I seem to remember ages ago I used to type b kern...

US-DE: Newark-Sr Unix Application Developer-Solaris,UNIX Internals,SQL,
************************************************************** JobCircle.com - Careers, Content and Community for Technology professionals in the Northeastern United States! Jobcircle.com provides resume submission, classified searches, eLearning, hundreds of career development articles, tech news, and more to tens of thousands of Technology professionals in your area - visit us today at http://www.jobcircle.com! !!! Voted a TOP 50 Career Web Site in 2002 by CareerXRoads !!! ************************************************************** Job Title: Sr Unix Application Devel...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335357613)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335357613) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335357613. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337732409)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337732409) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45337732409. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337457610)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337457610) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45337457610. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335357613)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335357613) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335357613. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45338057601)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45338057601) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45338057601. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335314406)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335314406) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335314406. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335057602)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335057602) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335057602. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45338032402)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45338032402) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45338032402. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336832406)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336832406) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45336832406. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335957602)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335957602) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335957602. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336514405)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336514405) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45336514405. ...

SN#12085 Migrating to the Solaris[TM] Operating System: The Discipline of UNIX-to-UNIX[R] Migrations
SYSTEM NEWS FOR SUN USERS Vol 71 Issue 4 2004-01-26 Article 12085 from section "Publications" By Ken Pepple, Brian Down and David Levy Ken Pepple, Brian Down and David Levy's book "Migrating to the Solaris Operating System: The Discipline of UNIX-to-UNIX Migrations" presents an established methodology for migrating to the Solaris[TM] Operating System (Solaris OS). Although the book focuses on UNIX[R] system server migrations, the methodology and best practices presented apply for most migrations to ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337432411)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45337432411) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45337432411. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336557610)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336557610) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45336557610. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335657641)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335657641) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335657641. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336532410)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336532410) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45336532410. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336532410)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45336532410) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45336532410. ...

US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335614407)
US-MI-Auburn Hills: Sun Solaris Eng., UNIX, Sun Solaris; 3M (45335614407) ========================================================================= Position: Sun Solaris Eng. Reference: SMC01873 Location: Auburn Hills MI Duration: 3M Skills: UNIX Sun Solaris Scope: Being able to develop and consolidation books for Sun Solaris servers in DCX Please send your current resume in confidence to <staffing@eurosoft-inc.com> ..45335614407. ...

Web resources about - configuring xclock - comp.unix.solaris

Configuring Your Xcode Project for Distribution
Describes the common workflows to develop, test, and distribute your app.

Installing and configuring Graphite
Here are some notes I jotted down while installing and configuring Graphite, which isn't a trivial task, although the official documentation ...

Configuring Android Data Binding Just Got Easier
The [Android Data Binding Guide](https://developer.android.com/tools/data-binding/guide.html) was recently updated with a new way to configure ...

Hands on: Configuring Apple's NetBoot service, Part 1
NetBoot allows admins to use the same network-based image for Macs throughout a network; here are some tips and tricks for making it work for ...

Configuring a secure Ubuntu Linux Virtual Private Server
... acid which is a web based application to be able to view snort alerts $ sudo apt-get install acidbase Select No when it prompts you for configuring ...

Custom Configuring Java Apps: Extending log4j
Creating an extended, server-side version of a log4j Logger that automatically configures itself and adds printf -like logging methods to the ...

T-Mobile networks start configuring themselves, thanks to Eden Rock
T-Mobile US has tapped Eden Rock Communications , a Seattle-area wireless networking startup, to add some self-awareness to its networks. Eden ...


Why NASA Is Re-Configuring Part of the International Space Station
NASA robotics flight controllers are preparing for moving day at the International Space Station.

Configuring two wireless routers with one SSID (network name) at home for free roaming - Scott Hanselman ...
Scott Hanselman on Programming, User Experience, The Zen of Computers and Life in General

Resources last updated: 2/27/2016 12:06:45 AM