Files
harbour-core/harbour/website/samples/dosshell.html
Viktor Szakats 89b2cb7d90 2012-10-03 22:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* website/*
    + set eol-style to native for all text files
    ! fixed inconsistent EOL in 3rd party .js files

  * contrib/hbct/tests/addascii.prg
  * contrib/hbct/tests/ctwtest.prg
  * contrib/hbct/tests/math.prg
  * contrib/hbct/tests/num1.prg
  * contrib/hbct/tests/trig.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/sqzn.prg
  * tests/db_brows.prg
  * tests/fsplit.prg
  * tests/mathtest.prg
  * tests/newrdd.prg
  * tests/round.prg
  * tests/say.prg
  * tests/scroll.prg
  * tests/teststr.prg
  * tests/transtst.prg
  * tests/wvtext.prg
    ! fixed to use inkey.ch macros instead of literals
    * corrected hbformat mistakes
2012-10-03 20:56:06 +00:00

139 lines
5.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Harbour Project - Samples -&gt; dosshell</title>
<link href="../css/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../menu/stmenu.js"></script></head>
<body>
<table width="740" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#000000">
<tr>
<td valign="top" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="229" valign="top" background="../images/header_03.png" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"><img src="../images/header_01.jpg" width="287" height="164" /></td>
<td width="94%"><img src="../images/header_02.jpg" width="453" height="164" /></td>
</tr>
</table></td>
</tr>
<tr>
<td background="../images/menu-bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="95%" height="65" valign="top" background="../images/menu-bg2.png"><script type="text/javascript" src="../menu/harbour-menu.js"></script></td>
<td width="5%" height="65" valign="middle">&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="2%" class="tabela_box_trans_TL">&nbsp;</td>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="96%" height="26" valign="bottom" class="title">Run command: About to shell to DOS</td>
<td width="1%" rowspan="2" align="center" valign="middle"><a href="../samples.html"><img src="../images/more-samples.png" width="60" height="60" border="0" /></a></td>
</tr>
<tr>
<td width="99%" valign="top">This program uses geten () and the environment variable COMSPEC to start a new shell. </td>
</tr>
</table></td>
</tr>
<tr>
<td >&nbsp;</td>
<td width="96%" valign="top" class="sample_subtitle">&nbsp;</td>
<td width="2%" >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top" class="sample_subtitle">Files:</td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top"><ul>
<li><a href="dosshell.prg.html" class="blue_link">tests/dosshell.prg</a></li>
</ul></td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top" class="sample_subtitle">Screenshot:</td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top">&nbsp;</td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top"><div align="center"><span class="read_more"><img src="screenshots/dosshell_w32.png" width="580" height="340" /><br />
dosshell sample running on Windows Vista<br />
<br />
<img src="screenshots/dosshell_linux.png" width="545" height="131" /><br />
dosshell sample running on Linux<br />
<br />
Note: To get the same result on Linux, you could execute a command &quot;run bash&quot;<br />
to forcing the beginning of a new shell. <br />
</span></div></td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top">&nbsp;</td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top" class="sample_subtitle">How to compile:</td>
<td >&nbsp;</td>
</tr>
<tr>
<td >&nbsp;</td>
<td valign="top">To learn how to compile/link this example see our specific section on this <a href="../samples.html#compile" class="blue_link">link</a>.</td>
<td >&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td height="32" background="../images/footer.gif"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" class="footer"><a href="/" class="whitelink">Copyright © 1999-<script type="text/javascript">copyright_year()</script> The Harbour Project.</a></td>
<td width="33%" class="footer"><div align="center"><a href="/legalnotes.html" class="whitelink">Terms of Service</a> | <a href="/contact.html" class="whitelink">Contact Us</a></div></td>
<td width="33%" class="footer"><div align="right">Design
by <a href="mailto: vailtom@gmail.com" class="whitelink">Vailton Renato</a> </div>
<div align="right"></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>