- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to set the terminal (CV qualifier mismatch...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2013 01:03 PM
11-07-2013 01:03 PM
Re: how to set the terminal
>how to adjust the terminal window.
Hmm, whatever terminal emulator you're using is just broken? The lines seem to be interspersed.
One possibility is that you are getting the stdout and stderr output interspersed.
You need to use:
make ... 2>&1 ...
Note: If an application is writing to both stdout and stderr, it must do something special so that the output looks reasonable. It must flush stdout (since buffered) before it writes to stderr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013 01:37 AM
11-08-2013 01:37 AM
Re: how to set the terminal
Hi Dennis:
I try the command : make 2>&1
But it does not work. the error info still be partly.
refer to the attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013 01:49 AM
11-08-2013 01:49 AM
Re: how to set the terminal
Hi Bill Hassell:
Yes, if the built succeed, the output info starts with:
/var/SPS/SPS/wxWidgets...
and ends with:
../src/common/wxcrt.cpp
but , if the built failed, the error output info starts with:
../src/common/wxcrt.cpp: In function ‘int wxVsscanf(const char*, const char*, void*)’:
this line is intercepted.
you can compare the three pictures as attachment(1.png, 2.png, 3.png), the errors is different according to the terminal window size.
The error line will contain more info when resize the windows to maximize.
The error info will be the same if I input to the file via the command : make >output.txt 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013 04:53 AM
11-08-2013 04:53 AM
Re: how to set the terminal
>The error line will contain more info when resize the windows to maximize.
Then your terminal emulator is just broken. Nothing you can do except copy the output to your PC.
I suppose you could try to suppress stdout and just look at stderr:
make 2>&1 > /dev/null
What does "stty -a" show? Perhaps you don't have the XOFF hand shaking?
You should see ixoff and not -ixoff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2013 08:52 PM
11-08-2013 08:52 PM
SolutionI agree with Dennis, your terminal (which appears to be dterm) is archaic for Unix system administration and programming. If you are using a PC to view the dterm window, time to shutoff Xwindows and use a real terminal emulator. The best is PuTTY and can be downloaded from:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Then as Dennis suggests, your /etc/profile needs to have a proper stty setup.
Replace the stty lines in /etc/profile with these two lines:
stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff stty susp \^Z dsusp \^Y
This will also fix any problems you have had in the past with pasting large amounts of text using vi.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2013 01:19 AM
11-13-2013 01:19 AM
Re: how to set the terminal
Thanks a lot for all the help, but it sees still can not work.
I have edit the /etc/profile and use the putty to make the software.
please refer to attachment "putty.png"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2013 02:42 AM
11-13-2013 02:42 AM
Re: how to set the terminal (CV qualifier mismatch)
>but it sees still can not work.
You need to define what "work" means. It is now correctly printing the error message.
You are illegally trying to call vsscanf passing a const char* to a char*, the output parm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013 03:16 AM
11-15-2013 03:16 AM
Re: how to set the terminal (CV qualifier mismatch)
Thanks , Dennis Handly.
I made a mistake, now it works.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013 10:08 AM
11-15-2013 10:08 AM
Re: how to set the terminal (CV qualifier mismatch)
>Thanks again.
If you're happy with the answers you were given, please click on the Kudos star for each helpful answer.
- « Previous
-
- 1
- 2
- Next »