Non-GUI Terminal problem.
I am having a problem with the terminal at boot (not the terminal emulator). I could have sworn there was a cursor/insertion point (aka flashing vertical bar) in command line. But now whenever I boot into command line, the insertion point is gone.
I know of no such thing but I am told the hardware sometimes does its own.
Similar Messages
-
Oracle 11g client installation on Solaris in non GUI mode
Hi,
I want to know if there is a way i can install Oracle 11g client on Solaris 10 machine in non GUI mode (ie. i want to do it from a command based terminal)
Thanks
AnupHi Anup
You have two ways to install it
1) Client installation without response file
Please Refer to Doc ID 885643.1
2) With Response file
Refer to the document available in Document library
Document Oracle® Database Client Installation Guide
11g Release 2 (11.2) for Solaris Operating System
Note: from 11gR2 onwards you can create a response file from GUI also and then use it later on for silent installation.
Hope this is helpful for You
Regards
Sudhir
Edited by: user13090769 on Sep 1, 2010 10:55 AM
Edited by: user13090769 on Sep 1, 2010 10:56 AM -
Javafx for console (non-gui) applications?
Hi,
I am interested in using the JavaFX scripting language as a general purpose language to create console (non-gui) applications. But even running the following simple program seems to initiate some sort of GUI that quickly appears and disappears. Is there anyway to run a JavaFX script in "console-only" mode?
function run(args : String[]) {
println("hello")
}Thanks.Hi,
Yeah, that is pretty much exactly what I did.
I am running on Mac OS X 10.5.6, with Java 1.6.0_07 and JavaFX 1.1.0.
When I execute the program from Terminal, everything works, however a new application appears in the menu bar while the program is executing in the console. For example, if I add a java.lang.Thread.sleep(5000) invocation to the program mentioned earlier, you will see the application in the menu bar for 5 seconds. This is not the way a normal console-based java application typically works... there should be no application in the menu bar.
Thanks. -
Using Xcode for non-gui C++
I originally posted this in the wrong place, and I was told to post in here.
I am learning standard c++ in school, and we're programming with Microsoft visual Studio on PCs. I wanted to work on my projects at home, but I don't know how to create and build non-gui C++ projects. Anyone know?we're programming with Microsoft visual Studio on PCs
If you want something like "Visual Studio" on Mac, then you can use the "Xcode" application in /Developer/Applications/. (I assume you have installed Xcode Tools, which is in your Leopard DVD).
Start Xcode, and select "New Project..." from the "File" menu. In the Assistant dialog, open "Command Line Utility" and select "C++ Tool". Enter the name of the project and where to save it, and push Finish. Double click on "main.cpp", edit it, save (cmd-S), and push "Build" or "Build and Run". Is this what you want?
Of course the project file is not comatible with Visual Studio, but you can copy the source files (*.cpp and *.h) to Windows PCs.
If you prefer to run C++ compiler from the command line (rather than to use Xcode application), then just open Terminal.app (in /Applications/Utilities/), cd to the directory where the source files are, and try typing "g++ xxxx.cpp". -
Event handling in custom Non-GUI components
I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.ravinsp wrote:
I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.If you want to make your own Listener make your Listener. Create an event class that encapsulates the event as you want, create a listener interface that has a method like handleMyEvent(MyEvent me) and then add addMyEventListener, removeMyEventListener methods to your original class. Add a List<MyEvent> to your original class and add the listeners to it and then when events happen
MyEvent someEvent = new MyEvent();
for(MyEventListener mel : eventlisteners)
mel.handleMyEvent(someEvent); -
Hi every body ..plz help me on this..
We are facing database termination problem in ECC6 production syste.
Database: Oracle 10.2, O/S: Windows 2003. Spam :27, SP level 13.
Error is:
Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
When we are performing backup then data base termination occuring freequently.
Give right solution as early as possible.
Thanks,
Nani.Hi,
Have a look at below snote which actually speaks about the oracle error codes
Snote : 546006
within the Snote it says :-
" If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
And as per your last update
" ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
i think there is problem accessing the database control file. Hence you are facing the above problem.
I think if you recreate your control file i think, it should resolve the problem.
Hope it will be helpful to resolve your problem.
Rgds
Radhakrishna D S -
How to start TestStand ApplicationMgr in a NON-GUI C# modules
hello all,
We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started.
Now we need to implement the UI in WPF and we have to seperate the UI and the Test Engine into different module so that the UI can call different type of Test Engines later. Therefore we have to implement the TestStand TestEngine module in a NON-GUI module. In this module we need to load a sequence file, run the sequnece file, collect test results and send back to UI to display.
To implement this module we have a lot of questions:
1. Is ApplicationMgr a must-have for our purpose of loading, running sequence and getting test results?
2. Can AppliactionMgr be created in a NON-GUI module?
3. Can we use
NationalInstruments.TestStand.Interop.UI.Applicati
onMgr myApplicationMgr = new NationalInstruments.TestStand.Interop.UI.ApplicationMgr();
myApplicationMgr.Start()
to create and start the ApplicationMgr? We have tried, but unfortunately it is not working. What did we miss?
4. Is the ActiveX control the only way to access the ApplicationMgr? For NON-GUI module, there must be a way that we didn't find yet. Anyone have help us point to a right direction? If some example code would be great!
Thank you very much!
Regards,The ApplicationMgr makes a lot of things simpler, so I highly recommend you use it even if you aren't displaying a UI with it. You can create the control on a hidden form as follows (assuming your thread is an STA thread):
System.Windows.Forms.Form hiddenForm = new System.Windows.Forms.Form();
NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr appMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr();
((System.ComponentModel.ISupportInitialize)(appMgr)).BeginInit();
hiddenForm.Controls.Add(appMgr);
((System.ComponentModel.ISupportInitialize)(appMgr)).EndInit();
This way you can use the ApplicationMgr without showing anything to the user.
Hope this helps,
-Doug -
Weird Terminal problem with AIX
Hi,
I have kind of an odd problem with the Terminal.app that I hope someone can assist me in figuring out.
I'm connecting to an AIX 5.3 server and the top portion of the window is always "cut off". It's there, it's just one screen up in the buffer and I can't figure out why. I can connect with iTerm and things display appropriately.
Below is a link to a side by side picture of Terminal.app (left) and iTerm (right). If I scroll up in the Terminal.app buffer, I can see the missing lines from the top of the screen.
http://picasaweb.google.com/andy.black10/Misc#5407855064094337554
Thanks,
AndyMinor point: would you please fill in your Forum profile information, at least the Mac OS X operating system version.
I'm currently using Leopard and I can reproduce this problem in Terminal vs iTerm. I used your script output (thank you) in order to generate the escape sequences.
BY THE WAY, if the script output contains any sensitive login info, you might want to change your password on the Pharamcy OSU system
It looks like there is a Terminal problem handling Scrolling Regions as set by <esc>[1;24r. It looks like <esc>[0J is not erasing from the current cursor position to the end of the display, but rather it starts the erase above the current cursor position. The erase behavior without a scrolling region appears better, but not perfect.
I would encourage you to file a bug with Apple at either:
<http://www.apple.com/feedback/macosx.html>
or
<http://bugreporter.apple.com>
Free ADC (Apple Developer Connection) account needed for BugReporter
The BugReporter would be better.
If you want, I have a little script that can be used to demonstrate the problem
#!/usr/bin/env bash
echo -e "e[1;24re[He[0Je[He[0Je[?6he[1;24re[He[0Jc"
for j in {1..3}
do
echo BEFORE should remain on screen $j $j $j $j $j
done
for j in {4..23}
do
echo FILLER should be erased $j $j $j $j $j
done
echo -e "e[4;24re[He[0Jc"
for j in {4..23} # our next command prompt will be 24th line
do
echo AFTER should remain on screen $j $j $j $j $j
done
Here is example output from Terminal:
BEFORE should remain on screen 1 1 1 1 1
AFTER should remain on screen 4 4 4 4 4
AFTER should remain on screen 5 5 5 5 5
AFTER should remain on screen 6 6 6 6 6
AFTER should remain on screen 7 7 7 7 7
AFTER should remain on screen 8 8 8 8 8
AFTER should remain on screen 9 9 9 9 9
AFTER should remain on screen 10 10 10 10 10
AFTER should remain on screen 11 11 11 11 11
AFTER should remain on screen 12 12 12 12 12
AFTER should remain on screen 13 13 13 13 13
AFTER should remain on screen 14 14 14 14 14
AFTER should remain on screen 15 15 15 15 15
AFTER should remain on screen 16 16 16 16 16
AFTER should remain on screen 17 17 17 17 17
AFTER should remain on screen 18 18 18 18 18
AFTER should remain on screen 19 19 19 19 19
AFTER should remain on screen 20 20 20 20 20
AFTER should remain on screen 21 21 21 21 21
AFTER should remain on screen 22 22 22 22 22
AFTER should remain on screen 23 23 23 23 23
and here is example output from iTerm:
BEFORE should remain on screen 1 1 1 1 1
BEFORE should remain on screen 2 2 2 2 2
BEFORE should remain on screen 3 3 3 3 3
AFTER should remain on screen 4 4 4 4 4
AFTER should remain on screen 5 5 5 5 5
AFTER should remain on screen 6 6 6 6 6
AFTER should remain on screen 7 7 7 7 7
AFTER should remain on screen 8 8 8 8 8
AFTER should remain on screen 9 9 9 9 9
AFTER should remain on screen 10 10 10 10 10
AFTER should remain on screen 11 11 11 11 11
AFTER should remain on screen 12 12 12 12 12
AFTER should remain on screen 13 13 13 13 13
AFTER should remain on screen 14 14 14 14 14
AFTER should remain on screen 15 15 15 15 15
AFTER should remain on screen 16 16 16 16 16
AFTER should remain on screen 17 17 17 17 17
AFTER should remain on screen 18 18 18 18 18
AFTER should remain on screen 19 19 19 19 19
AFTER should remain on screen 20 20 20 20 20
AFTER should remain on screen 21 21 21 21 21
AFTER should remain on screen 22 22 22 22 22
AFTER should remain on screen 23 23 23 23 23 -
GUI related problem in solaris 8 02/04
Hello all,
I am facing GUI related problem in the software running on solaris when I upgraded from solaris 8 02/02 to 8 02/04.
The GUI which was working fine on 02/02 was giving some menu selection problem in 02/04. In GUI applications i was unable to select items after double clicking it in solaris 8 02/04 while it was working fine in solaris 8 02/02.
Are there any O.S. related problem?
Thanks and regards,
AnkitWolfgang073 wrote:
Hi guys and ladys!
I added the LD_LIBRARY_PATH, Why are you doing that. It's probably a bad idea.
but the Openwindows not run OK (e.g. start cmdtool window without csh % prompt etc.).That's very possible. Don't make global changes to LD_LIBRARY_PATH (by putting in your login files for example). Instead if you need it to run a particular program, make a wrapper that sets the variable and then calls the program. That will limit the scope of those changes.
vi .login
# Erasing LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH
# Important Paths set
setenv LD_LIBRARY_PATH /usr/ucblib:$LD_LIBRARY_PATHDon't do that.
Darren -
I was wondering how I would have to go about writing an event handling mechanism on something that is not GUI-based (non-AWT/SWING)!
Supposing one wanted to write an event listener that would tell them when a data structure is updated - e.g: in a typical producer-consumer model, where the consumer is to be notified of fresh entries whenever a producer writes integers to some data structure...
Does Java have classes/methods to handle such non-GUI-based 'events'? Is this a commonly found scenario in Java programming?
Thank you!What you're looking for is the Observer-interface. Check out http://java.sun.com/j2se/1.4/docs/api/java/util/Observer.html
and
http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html -
How to run an iPhone non-GUI application in background
Hi All,
While looking into the web fouond that only one application can be run at a time in iPhone. So is there any way or work around to run a non-GUI app in iPhone in Background.
This app will continuously query certain requests to iPhone regardign some internal iPhone events.
Thanks in advance.
Regards.
AmitNo.
-
Help needed to install Flash Player : 'Non-Current Release' problem!
I been encountering problems while trying to install Flash Player on my laptop running Windows 7.
Originally Flash Player does not work as I understand it is not supported on 64-bit Internet Explorer.
After installing 32-bit IE, the following issue of 'non-latest version' arises and all installation were aborted by the application :
The below were steps I had taken to no success.
1. Via the 32-bit browser, downloaded flash player un-install program and did the uninstallation with success.
2. Rebooted the laptop.
3. Via the 32-bit browser, downloaded the flash player version 10.0.45.2 from http://get.adobe.com/flashplayer.
4. After downloading it automatically did the installation with 100% completion.
5. The program proceeded to activate the flash player with a webpage saying if the flash player is working properly, I should see a video and Flash Player's logo.
6. Before anything was displayed, an error message popped up to say I was trying to install a non-current version and that I should go to same webpage to download the latest version. The activation was then aborted.
Tried many times but always encountered same problem and hence cannot proceed to use the flash player.
Need assistance to diagnose the problem and to get Flash Player working on my laptop. Appreciate any help to get it working.
Regards.Thanks to efforts of eidnolb and Bob, the installation of flash player into my laptop is now working .
Bob's installer enabled the download successfully.
Eidnolb's link in post 6 trigggered me that I may have previously installed the pre-release version 10.1, thereby leading to the 'non-current-version' problem too. Post in that link adviced to uninstall 10.1 using the pre-release uninstaller.
I suggest others who had encountered this non-current release to uninstall first using that specific uninstaller, before attempting to install the most current release. I may have installed the 10.1 pre-release in desperation after failing numerous times trying to figure out why flash player does not install in browser not knowing its currently-non-support of 64-bit browser.
Once again thanks for support, eidnolb and Bob.
Cheers.
Kelvin -
Need help writing non-gui JMF program
I need to write a program that will convert a WAV file from a ULAW format to a GSM WAV file format. I first tried this with the Java Sound API and the WAV file format of GSM was not supported so I stumbled across JMF.
I can use the JMStudio and Export GUI programs that come with JMF to convert the wav file as needed. But now I'm trying to write a batch program (non-gui) to convert the file on the fly.
First, is this possible. Second, does anyone have any code samples of a batch java program using JMF in batch.
Thanks,
ScottNot exactly what I was looking for. After 2 days of beating my head against the wall this is what I got to work. Include the jmf.jar in my project. Here is my code.
import java.io.IOException;
import javax.media.DataSink;
import javax.media.Manager;
import javax.media.MediaLocator;
import javax.media.NoDataSourceException;
import javax.media.Processor;
import javax.media.control.TrackControl;
import javax.media.format.AudioFormat;
import javax.media.protocol.DataSource;
import javax.media.protocol.FileTypeDescriptor;
import jmapps.util.StateHelper;
public class TestAudio5 {
public static void main(String[] args) {
try {
Processor p = null;
StateHelper sh = null;
DataSource inSource = Manager.createDataSource(
new MediaLocator("file:c:\\ASSURANCE_THREE_MINUTE.wav"));
p = Manager.createProcessor(inSource);
sh = new StateHelper(p);
// Configure the processor
if (!sh.configure(10000)) {
System.out.println("can't configure");
System.exit(-1);
p.setContentDescriptor(new
FileTypeDescriptor(FileTypeDescriptor.WAVE));
//AudioFormat(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels)
//AudioFormat(
// java.lang.String encoding,
// double sampleRate,
// int sampleSizeInBits,
// int channels,
// int endian,
// int signed,
// int frameSizeInBits,
// double frameRate,
// java.lang.Class dataType)
AudioFormat outputFormat = new javax.media.format.AudioFormat(
AudioFormat.GSM_MS,
8000.0,
0,
1,
0,
1,
520,
1625.0,
null);
System.out.println("outputFormat: " + outputFormat.toString());
TrackControl tc[] = p.getTrackControls();
for ( int i = 0; i < tc.length; i++ ) {
tc.setEnabled(true);
System.out.println("before format: " + tc[i].getFormat().toString());
tc[i].setFormat(outputFormat);
System.out.println("after format: " + tc[i].getFormat().toString());
if (!sh.realize(10000)) {
System.out.println("can't realize");
System.exit(-1);
// get the output of the processor
DataSource source = p.getDataOutput();
// create a File protocol MediaLocator with the location
// of the file to which bits are to be written
MediaLocator dest = new MediaLocator("file://c:\\test.wav");
// create a datasink to do the file writing & open the
// sink to make sure we can write to it.
DataSink filewriter = null;
filewriter = Manager.createDataSink(source, dest);
filewriter.open();
// now start the filewriter and processor
filewriter.start();
sh.playToEndOfMedia(5000);
sh.close();
filewriter.close();
} catch (NoDataSourceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.out.println("done!");
System.exit(-1); -
Non GUI alternative to PB10 Transaction (infpotypes 22 and 24)
Hi guys,
This is a java foreigner in the ABAP land.
I hope I am asking the correct question.
This is the situation:
In order to send a "candidates resume" (curriculum) in to SAP, the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
The RFC when tested in the SAP GUI works fine.
I wrote a java client which calls the RFC, send the parameters and expect the results. This client uses JCO to access SAP.
But, from the java client the RFC works PARTIALLY,
it doesnt fill the education a qualifications (infotypes 22 and 24), and throws error message:
"Exception condition "CNTL_ERROR" raised"
It seem there is an GUI missed, but from JCO I cannot use GUI.
So, I need a non-GUI alternative transaction to the PB10, which writes the data in the infotype 22 and 24.
So, the question here is:
Does somebody knows a non-GUI alternative to the PB10 in order to write the infotypes 22 and 24??
Thanks in advance,
Luisi do have a similar requirement ... from non sap system i am suppose to pass data which saves in table connected to pb10..can you send the RFC developed for your requirement.. it would be helpful for me..
thank you -
Hello again world.
I see that to produce output in a non-GUI environment, one uses
System.out.println(output)
I can't seem to get the other side of the coin for input.
As usual, thanx in advance.If you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple: Scanner s=Scanner.create(System.in);
String param= s.next();
int value=s.nextInt();For further information see
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
http://java.sun.com/developer/technicalArticles/releases/j2se15/
Maybe you are looking for
-
Filtering Groups on Windows Active Directory using LDAP Authentication
Hi All, I have small module that filters the groups from the Windows AD using LDAP attributes and flushes the data into the DB[code below]. This module was developed and tested on weblogic 8.1[on windows]and works fine. Now the same is moved to anoth
-
They have opened before, I THINK.... I usually have Firefox & Safari both open at once.
-
When I open a folder, I can see the size of the files in the folder. However. When I search for a file in FINDER, it does not show the size of the file. And I can find no option to make it show the size of the file. I would like to see the size of th
-
Issue occurs in Gmail, iWork in iCloud, and Blackboard.
-
Archiving SAP Office documents
Hi. I am looking for ways to archive mail sent from SAP. So far I have not found any archiving objects for e-mail. Are there anyone that have found a solution for archiving e-mail in archiving systems, such as CommonStore? Regards, Thomas